[packages/libindicate] - fix building with mono 4.x - rel 7

baggins baggins at pld-linux.org
Thu May 5 18:14:11 CEST 2016


commit dfb6765ca63161f21b449ff3f3cd3916fbd94b65
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu May 5 18:13:55 2016 +0200

    - fix building with mono 4.x
    - rel 7

 libindicate.spec |  4 +++-
 mono4.patch      | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libindicate.spec b/libindicate.spec
index 2070858..a168166 100644
--- a/libindicate.spec
+++ b/libindicate.spec
@@ -18,13 +18,14 @@ Summary:	Libindicate library
 Summary(pl.UTF-8):	Biblioteka libindicate
 Name:		libindicate
 Version:	12.10.1
-Release:	6
+Release:	7
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://launchpad.net/libindicate/12.10/%{version}/+download/%{name}-%{version}.tar.gz
 # Source0-md5:	aeed68ec8047a3325b4aa4aef38f010a
 Patch0:		%{name}-am.patch
 Patch1:		%{name}-doc.patch
+Patch2:		mono4.patch
 URL:		https://launchpad.net/libindicate/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -317,6 +318,7 @@ API języka Vala do biblioteki libindicate-gtk3.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %if %{with apidocs}
diff --git a/mono4.patch b/mono4.patch
new file mode 100644
index 0000000..1371493
--- /dev/null
+++ b/mono4.patch
@@ -0,0 +1,11 @@
+--- libindicate-12.10.1/configure.ac~	2016-05-05 18:11:11.000000000 +0200
++++ libindicate-12.10.1/configure.ac	2016-05-05 18:12:09.249901316 +0200
+@@ -156,7 +156,7 @@
+       RUNTIME=mono
+    fi
+ 
+-   AC_PATH_PROG(CSC, gmcs, no)
++   AC_PATH_PROG(CSC, dmcs, no)
+    LIB_PREFIX=.so
+    LIB_SUFFIX=
+ fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libindicate.git/commitdiff/dfb6765ca63161f21b449ff3f3cd3916fbd94b65



More information about the pld-cvs-commit mailing list