[packages/fbida] - rel 16; fix build with new giflib

arekm arekm at pld-linux.org
Fri Nov 7 12:25:52 CET 2014


commit 0e53263f79f1c0cff4100c54ce88dbc6a976f13a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 7 12:25:47 2014 +0100

    - rel 16; fix build with new giflib

 fbida-giflib.patch | 20 ++++++++++++++++++++
 fbida.spec         |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/fbida.spec b/fbida.spec
index 4cff7c5..c224986 100644
--- a/fbida.spec
+++ b/fbida.spec
@@ -21,7 +21,7 @@ Summary:	fbida - a few applications for viewing and editing images
 Summary(pl.UTF-8):	fbida - kilka aplikacji do oglądania i edycji obrazków
 Name:		fbida
 Version:	2.09
-Release:	15
+Release:	16
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://www.kraxel.org/releases/fbida/%{name}-%{version}.tar.gz
diff --git a/fbida-giflib.patch b/fbida-giflib.patch
index 6508915..790e39b 100644
--- a/fbida-giflib.patch
+++ b/fbida-giflib.patch
@@ -58,3 +58,23 @@ diff -Naur fbida-2.09-orig/rd/read-gif.c fbida-2.09/rd/read-gif.c
  	    }
  	    if (NULL == h->gif->SColorMap &&
  		NULL == h->gif->Image.ColorMap) {
+--- fbida-2.09/rd/read-gif.c~	2014-11-07 12:24:02.000000000 +0100
++++ fbida-2.09/rd/read-gif.c	2014-11-07 12:24:58.229076247 +0100
+@@ -164,7 +164,7 @@ gif_init(FILE *fp, char *filename, unsig
+  oops:
+     if (debug)
+ 	fprintf(stderr,"gif: fatal error, aborting\n");
+-    DGifCloseFile(h->gif);
++    DGifCloseFile(h->gif, NULL);
+     fclose(h->infile);
+     free(h->row);
+     free(h);
+@@ -204,7 +204,7 @@ gif_done(void *data)
+ 
+     if (debug)
+ 	fprintf(stderr,"gif: done, cleaning up\n");
+-    DGifCloseFile(h->gif);
++    DGifCloseFile(h->gif, NULL);
+     fclose(h->infile);
+     if (h->il)
+ 	free(h->il);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fbida.git/commitdiff/0e53263f79f1c0cff4100c54ce88dbc6a976f13a



More information about the pld-cvs-commit mailing list