7ab0d51489
- 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
23 lines
795 B
Diff
23 lines
795 B
Diff
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 );
|
|
}
|