diff options
author | wiz <wiz@pkgsrc.org> | 2011-01-31 20:23:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-01-31 20:23:10 +0000 |
commit | 8a19c5bb31c8966030f6c3890a6e4638e45dbbc5 (patch) | |
tree | 155d8b4db0626a9d72d98d4fb1426d724ce3d002 /time/xonclock | |
parent | 33728b58b52f3348421c04dbb3f57fd8f0be0910 (diff) | |
download | pkgsrc-8a19c5bb31c8966030f6c3890a6e4638e45dbbc5.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'time/xonclock')
-rw-r--r-- | time/xonclock/distinfo | 3 | ||||
-rw-r--r-- | time/xonclock/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/time/xonclock/distinfo b/time/xonclock/distinfo index fa4202714cf..dcd4fd3e4dc 100644 --- a/time/xonclock/distinfo +++ b/time/xonclock/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/12/17 20:16:37 drochner Exp $ +$NetBSD: distinfo,v 1.2 2011/01/31 20:25:51 wiz Exp $ SHA1 (xonclock-0.0.9.2.tar.gz) = e29fb4709a973181b1f53e22a3dbcdae758a38da RMD160 (xonclock-0.0.9.2.tar.gz) = ccbd11a30cdca65aaccc8eee50229ba47e9f3184 Size (xonclock-0.0.9.2.tar.gz) = 410786 bytes +SHA1 (patch-aa) = 7977c0a98e2f16c77e4618326aa9806e3cbc4cdd diff --git a/time/xonclock/patches/patch-aa b/time/xonclock/patches/patch-aa new file mode 100644 index 00000000000..1e68210ee23 --- /dev/null +++ b/time/xonclock/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2011/01/31 20:25:51 wiz Exp $ + +Fix build with png-1.5. + +--- src/loaders/png.c.orig 2007-09-16 11:01:50.000000000 +0000 ++++ src/loaders/png.c +@@ -110,7 +110,7 @@ read_png(const char * filename, + goto err; + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_read_struct(&png_ptr, &info_ptr, + (png_infopp) NULL); + msg("libpng error catched"); |