diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-15 16:26:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-15 16:26:36 +0000 |
commit | a9c9c1f7fc136a2edde24ef6c462678f394c0b61 (patch) | |
tree | 9bfcd82538109a581a414e13200b4278ea1ef360 /graphics/imlib | |
parent | 58213c237fc0736199d39ddda3ba85f9aa3aebbf (diff) | |
download | pkgsrc-a9c9c1f7fc136a2edde24ef6c462678f394c0b61.tar.gz |
Fix build with newer giflib.
Diffstat (limited to 'graphics/imlib')
-rw-r--r-- | graphics/imlib/distinfo | 4 | ||||
-rw-r--r-- | graphics/imlib/patches/patch-ab | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/imlib/distinfo b/graphics/imlib/distinfo index 5a45ac05bd7..f4613b2dd40 100644 --- a/graphics/imlib/distinfo +++ b/graphics/imlib/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.20 2011/01/23 16:16:39 wiz Exp $ +$NetBSD: distinfo,v 1.21 2013/08/15 16:26:36 joerg Exp $ SHA1 (imlib-1.9.15.tar.bz2) = c9a732a354fbb3c7e1a426e5d19fc92d73f8f720 RMD160 (imlib-1.9.15.tar.bz2) = 195b80833167134ba2d9a9574d420279f9cf55f4 Size (imlib-1.9.15.tar.bz2) = 683242 bytes SHA1 (patch-aa) = fc990bb2278e6a848034f9c7be0170e1843b67b2 -SHA1 (patch-ab) = ff9fe1b56fe42030b8e1520c4f7f0ec8862fce92 +SHA1 (patch-ab) = e4b0348a1e9d421128714ff2c97c8934ad2ab5f1 SHA1 (patch-ac) = 7dd08bde4e97614777bf4327db2e6045db04692d SHA1 (patch-ad) = 1fc310d57c12337cc8ccddb7dd907330127b7112 SHA1 (patch-ae) = 3ed6fff2e73f04ec83c27dc6e3f2db2fa446abbb diff --git a/graphics/imlib/patches/patch-ab b/graphics/imlib/patches/patch-ab index 956313aaf42..64b67180485 100644 --- a/graphics/imlib/patches/patch-ab +++ b/graphics/imlib/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.7 2011/01/23 16:16:39 wiz Exp $ +$NetBSD: patch-ab,v 1.8 2013/08/15 16:26:36 joerg Exp $ Middle chunks: Fix build with png-1.5. Others: ??? @@ -86,6 +86,15 @@ Others: ??? { TIFFClose(tif); return NULL; +@@ -443,7 +454,7 @@ _LoadGIF(ImlibData * id, FILE *f, int *w + fd = fileno(f); + /* Apparently rewind(f) isn't sufficient */ + lseek(fd, (long) 0, 0); +- gif = DGifOpenFileHandle(fd); ++ gif = DGifOpenFileHandle(fd, NULL); + + if (!gif) + return NULL; @@ -463,7 +474,7 @@ _LoadGIF(ImlibData * id, FILE *f, int *w } *w = gif->Image.Width; |