forked from pool/gimp-gap
This commit is contained in:
parent
c9dad82aa0
commit
4b3e3ce984
11
gimp-gap-portability.patch
Normal file
11
gimp-gap-portability.patch
Normal file
@ -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')
|
||||||
|
{
|
@ -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
|
Wed Oct 15 18:56:14 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: gimp-gap
|
Name: gimp-gap
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 52
|
Release: 53
|
||||||
# Patched code is built by default.
|
# Patched code is built by default.
|
||||||
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
|
# 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.
|
# 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
|
Patch1: %{name}-no-gimp_proc_view_new.patch
|
||||||
# Patch %{name}-no-gimp_proc_view_new.patch makes it binary incompatible with 2.4
|
# Patch %{name}-no-gimp_proc_view_new.patch makes it binary incompatible with 2.4
|
||||||
Requires: gimp-2.0 >= 2.6.0
|
Requires: gimp-2.0 >= 2.6.0
|
||||||
|
Patch2: gimp-gap-portability.patch
|
||||||
Source1: %{name}-patch-source.sh
|
Source1: %{name}-patch-source.sh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -96,6 +97,7 @@ Authors:
|
|||||||
%patch
|
%patch
|
||||||
%endif
|
%endif
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
@ -142,6 +144,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files lang -f gimp20-gap.lang
|
%files lang -f gimp20-gap.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 30 2008 sbrabec@suse.cz
|
||||||
|
- gcc portability warning fix (bnc#439279).
|
||||||
* Wed Oct 15 2008 sbrabec@suse.cz
|
* Wed Oct 15 2008 sbrabec@suse.cz
|
||||||
- Removed copy of gimp_proc_view_new() available in gimp-2.6.
|
- Removed copy of gimp_proc_view_new() available in gimp-2.6.
|
||||||
* Fri Jun 06 2008 sbrabec@suse.cz
|
* Fri Jun 06 2008 sbrabec@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user