aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2012-06-20 11:31:01 +0000
committerKoop Mast <kwm@FreeBSD.org>2012-06-20 11:31:01 +0000
commite5e10a1a084432a222d9ac4747662824388d8514 (patch)
tree1b0ab40cfcbc1f515356a51bcbdfa3aced5d9a24
parent0bbc7127f1a4fb138b16bdd7cf5268fa1c21bd60 (diff)
downloadports-e5e10a1a084432a222d9ac4747662824388d8514.tar.gz
ports-e5e10a1a084432a222d9ac4747662824388d8514.zip
Notes
-rw-r--r--graphics/imlib/Makefile2
-rw-r--r--graphics/imlib/files/patch-PrintGifError21
2 files changed, 22 insertions, 1 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 45ae9074f4ae..e83f2fb0740b 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -8,7 +8,7 @@
PORTNAME= imlib
PORTVERSION= 1.9.15
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= graphics
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
diff --git a/graphics/imlib/files/patch-PrintGifError b/graphics/imlib/files/patch-PrintGifError
new file mode 100644
index 000000000000..5d544b410176
--- /dev/null
+++ b/graphics/imlib/files/patch-PrintGifError
@@ -0,0 +1,21 @@
+--- Imlib/load.c-orig 2012-06-16 20:19:27.000000000 +0200
++++ Imlib/load.c 2012-06-16 20:19:56.000000000 +0200
+@@ -420,6 +420,18 @@
+ #endif /* HAVE_LIBTIFF */
+
+ #ifdef HAVE_LIBGIF
++
++static void
++PrintGifError(void)
++{
++ char *Err = GifErrorString();
++
++ if (Err != NULL)
++ fprintf(stderr, "\nGIF-LIB error: %s.\n", Err);
++ else
++ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", GifError());
++}
++
+ unsigned char *
+ _LoadGIF(ImlibData * id, FILE *f, int *w, int *h, int *t)
+ { \ No newline at end of file