forked from pool/fontforge
Accepting request 197971 from home:coolo:branches:openSUSE:Factory
- add fontforge-fixgiflib.patch to fix build with giflib 5.0.5 OBS-URL: https://build.opensuse.org/request/show/197971 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=27
This commit is contained in:
parent
5bbd64076a
commit
7ab0d51489
22
fontforge-fixgiflib.patch
Normal file
22
fontforge-fixgiflib.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Index: fontforge-20120731-b/gutils/gimagereadgif.c
|
||||
===================================================================
|
||||
--- fontforge-20120731-b.orig/gutils/gimagereadgif.c
|
||||
+++ fontforge-20120731-b/gutils/gimagereadgif.c
|
||||
@@ -132,7 +132,7 @@ GImage *GImageReadGif(char *filename) {
|
||||
if ( !loadgif())
|
||||
return( NULL );
|
||||
|
||||
- if ((gif = _DGifOpenFileName(filename)) == NULL) {
|
||||
+ if ((gif = _DGifOpenFileName(filename, NULL)) == NULL) {
|
||||
fprintf( stderr, "can't open %s\n", filename);
|
||||
return( NULL );
|
||||
}
|
||||
@@ -220,7 +220,7 @@ GImage *GImageReadGif(char *filename) {
|
||||
GifFileType *gif;
|
||||
int i;
|
||||
|
||||
- if ((gif = DGifOpenFileName(filename)) == NULL) {
|
||||
+ if ((gif = DGifOpenFileName(filename, NULL)) == NULL) {
|
||||
fprintf( stderr, "can't open %s\n", filename);
|
||||
return( NULL );
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 08:48:04 UTC 2013 - coolo@suse.com
|
||||
|
||||
- add fontforge-fixgiflib.patch to fix build with giflib 5.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 12:17:30 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
@ -32,6 +32,7 @@ Patch1: fontforge-20090622-fdleak.patch
|
||||
Patch2: libpng14-dynamic.diff
|
||||
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
|
||||
Patch3: fontforge-python-module-name.diff
|
||||
Patch4: fontforge-fixgiflib.patch
|
||||
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: fdupes
|
||||
@ -81,6 +82,9 @@ to develop applications that use FontForge libraries.
|
||||
%patch2
|
||||
%endif
|
||||
%patch3
|
||||
%if 0%{?suse_version} > 1230
|
||||
%patch4 -p1
|
||||
%endif
|
||||
|
||||
mkdir docs
|
||||
tar -jxvf %{SOURCE1} -C docs
|
||||
|
Loading…
Reference in New Issue
Block a user