]> git.pld-linux.org Git - packages/gtkimageview.git/commitdiff
- don't fail on deprecation warnings with -Werror auto/th/gtkimageview-1.6.4-5
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 20:06:08 +0000 (21:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Mar 2015 20:06:08 +0000 (21:06 +0100)
- rel 5

gtkimageview.spec
no-Werror.patch [new file with mode: 0644]

index 5fe85872cf362ef968c160a6f211f50e58dcca7b..c0094f39f339336a97a96e1655fbb0fc8e0675f3 100644 (file)
@@ -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 (file)
index 0000000..9436932
--- /dev/null
@@ -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"
+ ######################################################################
This page took 0.046063 seconds and 4 git commands to generate.