diff options
-rw-r--r-- | games/crossfire-server/distinfo | 3 | ||||
-rw-r--r-- | games/crossfire-server/patches/patch-crossedit_png.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/games/crossfire-server/distinfo b/games/crossfire-server/distinfo index 31c8c20e595..95af9478dda 100644 --- a/games/crossfire-server/distinfo +++ b/games/crossfire-server/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2008/11/04 08:36:34 adam Exp $ +$NetBSD: distinfo,v 1.4 2011/04/01 15:21:50 wiz Exp $ SHA1 (crossfire-1.11.0.arch.tar.gz) = 29a3ea7cfd5df4dc5a375f5b4302aebb4d609964 RMD160 (crossfire-1.11.0.arch.tar.gz) = 8fa48ef33a83f1ed158a957db664a9deed96e1fc @@ -12,3 +12,4 @@ Size (crossfire-1.11.0.tar.gz) = 6302656 bytes SHA1 (patch-aa) = b4a855a8aee117b42d6edbb7c6fd2819b6b33180 SHA1 (patch-ab) = 2cf11e9901f72cf018f162e4bf4d2980257a0bbf SHA1 (patch-ae) = 1c9d973c932d5c6ee6ee642611d64850e05e3985 +SHA1 (patch-crossedit_png.c) = 4802c077285b47c7afc5acc7128020d6f54087ab diff --git a/games/crossfire-server/patches/patch-crossedit_png.c b/games/crossfire-server/patches/patch-crossedit_png.c new file mode 100644 index 00000000000..b05dabb808b --- /dev/null +++ b/games/crossfire-server/patches/patch-crossedit_png.c @@ -0,0 +1,15 @@ +$NetBSD: patch-crossedit_png.c,v 1.1 2011/04/01 15:21:50 wiz Exp $ + +Fix build with png-1.5. + +--- crossedit/png.c.orig 2008-02-01 05:56:34.000000000 +0000 ++++ crossedit/png.c +@@ -269,7 +269,7 @@ int png_to_xpixmap(Display *display, Dra + png_destroy_read_struct (&png_ptr, &info_ptr, NULL); + return PNGX_OUTOFMEM; + } +- if (setjmp (png_ptr->jmpbuf)) { ++ if (setjmp (png_jmpbuf(png_ptr))) { + png_destroy_read_struct (&png_ptr, &info_ptr, &end_info); + return PNGX_DATA; + } |