diff options
author | wiz <wiz@pkgsrc.org> | 2006-04-23 18:29:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-04-23 18:29:39 +0000 |
commit | 9f6d17557c84ec4eb92ede160c5f4f16bdd18f1c (patch) | |
tree | ad19c7b394b004495dcbe83fd8b120c37a5c6b01 /graphics/gimp24 | |
parent | 8521eef81fa20d020dc9be65123340d2fc91355e (diff) | |
download | pkgsrc-9f6d17557c84ec4eb92ede160c5f4f16bdd18f1c.tar.gz |
Fix build with png-1.2.9nb2. Bump PKGREVISION.
Diffstat (limited to 'graphics/gimp24')
-rw-r--r-- | graphics/gimp24/Makefile | 4 | ||||
-rw-r--r-- | graphics/gimp24/distinfo | 3 | ||||
-rw-r--r-- | graphics/gimp24/patches/patch-ae | 37 |
3 files changed, 41 insertions, 3 deletions
diff --git a/graphics/gimp24/Makefile b/graphics/gimp24/Makefile index c35eec8a157..4081dc5d82b 100644 --- a/graphics/gimp24/Makefile +++ b/graphics/gimp24/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2006/04/17 13:45:59 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2006/04/23 18:29:39 wiz Exp $ DISTNAME= gimp-2.3.8 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/v2.3/ \ ftp://ftp.cs.umn.edu/pub/gimp/v2.3/ \ diff --git a/graphics/gimp24/distinfo b/graphics/gimp24/distinfo index 4801146ef8a..cdb329e39cf 100644 --- a/graphics/gimp24/distinfo +++ b/graphics/gimp24/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2006/04/14 10:49:41 adam Exp $ +$NetBSD: distinfo,v 1.5 2006/04/23 18:29:39 wiz Exp $ SHA1 (gimp-2.3.8.tar.bz2) = 32721b460582a3d3e267703c0f8829e24379306d RMD160 (gimp-2.3.8.tar.bz2) = db4bb4cd580efd8c06e8362935e9d98e74b057aa @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 83e6c5fe7b2efddd5aa1a6bca79821dbec09a123 SHA1 (patch-ab) = 57fde7f50489fe16383ef85677670b38fd3cc089 SHA1 (patch-ac) = 22e1d7c34486cf17ab2af3b01426b67a761078fa SHA1 (patch-ad) = 24c141e55321d36b45e0e17712882185fc5f04ac +SHA1 (patch-ae) = 14ef2ed4ee4b3049b052ab4bf33bc60346c22b53 diff --git a/graphics/gimp24/patches/patch-ae b/graphics/gimp24/patches/patch-ae new file mode 100644 index 00000000000..725748108e6 --- /dev/null +++ b/graphics/gimp24/patches/patch-ae @@ -0,0 +1,37 @@ +$NetBSD: patch-ae,v 1.1 2006/04/23 18:29:39 wiz Exp $ + +--- plug-ins/common/png.c.orig 2005-11-04 21:19:00.000000000 +0100 ++++ plug-ins/common/png.c +@@ -1095,12 +1095,10 @@ load_image (const gchar *filename, + * Done with the file... + */ + +- png_read_destroy (pp, info, NULL); ++ png_destroy_read_struct (&pp, &info, NULL); + + g_free (pixel); + g_free (pixels); +- free (pp); +- free (info); + + fclose (fp); + +@@ -1553,7 +1551,7 @@ save_image (const gchar *filename, + } + + png_write_end (pp, info); +- png_write_destroy (pp); ++ png_destroy_read_struct (&pp, &info, NULL); + + g_free (pixel); + g_free (pixels); +@@ -1568,9 +1566,6 @@ save_image (const gchar *filename, + g_free (text); + } + +- free (pp); +- free (info); +- + fclose (fp); + + return TRUE; |