pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/imlib2 Fix build with giflib 5.0, PR pkg/48021.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5cc8c4c4368
branches:  trunk
changeset: 621221:b5cc8c4c4368
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Jul 06 05:58:03 2013 +0000

description:
Fix build with giflib 5.0, PR pkg/48021.

diffstat:

 graphics/imlib2/distinfo                                        |   3 +-
 graphics/imlib2/patches/patch-src_modules_loaders_loader__gif.c |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r f3231dea222c -r b5cc8c4c4368 graphics/imlib2/distinfo
--- a/graphics/imlib2/distinfo  Sat Jul 06 01:24:14 2013 +0000
+++ b/graphics/imlib2/distinfo  Sat Jul 06 05:58:03 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2013/03/02 18:07:14 joerg Exp $
+$NetBSD: distinfo,v 1.31 2013/07/06 05:58:03 ryoon Exp $
 
 SHA1 (imlib2-1.4.5.tar.bz2) = af86a2c38f4bc3806db57e64e74dc9814ad474a0
 RMD160 (imlib2-1.4.5.tar.bz2) = 3b8fd51a854f628f8e8b38612da6c99a0609c6aa
@@ -10,3 +10,4 @@
 SHA1 (patch-imlib2-config.in) = 621831f2fe661db1d78632b4c1c0b36ab2e8916d
 SHA1 (patch-src_lib_amd64__blend.S) = 226de814e6c890ec1fea105641e036416e670a9f
 SHA1 (patch-src_lib_amd64__blend__cmod.S) = a02c7b101cc16889002101cfc689e8e39cb04016
+SHA1 (patch-src_modules_loaders_loader__gif.c) = 00b0eab470cee236764aa804f030ba7ea5331d7c
diff -r f3231dea222c -r b5cc8c4c4368 graphics/imlib2/patches/patch-src_modules_loaders_loader__gif.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imlib2/patches/patch-src_modules_loaders_loader__gif.c   Sat Jul 06 05:58:03 2013 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_loaders_loader__gif.c,v 1.1 2013/07/06 05:58:03 ryoon Exp $
+
+* Fix build with giflib 5.0.
+
+--- src/modules/loaders/loader_gif.c.orig      2011-04-15 22:05:28.000000000 +0000
++++ src/modules/loaders/loader_gif.c
+@@ -36,7 +36,7 @@ load(ImlibImage * im, ImlibProgressFunct
+ #endif
+    if (fd < 0)
+       return 0;
+-   gif = DGifOpenFileHandle(fd);
++   gif = DGifOpenFileHandle(fd, NULL);
+    if (!gif)
+      {
+         close(fd);



Home | Main Index | Thread Index | Old Index