diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-31 16:07:06 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-31 16:07:06 +0000 |
commit | 36ebecbedb984c57beefaa3a1d94ca40292a9bf8 (patch) | |
tree | a36737f472c154bb7978f0548323711b10d33540 /media-libs/plotutils/files | |
parent | Fixing file collision with sys-libs/talloc, bug #384873 (diff) | |
download | gentoo-2-36ebecbedb984c57beefaa3a1d94ca40292a9bf8.tar.gz gentoo-2-36ebecbedb984c57beefaa3a1d94ca40292a9bf8.tar.bz2 gentoo-2-36ebecbedb984c57beefaa3a1d94ca40292a9bf8.zip |
old, incompatible with stable png
(Portage version: 2.2.0_alpha71_p73/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/plotutils/files')
5 files changed, 0 insertions, 194 deletions
diff --git a/media-libs/plotutils/files/plotutils-2.4.1-correct_test.patch b/media-libs/plotutils/files/plotutils-2.4.1-correct_test.patch deleted file mode 100644 index 9b92e34e9b37..000000000000 --- a/media-libs/plotutils/files/plotutils-2.4.1-correct_test.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/test/plot2ps.xout 2007-03-13 07:23:11.000000000 +0100 -+++ b//test/plot2ps.xout 2007-03-13 07:23:46.000000000 +0100 -@@ -1,7 +1,6 @@ - %!PS-Adobe-3.0 EPSF-3.0 - %%Creator: GNU libplot drawing library 4.1 - %%Title: PostScript plot --%%CreationDate: Fri Jun 16 21:08:33 2000 - %%DocumentData: Clean7Bit - %%LanguageLevel: 1 - %%Pages: 1 -@@ -294,7 +293,7 @@ - gsave - fgred fggreen fgblue setrgbcolor - /fontDict printFont findfont printSize scalefont dup setfont def --/descender fontDict begin 0 [FontBBox] 1 get FontMatrix end -+/descender fontDict begin 0 fontDict /FontBBox get 1 get FontMatrix end - transform exch pop def - /vertoffset 1 printSize sub descender sub def { - 0 vertoffset moveto show diff --git a/media-libs/plotutils/files/plotutils-2.4.1-gentoo.patch b/media-libs/plotutils/files/plotutils-2.4.1-gentoo.patch deleted file mode 100644 index 136cd060d315..000000000000 --- a/media-libs/plotutils/files/plotutils-2.4.1-gentoo.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- plotutils-2.4.1/libplot/g_write.c~ Fri May 19 18:10:01 2000 -+++ plotutils-2.4.1/libplot/g_write.c Sun Jun 16 03:22:30 2002 -@@ -40,7 +40,7 @@ - } - #ifdef LIBPLOTTER - else if (data->outstream) -- data->outstream->write(c, n); -+ data->outstream->write ((const char*)c, n); - #endif - } - ---- plotutils-2.4.1/libplot/i_rle.c~ Sun Jun 27 18:58:10 1999 -+++ plotutils-2.4.1/libplot/i_rle.c Sun Jun 16 03:22:30 2002 -@@ -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 - ---- plotutils-2.4.1/libplot/n_write.c~ Fri Jun 16 07:42:13 2000 -+++ plotutils-2.4.1/libplot/n_write.c Sun Jun 16 03:22:30 2002 -@@ -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); - } ---- plotutils-2.4.1/libplot/z_write.c~ Tue Jun 20 06:34:42 2000 -+++ plotutils-2.4.1/libplot/z_write.c Sun Jun 16 03:22:30 2002 -@@ -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 diff --git a/media-libs/plotutils/files/plotutils-2.4.1-rangecheck.patch b/media-libs/plotutils/files/plotutils-2.4.1-rangecheck.patch deleted file mode 100644 index d3346b74ab0a..000000000000 --- a/media-libs/plotutils/files/plotutils-2.4.1-rangecheck.patch +++ /dev/null @@ -1,38 +0,0 @@ -*** plotutils-2.4.1/graph/plotter.c.orig Thu Mar 2 22:05:24 2000
---- plotutils-2.4.1/graph/plotter.c Tue Apr 29 01:48:09 2003
-***************
-*** 1045,1051 ****
- multigrapher->x_trans.output_min = 0.0;
- multigrapher->x_trans.output_max = (double)PLOT_SIZE;
- multigrapher->x_trans.output_range = multigrapher->x_trans.output_max - multigrapher->x_trans.output_min;
-! multigrapher->x_trans.output_min = 0.0;
- multigrapher->y_trans.output_max = (double)PLOT_SIZE;
- multigrapher->y_trans.output_range = multigrapher->y_trans.output_max - multigrapher->y_trans.output_min;
-
---- 1045,1051 ----
- multigrapher->x_trans.output_min = 0.0;
- multigrapher->x_trans.output_max = (double)PLOT_SIZE;
- multigrapher->x_trans.output_range = multigrapher->x_trans.output_max - multigrapher->x_trans.output_min;
-! multigrapher->y_trans.output_min = 0.0;
- multigrapher->y_trans.output_max = (double)PLOT_SIZE;
- multigrapher->y_trans.output_range = multigrapher->y_trans.output_max - multigrapher->y_trans.output_min;
-
-*** plotutils-2.4.1/libplot/p_header.h.orig Mon Sep 6 01:08:46 1999
---- plotutils-2.4.1/libplot/p_header.h Wed Dec 3 23:43:54 2003
-***************
-*** 288,294 ****
- gsave\n\
- fgred fggreen fgblue setrgbcolor\n\
- /fontDict printFont findfont printSize scalefont dup setfont def\n\
-! /descender fontDict begin 0 [FontBBox] 1 get FontMatrix end\n\
- transform exch pop def\n\
- /vertoffset 1 printSize sub descender sub def {\n\
- 0 vertoffset moveto show\n\
---- 288,294 ----
- gsave\n\
- fgred fggreen fgblue setrgbcolor\n\
- /fontDict printFont findfont printSize scalefont dup setfont def\n\
-! /descender fontDict begin 0 fontDict /FontBBox get 1 get FontMatrix end\n\
- transform exch pop def\n\
- /vertoffset 1 printSize sub descender sub def {\n\
- 0 vertoffset moveto show\n\
diff --git a/media-libs/plotutils/files/plotutils-2.5-rangecheck.patch b/media-libs/plotutils/files/plotutils-2.5-rangecheck.patch deleted file mode 100644 index 16dd2cd07738..000000000000 --- a/media-libs/plotutils/files/plotutils-2.5-rangecheck.patch +++ /dev/null @@ -1,19 +0,0 @@ -*** plotutils-2.4.1/graph/plotter.c.orig Thu Mar 2 22:05:24 2000
---- plotutils-2.4.1/graph/plotter.c Tue Apr 29 01:48:09 2003
-***************
-*** 1045,1051 ****
- multigrapher->x_trans.output_min = 0.0;
- multigrapher->x_trans.output_max = (double)PLOT_SIZE;
- multigrapher->x_trans.output_range = multigrapher->x_trans.output_max - multigrapher->x_trans.output_min;
-! multigrapher->x_trans.output_min = 0.0;
- multigrapher->y_trans.output_max = (double)PLOT_SIZE;
- multigrapher->y_trans.output_range = multigrapher->y_trans.output_max - multigrapher->y_trans.output_min;
-
---- 1045,1051 ----
- multigrapher->x_trans.output_min = 0.0;
- multigrapher->x_trans.output_max = (double)PLOT_SIZE;
- multigrapher->x_trans.output_range = multigrapher->x_trans.output_max - multigrapher->x_trans.output_min;
-! multigrapher->y_trans.output_min = 0.0;
- multigrapher->y_trans.output_max = (double)PLOT_SIZE;
- multigrapher->y_trans.output_range = multigrapher->y_trans.output_max - multigrapher->y_trans.output_min;
-
diff --git a/media-libs/plotutils/files/plotutils-2.5.1-fix-tests.patch b/media-libs/plotutils/files/plotutils-2.5.1-fix-tests.patch deleted file mode 100644 index 889c2b2b374c..000000000000 --- a/media-libs/plotutils/files/plotutils-2.5.1-fix-tests.patch +++ /dev/null @@ -1,29 +0,0 @@ -Source: Santiago M. Mola <coldwind@gentoo.org> -Upstream: Sent. -Reason: Reference test results are outdated.(Gentoo bug #238818). ---- plotutils-2.5.1.orig/test/plot2ps.xout 2008-09-26 23:48:15.000000000 +0200 -+++ plotutils-2.5.1/test/plot2ps.xout 2008-09-26 23:48:35.000000000 +0200 -@@ -1,5 +1,5 @@ - %!PS-Adobe-3.0 EPSF-3.0 --%%Creator: GNU libplot drawing library 4.2 -+%%Creator: GNU libplot drawing library 4.3 - %%Title: PostScript plot - %%CreationDate: Fri Dec 9 13:09:44 2005 - %%DocumentData: Clean7Bit -diff -ur plotutils-2.5.1.orig/test/plot2svg.xout plotutils-2.5.1/test/plot2svg.xout ---- plotutils-2.5.1.orig/test/plot2svg.xout 2008-09-26 23:48:15.000000000 +0200 -+++ plotutils-2.5.1/test/plot2svg.xout 2008-09-26 23:57:27.000000000 +0200 -@@ -2,10 +2,10 @@ - <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> - <svg version="1.1" baseProfile="full" id="body" width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"> - <title>SVG drawing</title> --<desc>This was produced by version 4.2 of GNU libplot, a free library for exporting 2-D vector graphics.</desc> -+<desc>This was produced by version 4.3 of GNU libplot, a free library for exporting 2-D vector graphics.</desc> - <rect id="background" x="0" y="0" width="1" height="1" stroke="none" fill="white"/> --<g id="content" transform="translate(0,1) scale(1,-1) scale(0.00024414) " xml:space="preserve" stroke="black" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10.433" stroke-dasharray="none" stroke-dashoffset="0" stroke-opacity="1" fill="none" fill-rule="even-odd" fill-opacity="1" font-style="normal" font-variant="normal" font-weight="normal" font-stretch="normal" font-size-adjust="none" letter-spacing="normal" word-spacing="normal" text-anchor="start"> --<text transform="translate(2048,3222.5) scale(1,-1) " font-family="Times-Roman,Times,serif" font-size="184.32px" text-anchor="middle" alignment-baseline="text-after-edge" stroke="none" fill="black" >A Sample Plot</text> -+<g id="content" transform="translate(0,1) scale(1,-1) scale(0.00024414) " xml:space="preserve" stroke="black" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10.433" stroke-dasharray="none" stroke-dashoffset="0" stroke-opacity="1" fill="none" fill-rule="evenodd" fill-opacity="1" font-style="normal" font-variant="normal" font-weight="normal" font-stretch="normal" font-size-adjust="none" letter-spacing="normal" word-spacing="normal" text-anchor="start"> -+<text transform="translate(2048,3262.7) scale(1,-1) scale(9.216) " font-family="Times-Roman,Times,serif" font-size="20px" text-anchor="middle" stroke="none" fill="black" >A Sample Plot</text> - <rect x="1024" y="1024" width="2048" height="2048" stroke-width="4.8188" /> - <polyline points="1001.7,946.04 1001.7,886.46 994.21,882.73 " stroke-width="5.2876" stroke-linecap="round" stroke-linejoin="round" /> - <polyline points="1005.4,942.31 1005.4,886.46 1016.6,879.01 " stroke-width="5.2876" stroke-linecap="round" stroke-linejoin="round" /> |