fix build with mono4
This commit is contained in:
parent
12d9ad44c3
commit
a840fac1ab
|
@ -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],
|
11
libgpod.spec
11
libgpod.spec
|
@ -12,7 +12,7 @@
|
||||||
Summary: Library to access the contents of an iPod
|
Summary: Library to access the contents of an iPod
|
||||||
Name: libgpod
|
Name: libgpod
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtkpod.org/libgpod.html
|
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
|
# upstreamable patch: reduce pkgconfig-related overlinking
|
||||||
#
|
#
|
||||||
Patch50: libgpod-0.8.2-pkgconfig_overlinking.patch
|
Patch50: libgpod-0.8.2-pkgconfig_overlinking.patch
|
||||||
|
Patch2: libgpod-0.8.3-mono4.patch
|
||||||
|
|
||||||
BuildRequires: automake libtool
|
BuildRequires: automake libtool
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
|
@ -120,14 +121,15 @@ libgpod-sharp.
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch50 -p1 -b .pkgconfig_overlinking
|
%patch50 -p1 -b .pkgconfig_overlinking
|
||||||
|
%patch2 -p1 -b .mono4
|
||||||
#autoreconf -f
|
|
||||||
|
|
||||||
# remove execute perms on the python examples as they'll be installed in %%doc
|
# remove execute perms on the python examples as they'll be installed in %%doc
|
||||||
chmod -x bindings/python/examples/*.py
|
chmod -x bindings/python/examples/*.py
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -vif
|
||||||
|
|
||||||
%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
@ -208,6 +210,9 @@ echo "D /var/run/%{name} 0755 root root -" > \
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 08 2016 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.8.3-8
|
||||||
|
- fix build with mono4
|
||||||
|
|
||||||
* Sun Nov 16 2014 Dan Horák <dan[at]danny.cz> - 0.8.3-7
|
* Sun Nov 16 2014 Dan Horák <dan[at]danny.cz> - 0.8.3-7
|
||||||
- switch to mono_arches
|
- switch to mono_arches
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue