SHA256
1
0
forked from pool/fontforge

Accepting request 197977 from M17N

- add fontforge-fixgiflib.patch to fix build with giflib 5.0.5 (forwarded request 197971 from coolo)

OBS-URL: https://build.opensuse.org/request/show/197977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2013-09-09 11:05:38 +00:00 committed by Git OBS Bridge
commit 2da3bc8b05
3 changed files with 31 additions and 0 deletions

22
fontforge-fixgiflib.patch Normal file
View 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 );
}

View File

@ -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

View File

@ -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