summaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authortnn <tnn>2011-01-16 17:03:06 +0000
committertnn <tnn>2011-01-16 17:03:06 +0000
commit59457362e61156928abd28f9e9a1723752d715c6 (patch)
tree3d4aee0b5936b4fc07f1da9512a904a3d52aed91 /graphics/dia
parent1da055abb9ef4c5f8210dcd80f02ae7c2e42c084 (diff)
downloadpkgsrc-59457362e61156928abd28f9e9a1723752d715c6.tar.gz
png-1.5 build fix
Diffstat (limited to 'graphics/dia')
-rw-r--r--graphics/dia/distinfo3
-rw-r--r--graphics/dia/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
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"));