diff --git a/gegl-strict-compile-fix.diff b/gegl-strict-compile-fix.diff new file mode 100644 index 0000000..7ab7728 --- /dev/null +++ b/gegl-strict-compile-fix.diff @@ -0,0 +1,24 @@ +diff -ur gegl-0.0.18.orig/gegl/buffer/gegl-buffer.h gegl-0.0.18/gegl/buffer/gegl-buffer.h +--- gegl-0.0.18.orig/gegl/buffer/gegl-buffer.h 2008-06-14 12:40:06.000000000 -0400 ++++ gegl-0.0.18/gegl/buffer/gegl-buffer.h 2008-06-22 01:08:19.000000000 -0400 +@@ -287,7 +287,7 @@ + GEGL_INTERPOLATION_NEAREST = 0, + GEGL_INTERPOLATION_LINEAR, + GEGL_INTERPOLATION_CUBIC, +- GEGL_INTERPOLATION_LANCZOS, ++ GEGL_INTERPOLATION_LANCZOS + } GeglInterpolation; + + /** +diff -ur gegl-0.0.18.orig/gegl/gegl.h.in gegl-0.0.18/gegl/gegl.h.in +--- gegl-0.0.18.orig/gegl/gegl.h.in 2008-06-14 12:40:06.000000000 -0400 ++++ gegl-0.0.18/gegl/gegl.h.in 2008-06-22 01:07:35.000000000 -0400 +@@ -404,7 +404,7 @@ + { + GEGL_BLIT_DEFAULT = 0, + GEGL_BLIT_CACHE = 1 << 0, +- GEGL_BLIT_DIRTY = 1 << 1, ++ GEGL_BLIT_DIRTY = 1 << 1 + } GeglBlitFlags; + #endif + diff --git a/gegl.changes b/gegl.changes index 5ef0fa6..8cf0e56 100644 --- a/gegl.changes +++ b/gegl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 1 12:49:31 EDT 2008 - hfiguiere@suse.de + +- Add patch gegl-strict-compile-fix.diff: + *Fix header for stricter compilation + ------------------------------------------------------------------- Mon Sep 29 17:49:46 CEST 2008 - sbrabec@suse.cz diff --git a/gegl.spec b/gegl.spec index 1b7c3f6..7df4408 100644 --- a/gegl.spec +++ b/gegl.spec @@ -41,11 +41,13 @@ Provides: patched_subset Requires: glib2 >= 2.14.0 Url: http://gegl.org/ Version: 0.0.18 -Release: 3 +Release: 4 License: GPL v3 or later; LGPL v3 or later Group: System/Libraries Summary: Generic Graphics Library Source: ftp://ftp.gimp.org/pub/gegl/v0.0/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM gegl-strict-compile-fix.diff - hfiguiere@novell.com +Patch0: gegl-strict-compile-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libgegl-0_0-0 = %{version}-%{release} @@ -351,6 +353,7 @@ Authors: %prep %setup -q +%patch0 -p1 %build autoreconf -f -i @@ -412,6 +415,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/gegl %changelog +* Wed Oct 01 2008 hfiguiere@suse.de +- Add patch gegl-strict-compile-fix.diff: + *Fix header for stricter compilation * Mon Sep 29 2008 sbrabec@suse.cz - Fixed dependencies. - Fixed permissions of documentation.