[packages/libunique] - disable overzealous -Werror flags - rel 8
baggins
baggins at pld-linux.org
Fri Jan 3 14:37:07 CET 2014
commit 38fa7bf574f5b92cf9d685a093675bb95d4340a9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 3 14:36:50 2014 +0100
- disable overzealous -Werror flags
- rel 8
fix-disable-deprecated.patch | 30 ++++++++++++++++++++++++++++++
libunique.spec | 5 ++++-
2 files changed, 34 insertions(+), 1 deletion(-)
---
diff --git a/libunique.spec b/libunique.spec
index aaf7444..2ff78da 100644
--- a/libunique.spec
+++ b/libunique.spec
@@ -3,7 +3,7 @@ Summary: Library to make sure only one instance of a program is running
Summary(pl.UTF-8): Biblioteka zapewniająca uruchamianie tylko jednej instancji programu
Name: libunique
Version: 1.1.6
-Release: 7
+Release: 8
License: LGPL v2+
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/%{name}-%{version}.tar.bz2
@@ -12,6 +12,7 @@ Patch0: %{name}-gchar.patch
Patch1: %{name}-compiler-warnings.patch
Patch2: %{name}-fix-test.patch
Patch3: %{name}-include-terminator.patch
+Patch4: fix-disable-deprecated.patch
URL: http://live.gnome.org/LibUnique
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.10
@@ -94,6 +95,7 @@ Dokumentacja API biblioteki unique.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__gtkdocize}
@@ -103,6 +105,7 @@ Dokumentacja API biblioteki unique.
%{__autoheader}
%{__automake}
%configure \
+ --disable-maintainer-flags \
--disable-silent-rules \
--enable-gtk-doc \
--with-html-dir=%{_gtkdocdir}
diff --git a/fix-disable-deprecated.patch b/fix-disable-deprecated.patch
new file mode 100644
index 0000000..c07f98c
--- /dev/null
+++ b/fix-disable-deprecated.patch
@@ -0,0 +1,30 @@
+diff -urNp libunique-1.1.6.old/unique/Makefile.am libunique-1.1.6/unique/Makefile.am
+--- libunique-1.1.6.old/unique/Makefile.am 2011-07-06 10:54:38.403127656 +0100
++++ libunique-1.1.6/unique/Makefile.am 2011-07-06 10:55:00.354127659 +0100
+@@ -19,11 +19,8 @@ INCLUDES = -I$(top_srcdir)
+ AM_CPPFLAGS = \
+ -DG_DISABLE_SINGLE_INCLUDES \
+ -DGTK_DISABLE_SINGLE_INCLUDES \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+ -DG_LOG_DOMAIN=\"Unique\" \
+ -DPREFIX=\""$(prefix)"\" \
+- $(DISABLE_DEPRECATED_FLAGS) \
+ $(UNIQUE_DEBUG_CFLAGS) \
+ $(NULL)
+
+diff -urNp libunique-1.1.6.old/unique/Makefile.in libunique-1.1.6/unique/Makefile.in
+--- libunique-1.1.6.old/unique/Makefile.in 2011-07-06 11:01:36.306127549 +0100
++++ libunique-1.1.6/unique/Makefile.in 2011-07-06 11:01:58.311127546 +0100
+@@ -394,11 +394,8 @@ INCLUDES = -I$(top_srcdir)
+ AM_CPPFLAGS = \
+ -DG_DISABLE_SINGLE_INCLUDES \
+ -DGTK_DISABLE_SINGLE_INCLUDES \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+ -DG_LOG_DOMAIN=\"Unique\" \
+ -DPREFIX=\""$(prefix)"\" \
+- $(DISABLE_DEPRECATED_FLAGS) \
+ $(UNIQUE_DEBUG_CFLAGS) \
+ $(NULL)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libunique.git/commitdiff/38fa7bf574f5b92cf9d685a093675bb95d4340a9
More information about the pld-cvs-commit
mailing list