summaryrefslogtreecommitdiff
path: root/graphics/plotutils/files/patch-libplot_i__rle.h
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-10 06:34:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-10 06:34:37 +0000
commitce1f6608f852128aa0344f5c20f7b4e4585e3dbe (patch)
tree8feabac060bf39ad4ecd2896f9cb79d3274e2cab /graphics/plotutils/files/patch-libplot_i__rle.h
parentUpdate to 2.1.0 (diff)
Fix build on -current
PR: 55351 Submitted by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
Notes
Notes: svn path=/head/; revision=86701
Diffstat (limited to 'graphics/plotutils/files/patch-libplot_i__rle.h')
-rw-r--r--graphics/plotutils/files/patch-libplot_i__rle.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/plotutils/files/patch-libplot_i__rle.h b/graphics/plotutils/files/patch-libplot_i__rle.h
new file mode 100644
index 000000000000..0ce670281f63
--- /dev/null
+++ b/graphics/plotutils/files/patch-libplot_i__rle.h
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- libplot/i_rle.h.orig Wed Mar 3 20:05:38 1999
++++ libplot/i_rle.h Thu Aug 7 11:48:12 2003
+@@ -35,7 +35,7 @@
+ int obits;
+ FILE *ofile;
+ #ifdef LIBPLOTTER
+- ostream *outstream;
++ std::ostream *outstream;
+ #endif
+ unsigned char oblock[256];
+ int oblen;
+@@ -43,7 +43,7 @@
+
+ /* create, initialize, and return a new RLE output structure */
+ #ifdef LIBPLOTTER
+-extern rle_out *_rle_init ____P((FILE *fp, ostream *out, int bit_depth));
++extern rle_out *_rle_init ____P((FILE *fp, std::ostream *out, int bit_depth));
+ #else
+ extern rle_out *_rle_init ____P((FILE *fp, int bit_depth));
+ #endif