fix problem
This commit is contained in:
parent
7b59a68335
commit
2e0e97f7f0
@ -7,7 +7,7 @@ URL: https://launchpad.net/libappindicator
|
||||
Source0: https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz
|
||||
Patch0001: 0001_Fix_mono_dir.patch
|
||||
Patch0002: incompatible_pointer_build_fix.patch
|
||||
|
||||
Patch0003: no-Werror-deprecated.patch
|
||||
BuildRequires: autoconf automake gtk-doc vala-tools dbus-glib-devel libdbusmenu-devel
|
||||
BuildRequires: libdbusmenu-gtk2-devel libdbusmenu-gtk3-devel gobject-introspection-devel
|
||||
BuildRequires: gtk2-devel gtk3-devel libindicator-devel libindicator-gtk3-devel
|
||||
@ -68,9 +68,7 @@ This package contains the development files for the appindicator-sharp library.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0001 -p1 -b .monodir
|
||||
%patch0002 -p1 -b .incompatible_pointer_build_fix
|
||||
%autosetup -p1
|
||||
sed -i "s#gmcs#mcs#g" configure.ac
|
||||
sed -i 's/--nogtkinit//' docs/reference/Makefile.am
|
||||
gtkdocize --copy
|
||||
|
||||
12
no-Werror-deprecated.patch
Normal file
12
no-Werror-deprecated.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -aurN libappindicator-12.10.0/src/Makefile.am libappindicator-12.10.0-mod/src/Makefile.am
|
||||
--- libappindicator-12.10.0/src/Makefile.am 2012-07-11 19:28:34.415113869 +0200
|
||||
+++ libappindicator-12.10.0-mod/src/Makefile.am 2019-12-24 13:38:57.015051155 +0100
|
||||
@@ -76,7 +76,7 @@
|
||||
libappindicator_la_CFLAGS = \
|
||||
$(LIBRARY_CFLAGS) \
|
||||
$(COVERAGE_CFLAGS) \
|
||||
- -Wall -Werror \
|
||||
+ -Wall -Wno-deprecated-declarations \
|
||||
-DG_LOG_DOMAIN=\"libappindicator\"
|
||||
|
||||
libappindicator_la_LIBADD = \
|
||||
Loading…
x
Reference in New Issue
Block a user