- fix building with mono 4.x
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 17:42:16 +0000 (19:42 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 17:42:16 +0000 (19:42 +0200)
- rel 6

libappindicator.spec
mono4.patch [new file with mode: 0644]

index 00fbde39576c1c84ea0ab7f8a67a681c760645dc..1a0bd4b5375a23a70861104e076e1d28634f3d7d 100644 (file)
@@ -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 (file)
index 0000000..aa3f58c
--- /dev/null
@@ -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
This page took 0.145742 seconds and 4 git commands to generate.