From: Jan Rękorajski Date: Thu, 5 May 2016 17:42:16 +0000 (+0200) Subject: - fix building with mono 4.x X-Git-Tag: auto/th/libayatana-appindicator-0.5.5-1~6 X-Git-Url: https://git.pld-linux.org/?p=packages%2Flibayatana-appindicator.git;a=commitdiff_plain;h=d749eb1 - fix building with mono 4.x - rel 6 --- 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