fix deprecated error
This commit is contained in:
parent
21711ab588
commit
9e24efbded
@ -1,6 +1,6 @@
|
|||||||
Name: libindicator
|
Name: libindicator
|
||||||
Version: 12.10.1
|
Version: 12.10.1
|
||||||
Release: 14
|
Release: 15
|
||||||
Summary: Shared functions for Ayatana indicators
|
Summary: Shared functions for Ayatana indicators
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://launchpad.net/libindicator
|
URL: https://launchpad.net/libindicator
|
||||||
@ -9,7 +9,7 @@ BuildRequires: chrpath gtk-doc libtool pkgconfig dbus-glib-devel gtk2-devel gtk3
|
|||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Provides: %{name}-tools = %{version}-%{release}
|
Provides: %{name}-tools = %{version}-%{release}
|
||||||
Obsoletes: %{name}-tools < %{version}-%{release}
|
Obsoletes: %{name}-tools < %{version}-%{release}
|
||||||
|
Patch0001: no-Werror-deprecated.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of symbols and convenience functions that all Ayatana indicators are likely to use.
|
A set of symbols and convenience functions that all Ayatana indicators are likely to use.
|
||||||
@ -150,5 +150,8 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 13 2020 yanzhihua<yanzhihua4@huawei.com> - 12.10.1-15
|
||||||
|
- Fix deprecated error
|
||||||
|
|
||||||
* Sat Dec 21 2019 zoushuangshuang<zoushuangshuang@huawei.com> - 12.10.1-14
|
* Sat Dec 21 2019 zoushuangshuang<zoushuangshuang@huawei.com> - 12.10.1-14
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
23
no-Werror-deprecated.patch
Normal file
23
no-Werror-deprecated.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff -aurN libindicator-12.10.1/libindicator/Makefile.am libindicator-12.10.1-mod/libindicator/Makefile.am
|
||||||
|
--- libindicator-12.10.1/libindicator/Makefile.am 2012-09-19 17:38:05.113919565 +0200
|
||||||
|
+++ libindicator-12.10.1-mod/libindicator/Makefile.am 2019-12-24 12:49:00.616622404 +0100
|
||||||
|
@@ -57,7 +57,7 @@
|
||||||
|
$(LIBINDICATOR_CFLAGS) \
|
||||||
|
$(COVERAGE_CFLAGS) \
|
||||||
|
-DG_LOG_DOMAIN=\"libindicator\" \
|
||||||
|
- -Wall -Werror
|
||||||
|
+ -Wall -Wno-deprecated-declarations
|
||||||
|
|
||||||
|
libindicator_la_LIBADD = \
|
||||||
|
$(LIBINDICATOR_LIBS)
|
||||||
|
diff -aurN libindicator-12.10.1/tools/Makefile.am libindicator-12.10.1-mod/tools/Makefile.am
|
||||||
|
--- libindicator-12.10.1/tools/Makefile.am 2012-09-19 17:38:04.933829559 +0200
|
||||||
|
+++ libindicator-12.10.1-mod/tools/Makefile.am 2019-12-24 12:49:56.087444990 +0100
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
indicator-loader.c
|
||||||
|
|
||||||
|
indicator_loader_CFLAGS = \
|
||||||
|
- -Wall -Werror \
|
||||||
|
+ -Wall -Wno-deprecated-declarations \
|
||||||
|
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
|
||||||
|
-DBUILD_DIR="\"$(builddir)\""
|
||||||
Loading…
x
Reference in New Issue
Block a user