From 8d202459a81f76dcbc9868fd70928009c922f5868a7cf37620c3167a88220da8 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Nov 2008 11:07:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-gap?expand=0&rev=3 --- gimp-gap-portability.patch | 11 +++++++++++ gimp-gap.changes | 5 +++++ gimp-gap.spec | 6 +++++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 gimp-gap-portability.patch diff --git a/gimp-gap-portability.patch b/gimp-gap-portability.patch new file mode 100644 index 0000000..1e45286 --- /dev/null +++ b/gimp-gap-portability.patch @@ -0,0 +1,11 @@ +--- gap/gap_story_file.c ++++ gap/gap_story_file.c +@@ -2853,7 +2853,7 @@ + } + + /* print PREFERRED_DECODER */ +- if(stb->preferred_decoder > 0) ++ if(stb->preferred_decoder) + { + if(*stb->preferred_decoder != '\0') + { diff --git a/gimp-gap.changes b/gimp-gap.changes index 4ea6644..85489d3 100644 --- a/gimp-gap.changes +++ b/gimp-gap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 30 14:21:52 CET 2008 - sbrabec@suse.cz + +- gcc portability warning fix (bnc#439279). + ------------------------------------------------------------------- Wed Oct 15 18:56:14 CEST 2008 - sbrabec@suse.cz diff --git a/gimp-gap.spec b/gimp-gap.spec index c9e981e..6d61c94 100644 --- a/gimp-gap.spec +++ b/gimp-gap.spec @@ -20,7 +20,7 @@ Name: gimp-gap Version: 2.4.0 -Release: 52 +Release: 53 # Patched code is built by default. # Use rpmbuild -D 'BUILD_ORIG 1' to build original code. # Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to name original code as -orig. @@ -51,6 +51,7 @@ Patch: %{name}-patched.patch Patch1: %{name}-no-gimp_proc_view_new.patch # Patch %{name}-no-gimp_proc_view_new.patch makes it binary incompatible with 2.4 Requires: gimp-2.0 >= 2.6.0 +Patch2: gimp-gap-portability.patch Source1: %{name}-patch-source.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -96,6 +97,7 @@ Authors: %patch %endif %patch1 +%patch2 %build autoreconf -f -i @@ -142,6 +144,8 @@ rm -rf $RPM_BUILD_ROOT %files lang -f gimp20-gap.lang %changelog +* Thu Oct 30 2008 sbrabec@suse.cz +- gcc portability warning fix (bnc#439279). * Wed Oct 15 2008 sbrabec@suse.cz - Removed copy of gimp_proc_view_new() available in gimp-2.6. * Fri Jun 06 2008 sbrabec@suse.cz