[packages/libgpod] - fix building with mono 4.x - rel 2
baggins
baggins at pld-linux.org
Wed Apr 20 21:05:47 CEST 2016
commit b636bf014852e8f77a93ac27986893d52c786c0c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Apr 20 21:05:34 2016 +0200
- fix building with mono 4.x
- rel 2
libgpod.spec | 4 +++-
mono4.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libgpod.spec b/libgpod.spec
index 7ccbc75..bada54b 100644
--- a/libgpod.spec
+++ b/libgpod.spec
@@ -19,7 +19,7 @@ Summary: Shared library to access the contents of an iPod
Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do zawartości iPodów
Name: libgpod
Version: 0.8.3
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
@@ -27,6 +27,7 @@ Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
Source1: %{name}.tmpfiles
Patch0: %{name}-gcc43.patch
Patch1: %{name}-monodir.patch
+Patch2: mono4.patch
URL: http://www.gtkpod.org/libgpod/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
@@ -179,6 +180,7 @@ Pliki programistyczne biblioteki C#/.NET libgpod-sharp.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__gtkdocize}
diff --git a/mono4.patch b/mono4.patch
new file mode 100644
index 0000000..03fe6d6
--- /dev/null
+++ b/mono4.patch
@@ -0,0 +1,11 @@
+--- libgpod-0.8.3/m4/mono.m4~ 2011-04-15 10:37:34.000000000 +0200
++++ libgpod-0.8.3/m4/mono.m4 2016-04-20 21:02:33.000704119 +0200
+@@ -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, dmcs)
+ ])
+
+ AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgpod.git/commitdiff/b636bf014852e8f77a93ac27986893d52c786c0c
More information about the pld-cvs-commit
mailing list