[packages/libappindicator] - fix building with mono 4.x - rel 6
baggins
baggins at pld-linux.org
Thu May 5 19:42:31 CEST 2016
commit d749eb13e1bf37e16e0cb37cf1ab6b5af26f5931
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu May 5 19:42:16 2016 +0200
- fix building with mono 4.x
- rel 6
libappindicator.spec | 4 +++-
mono4.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libappindicator.spec b/libappindicator.spec
index 00fbde3..1a0bd4b 100644
--- a/libappindicator.spec
+++ b/libappindicator.spec
@@ -16,7 +16,7 @@ Summary: Application indicators library
Summary(pl.UTF-8): Biblioteka wskaźników aplikacji
Name: libappindicator
Version: 12.10.0
-Release: 5
+Release: 6
License: LGPL v2.1 or LGPL v3
Group: Libraries
#Source0Download: https://launchpad.net/libappindicator/+download
@@ -24,6 +24,7 @@ Source0: http://launchpad.net/libappindicator/12.10/%{version}/+download/%{name}
# Source0-md5: 41910f2005edee9240da1e53fffcdc12
Patch0: %{name}-python.patch
Patch1: %{name}-mono.patch
+Patch2: mono4.patch
URL: https://launchpad.net/libappindicator
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
@@ -268,6 +269,7 @@ Dokumentacja API biblioteki libappindicator (zarówno w wersji GTK+
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# to allow deprecation warnings
%{__sed} -i -e 's/-Werror //' src/Makefile.am
diff --git a/mono4.patch b/mono4.patch
new file mode 100644
index 0000000..aa3f58c
--- /dev/null
+++ b/mono4.patch
@@ -0,0 +1,11 @@
+--- libappindicator-12.10.0/configure.ac~ 2016-05-05 19:40:16.000000000 +0200
++++ libappindicator-12.10.0/configure.ac 2016-05-05 19:40:23.474229450 +0200
+@@ -121,7 +121,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/libappindicator.git/commitdiff/d749eb13e1bf37e16e0cb37cf1ab6b5af26f5931
More information about the pld-cvs-commit
mailing list