From d166d60edd81250f33db34532cc5bd813e33ade1 Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 16 Jan 2011 17:03:06 +0000 Subject: png-1.5 build fix --- graphics/dia/distinfo | 3 ++- graphics/dia/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 graphics/dia/patches/patch-ab (limited to 'graphics/dia') diff --git a/graphics/dia/distinfo b/graphics/dia/distinfo index c4db49a3a74..4628ae9cbd5 100644 --- a/graphics/dia/distinfo +++ b/graphics/dia/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.24 2010/01/27 19:38:51 drochner Exp $ +$NetBSD: distinfo,v 1.25 2011/01/16 17:03:06 tnn Exp $ SHA1 (dia-0.97.1.tar.gz) = eefeb10634a6a478ed5aa01297f3011eb183b9ca RMD160 (dia-0.97.1.tar.gz) = b191c91b7fa56802d5f5501818d5e24bde1539f7 Size (dia-0.97.1.tar.gz) = 9136499 bytes SHA1 (patch-aa) = 110f2d4c12df73a0dbae31d5c82ecf8937ba11fa +SHA1 (patch-ab) = 0843d7337627d2c30e5e78ccf79524de8fd283b9 SHA1 (patch-be) = dab7626daefcd702b31f54d198311d9be921e1ff SHA1 (patch-ca) = 8737f3ff19244e2f87ffb571da21159bc2248648 SHA1 (patch-cb) = 02210139cbf38e91a61ad1e090f63f5635bb26ef diff --git a/graphics/dia/patches/patch-ab b/graphics/dia/patches/patch-ab new file mode 100644 index 00000000000..9ba3884a935 --- /dev/null +++ b/graphics/dia/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.7 2011/01/16 17:03:06 tnn Exp $ + +--- plug-ins/libart/export_png.c.orig 2009-11-28 12:49:21.000000000 +0000 ++++ plug-ins/libart/export_png.c +@@ -178,7 +178,7 @@ export_png_ok(GtkButton *button, gpointe + } + + /* set error handling ... */ +- if (setjmp(png->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png))) { + fclose(fp); + png_destroy_write_struct(&png, &info); + message_error(_("Error occurred while writing PNG")); -- cgit v1.2.3