diff options
author | wiz <wiz@pkgsrc.org> | 2011-04-05 11:04:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-04-05 11:04:39 +0000 |
commit | 5a2bbff676c821f0836f61519b86359c06e32e42 (patch) | |
tree | 8ca2ae46f2b2c555909a9392704d2cf74371ecf1 /x11/xcursorgen | |
parent | 8d43eff24d7071840f8ce199b0fbbcce533e84c4 (diff) | |
download | pkgsrc-5a2bbff676c821f0836f61519b86359c06e32e42.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'x11/xcursorgen')
-rw-r--r-- | x11/xcursorgen/distinfo | 3 | ||||
-rw-r--r-- | x11/xcursorgen/patches/patch-xcursorgen.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/xcursorgen/distinfo b/x11/xcursorgen/distinfo index ec7b5ef20f3..e6907676d02 100644 --- a/x11/xcursorgen/distinfo +++ b/x11/xcursorgen/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 17:36:22 wiz Exp $ +$NetBSD: distinfo,v 1.3 2011/04/05 11:06:59 wiz Exp $ SHA1 (xcursorgen-4.3.0.tar.bz2) = ade20086c9122d47da82deaeb2707b720e72b735 RMD160 (xcursorgen-4.3.0.tar.bz2) = 2daa61f0781db6d775b01d6b6fd627e8c0931919 @@ -6,3 +6,4 @@ Size (xcursorgen-4.3.0.tar.bz2) = 2195176 bytes SHA1 (patch-aa) = 8eb4d1783b747f3212daeee7d3907b1862d8320c SHA1 (patch-ab) = 56c7d3e860c14cc7a18c90865847ecf271df438c SHA1 (patch-ac) = 31151a77830170cccbd1f33be83d1157bfd4344a +SHA1 (patch-xcursorgen.c) = 11d3b0d12872db2d0beadb1622c12e1b61a2626f diff --git a/x11/xcursorgen/patches/patch-xcursorgen.c b/x11/xcursorgen/patches/patch-xcursorgen.c new file mode 100644 index 00000000000..93e90781174 --- /dev/null +++ b/x11/xcursorgen/patches/patch-xcursorgen.c @@ -0,0 +1,15 @@ +$NetBSD: patch-xcursorgen.c,v 1.1 2011/04/05 11:06:59 wiz Exp $ + +Fix build with png-1.5. + +--- xcursorgen.c.orig 2003-02-28 13:19:21.000000000 +0000 ++++ xcursorgen.c +@@ -182,7 +182,7 @@ load_image (struct flist *list, char *pr + return NULL; + } + +- if (setjmp (png->jmpbuf)) ++ if (setjmp (png_jmpbuf(png))) + { + png_destroy_read_struct (&png, &info, NULL); + return NULL; |