[31322] trunk/dports/graphics/plotutils/files
ram at macports.org
ram at macports.org
Mon Nov 19 19:20:05 PST 2007
Revision: 31322
http://trac.macosforge.org/projects/macports/changeset/31322
Author: ram at macports.org
Date: 2007-11-19 19:20:04 -0800 (Mon, 19 Nov 2007)
Log Message:
-----------
rename plotutils patches
Added Paths:
-----------
trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c.diff
trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c.diff
trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c.diff
trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c.diff
Removed Paths:
-------------
trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c
trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c
trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c
trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c
Deleted: trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c 2007-11-20 03:14:55 UTC (rev 31321)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c 2007-11-20 03:20:04 UTC (rev 31322)
@@ -1,11 +0,0 @@
---- libplot/g_write.c.orig 2000-05-19 10:10:01.000000000 -0600
-+++ libplot/g_write.c 2005-06-13 20:53:43.000000000 -0600
-@@ -40,7 +40,7 @@
- }
- #ifdef LIBPLOTTER
- else if (data->outstream)
-- data->outstream->write(c, n);
-+ data->outstream->write((const char *)c, n);
- #endif
- }
-
Copied: trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c.diff (from rev 31319, trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c)
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c.diff (rev 0)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_g_write.c.diff 2007-11-20 03:20:04 UTC (rev 31322)
@@ -0,0 +1,11 @@
+--- libplot/g_write.c.orig 2000-05-19 10:10:01.000000000 -0600
++++ libplot/g_write.c 2005-06-13 20:53:43.000000000 -0600
+@@ -40,7 +40,7 @@
+ }
+ #ifdef LIBPLOTTER
+ else if (data->outstream)
+- data->outstream->write(c, n);
++ data->outstream->write((const char *)c, n);
+ #endif
+ }
+
Deleted: trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c 2007-11-20 03:14:55 UTC (rev 31321)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c 2007-11-20 03:20:04 UTC (rev 31322)
@@ -1,11 +0,0 @@
---- libplot/i_rle.c.orig 1999-06-27 10:58:10.000000000 -0600
-+++ libplot/i_rle.c 2005-06-13 22:44:03.000000000 -0600
-@@ -78,7 +78,7 @@
- else if (rle->outstream)
- {
- rle->outstream->put ((unsigned char)(rle->oblen));
-- rle->outstream->write (&(rle->oblock[0]), rle->oblen);
-+ rle->outstream->write ((const char *)&(rle->oblock[0]), rle->oblen);
- }
- #endif
-
Copied: trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c.diff (from rev 31319, trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c)
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c.diff (rev 0)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_i_rle.c.diff 2007-11-20 03:20:04 UTC (rev 31322)
@@ -0,0 +1,11 @@
+--- libplot/i_rle.c.orig 1999-06-27 10:58:10.000000000 -0600
++++ libplot/i_rle.c 2005-06-13 22:44:03.000000000 -0600
+@@ -78,7 +78,7 @@
+ else if (rle->outstream)
+ {
+ rle->outstream->put ((unsigned char)(rle->oblen));
+- rle->outstream->write (&(rle->oblock[0]), rle->oblen);
++ rle->outstream->write ((const char *)&(rle->oblock[0]), rle->oblen);
+ }
+ #endif
+
Deleted: trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c 2007-11-20 03:14:55 UTC (rev 31321)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c 2007-11-20 03:20:04 UTC (rev 31322)
@@ -1,56 +0,0 @@
---- libplot/n_write.c.orig 2000-06-15 23:42:13.000000000 -0600
-+++ libplot/n_write.c 2005-06-13 22:55:50.000000000 -0600
-@@ -208,7 +208,7 @@
- linebuf[pos++] = '0';
- if (pos >= MAX_PBM_PIXELS_PER_LINE || i == (width - 1))
- {
-- stream->write (linebuf, pos);
-+ stream->write ((const char *)linebuf, pos);
- stream->put ('\n');
-
- pos = 0;
-@@ -253,7 +253,7 @@
- rowbuf[bytecount++] = outbyte;
- }
- /* emit row of bytes */
-- stream->write (rowbuf, bytecount);
-+ stream->write ((const char *)rowbuf, bytecount);
- }
-
- free (rowbuf);
-@@ -366,7 +366,7 @@
- num_pixels++;
- if (num_pixels >= MAX_PGM_PIXELS_PER_LINE || i == (width - 1))
- {
-- stream->write (linebuf, pos);
-+ stream->write ((const char *)linebuf, pos);
- stream->put ('\n');
-
- num_pixels = 0;
-@@ -392,7 +392,7 @@
- {
- for (i = 0; i < width; i++)
- rowbuf[i] = pixmap[j][i].u.rgb[0];
-- stream->write (rowbuf, width);
-+ stream->write ((const char *)rowbuf, width);
- }
- free (rowbuf);
- }
-@@ -514,7 +514,7 @@
- num_pixels++;
- if (num_pixels >= MAX_PPM_PIXELS_PER_LINE || i == (width - 1))
- {
-- stream->write (linebuf, pos);
-+ stream->write ((const char *)linebuf, pos);
- stream->put ('\n');
-
- num_pixels = 0;
-@@ -542,7 +542,7 @@
- for (i = 0; i < width; i++)
- for (component = 0; component < 3; component++)
- rowbuf[3 * i + component] = pixmap[j][i].u.rgb[component];
-- stream->write (rowbuf, 3 * width);
-+ stream->write ((const char *)rowbuf, 3 * width);
- }
- free (rowbuf);
- }
Copied: trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c.diff (from rev 31319, trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c)
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c.diff (rev 0)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_n_write.c.diff 2007-11-20 03:20:04 UTC (rev 31322)
@@ -0,0 +1,56 @@
+--- libplot/n_write.c.orig 2000-06-15 23:42:13.000000000 -0600
++++ libplot/n_write.c 2005-06-13 22:55:50.000000000 -0600
+@@ -208,7 +208,7 @@
+ linebuf[pos++] = '0';
+ if (pos >= MAX_PBM_PIXELS_PER_LINE || i == (width - 1))
+ {
+- stream->write (linebuf, pos);
++ stream->write ((const char *)linebuf, pos);
+ stream->put ('\n');
+
+ pos = 0;
+@@ -253,7 +253,7 @@
+ rowbuf[bytecount++] = outbyte;
+ }
+ /* emit row of bytes */
+- stream->write (rowbuf, bytecount);
++ stream->write ((const char *)rowbuf, bytecount);
+ }
+
+ free (rowbuf);
+@@ -366,7 +366,7 @@
+ num_pixels++;
+ if (num_pixels >= MAX_PGM_PIXELS_PER_LINE || i == (width - 1))
+ {
+- stream->write (linebuf, pos);
++ stream->write ((const char *)linebuf, pos);
+ stream->put ('\n');
+
+ num_pixels = 0;
+@@ -392,7 +392,7 @@
+ {
+ for (i = 0; i < width; i++)
+ rowbuf[i] = pixmap[j][i].u.rgb[0];
+- stream->write (rowbuf, width);
++ stream->write ((const char *)rowbuf, width);
+ }
+ free (rowbuf);
+ }
+@@ -514,7 +514,7 @@
+ num_pixels++;
+ if (num_pixels >= MAX_PPM_PIXELS_PER_LINE || i == (width - 1))
+ {
+- stream->write (linebuf, pos);
++ stream->write ((const char *)linebuf, pos);
+ stream->put ('\n');
+
+ num_pixels = 0;
+@@ -542,7 +542,7 @@
+ for (i = 0; i < width; i++)
+ for (component = 0; component < 3; component++)
+ rowbuf[3 * i + component] = pixmap[j][i].u.rgb[component];
+- stream->write (rowbuf, 3 * width);
++ stream->write ((const char *)rowbuf, 3 * width);
+ }
+ free (rowbuf);
+ }
Deleted: trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c 2007-11-20 03:14:55 UTC (rev 31321)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c 2007-11-20 03:20:04 UTC (rev 31322)
@@ -1,12 +0,0 @@
---- libplot/z_write.c.orig 2005-09-23 14:16:40.000000000 +0200
-+++ libplot/z_write.c 2005-09-23 13:59:26.000000000 +0200
-@@ -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
-
Copied: trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c.diff (from rev 31319, trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c)
===================================================================
--- trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c.diff (rev 0)
+++ trunk/dports/graphics/plotutils/files/patch-libplot_z_write.c.diff 2007-11-20 03:20:04 UTC (rev 31322)
@@ -0,0 +1,12 @@
+--- libplot/z_write.c.orig 2005-09-23 14:16:40.000000000 +0200
++++ libplot/z_write.c 2005-09-23 13:59:26.000000000 +0200
+@@ -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
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071119/aaaf9deb/attachment-0001.html
More information about the macports-changes
mailing list