diff options
author | tron <tron> | 2011-01-14 19:41:10 +0000 |
---|---|---|
committer | tron <tron> | 2011-01-14 19:41:10 +0000 |
commit | 3249910ffa64284f8ef7898242e7086e33e34a26 (patch) | |
tree | 08b03b9c02ce04e25e8e4a06caa84c864365a91f /wm/windowmaker/patches | |
parent | 6d9e3cb1b2c84a08f0b39d8fb6cd97dd9ef14ba6 (diff) | |
download | pkgsrc-3249910ffa64284f8ef7898242e7086e33e34a26.tar.gz |
Fix build with the latest version of the "png" package.
Diffstat (limited to 'wm/windowmaker/patches')
-rw-r--r-- | wm/windowmaker/patches/patch-ao | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/wm/windowmaker/patches/patch-ao b/wm/windowmaker/patches/patch-ao new file mode 100644 index 00000000000..9d8fb427a78 --- /dev/null +++ b/wm/windowmaker/patches/patch-ao @@ -0,0 +1,15 @@ +$NetBSD: patch-ao,v 1.1 2011/01/14 19:41:10 tron Exp $ + +Fix build with "png" 1.5.1beta01 and newer. + +--- wrlib/png.c.orig 2004-10-12 19:22:04.000000000 +0100 ++++ wrlib/png.c 2011-01-14 19:38:22.000000000 +0000 +@@ -97,7 +97,7 @@ + } + + RErrorCode = RERR_INTERNAL; +- if (setjmp(png->jmpbuf)) { ++ if (png_jmpbuf(png)) { + fclose(f); + png_destroy_read_struct(&png, &pinfo, &einfo); + if (image) |