diff options
Diffstat (limited to 'time/xonclock/patches/patch-aa')
-rw-r--r-- | time/xonclock/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
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"); |