summaryrefslogtreecommitdiff
path: root/time/xtide
diff options
context:
space:
mode:
authorwiz <wiz>2011-01-31 20:23:10 +0000
committerwiz <wiz>2011-01-31 20:23:10 +0000
commitaaf67e00a70d4e089f1aa74384d80ad502c028e7 (patch)
tree155d8b4db0626a9d72d98d4fb1426d724ce3d002 /time/xtide
parent656cd865bdbc8fe45c8b4d22d22445780e306f63 (diff)
downloadpkgsrc-aaf67e00a70d4e089f1aa74384d80ad502c028e7.tar.gz
Fix build with png-1.5.
Diffstat (limited to 'time/xtide')
-rw-r--r--time/xtide/distinfo3
-rw-r--r--time/xtide/patches/patch-ae15
2 files changed, 17 insertions, 1 deletions
diff --git a/time/xtide/distinfo b/time/xtide/distinfo
index 8b6b9792883..4c73ed587e4 100644
--- a/time/xtide/distinfo
+++ b/time/xtide/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $
+$NetBSD: distinfo,v 1.2 2011/01/31 20:23:10 wiz Exp $
SHA1 (harmonics-dwf-20060708.tcd.bz2) = 1f54ed856b064e485f7e386eb4a71965e83abfa4
RMD160 (harmonics-dwf-20060708.tcd.bz2) = 754255ac5f2e36cf2dce587e7f9f7bd0561226d9
@@ -10,3 +10,4 @@ SHA1 (patch-aa) = 8b9059e2870f6b8149e72ca33c452e75650f8230
SHA1 (patch-ab) = 889c68bce0bd78cfc1b5f7410364e8c39182cfec
SHA1 (patch-ac) = 07a0099f0d58b8774ae456470142314dabe38c1b
SHA1 (patch-ad) = cf18fb73096b3cef07fbf501fa1205fe126d1155
+SHA1 (patch-ae) = d93d25768341ac52a7379e4d4043c8f799072329
diff --git a/time/xtide/patches/patch-ae b/time/xtide/patches/patch-ae
new file mode 100644
index 00000000000..9858f02f437
--- /dev/null
+++ b/time/xtide/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2011/01/31 20:23:10 wiz Exp $
+
+Fix build with png-1.5.
+
+--- RGBGraph.cc.orig 2006-03-14 01:59:34.000000000 +0000
++++ RGBGraph.cc
+@@ -118,7 +118,7 @@ RGBGraph::writeAsPNG (png_rw_ptr write_d
+ /* Set error handling. REQUIRED if you aren't supplying your own
+ * error hadnling functions in the png_create_write_struct() call.
+ */
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ barf (PNG_WRITE_FAILURE);
+
+ /* set up the output control if you are using standard C streams */