From a840fac1ab5622b2256b2b2f6f93646829f47547 Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Sep 09 2016 07:39:42 +0000 Subject: fix build with mono4 --- diff --git a/libgpod-0.8.3-mono4.patch b/libgpod-0.8.3-mono4.patch new file mode 100644 index 0000000..9cb57b4 --- /dev/null +++ b/libgpod-0.8.3-mono4.patch @@ -0,0 +1,11 @@ +--- libgpod-0.8.3/m4/mono.m4.orig 2015-05-18 12:25:35.417699745 +0100 ++++ libgpod-0.8.3/m4/mono.m4 2015-05-18 12:25:53.488079557 +0100 +@@ -34,7 +34,7 @@ + + AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER], + [ +- SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs) ++ SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs) + ]) + + AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME], diff --git a/libgpod.spec b/libgpod.spec index 564ea54..7d801b9 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -12,7 +12,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtkpod.org/libgpod.html @@ -21,6 +21,7 @@ Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2 # upstreamable patch: reduce pkgconfig-related overlinking # Patch50: libgpod-0.8.2-pkgconfig_overlinking.patch +Patch2: libgpod-0.8.3-mono4.patch BuildRequires: automake libtool BuildRequires: docbook-style-xsl @@ -120,14 +121,15 @@ libgpod-sharp. %setup -q %patch50 -p1 -b .pkgconfig_overlinking - -#autoreconf -f +%patch2 -p1 -b .mono4 # remove execute perms on the python examples as they'll be installed in %%doc chmod -x bindings/python/examples/*.py %build +autoreconf -vif + %configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name} make %{?_smp_mflags} @@ -208,6 +210,9 @@ echo "D /var/run/%{name} 0755 root root -" > \ %endif %changelog +* Thu Sep 08 2016 Timotheus Pokorra - 0.8.3-8 +- fix build with mono4 + * Sun Nov 16 2014 Dan HorĂ¡k - 0.8.3-7 - switch to mono_arches