[packages/gtkimageview] - don't fail on deprecation warnings with -Werror - rel 5
baggins
baggins at pld-linux.org
Thu Mar 12 21:03:08 CET 2015
commit 936bff8fdc552f4fd7bfe7b892c81c8a167a28f2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 12 21:06:08 2015 +0100
- don't fail on deprecation warnings with -Werror
- rel 5
gtkimageview.spec | 4 +++-
no-Werror.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtkimageview.spec b/gtkimageview.spec
index 5fe8587..c0094f3 100644
--- a/gtkimageview.spec
+++ b/gtkimageview.spec
@@ -2,11 +2,12 @@ Summary: A GTK+ widget providing zoomable and panable view of a GdkPixbuf
Summary(pl.UTF-8): Widget GTK+ z widokiem GdkPixBuf pozwalającym na powiększanie i przesuwanie
Name: gtkimageview
Version: 1.6.4
-Release: 4
+Release: 5
License: LGPL v2.1
Group: X11/Libraries
Source0: http://trac.bjourne.webfactional.com/chrome/common/releases/%{name}-%{version}.tar.gz
# Source0-md5: 501367b3f50e69a12208dc9c6ad00b18
+Patch0: no-Werror.patch
URL: https://projects.gnome.org/gtkimageview/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -67,6 +68,7 @@ Dokumentacja API GtkImageView.
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644
index 0000000..9436932
--- /dev/null
+++ b/no-Werror.patch
@@ -0,0 +1,11 @@
+--- gtkimageview-1.6.4/configure.in~ 2009-04-05 22:02:43.000000000 +0200
++++ gtkimageview-1.6.4/configure.in 2015-03-12 21:05:03.189854006 +0100
+@@ -39,7 +39,7 @@
+ ######################################################################
+ ##### Twiddle CFLAGS #################################################
+ ######################################################################
+-CFLAGS="${CFLAGS} -Wall -Werror -std=c99 -Wmissing-prototypes"
++CFLAGS="${CFLAGS} -Wall -std=c99 -Wmissing-prototypes"
+
+
+ ######################################################################
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkimageview.git/commitdiff/936bff8fdc552f4fd7bfe7b892c81c8a167a28f2
More information about the pld-cvs-commit
mailing list