summaryrefslogtreecommitdiff
path: root/graphics/plotutils/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/plotutils/patches/patch-ad')
-rw-r--r--graphics/plotutils/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/plotutils/patches/patch-ad b/graphics/plotutils/patches/patch-ad
new file mode 100644
index 00000000000..46bbac9fe0c
--- /dev/null
+++ b/graphics/plotutils/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/09/09 14:52:56 jmmv Exp $
+
+--- libplot/z_write.c.orig 2000-06-20 13:34:42.000000000 +0900
++++ libplot/z_write.c 2003-09-09 21:22:59.000000000 +0900
+@@ -484,7 +484,7 @@
+ ostream *stream;
+
+ stream = (ostream *)png_get_io_ptr (png_ptr);
+- stream->write (data, length);
++ stream->write ((const char *)data, length);
+ }
+
+ static void