Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1544 Details for
Bug 3359
gnuplot failure on fresh gcc-3.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
_really_ makes gcc-3.1 compile plotutils
(text/plain), 3.26 KB, created by
Johannes Günther
on 2002-06-15 21:35:45 UTC
(
hide
)
Description:
_really_ makes gcc-3.1 compile plotutils
Filename:
MIME Type:
Creator:
Johannes Günther
Created:
2002-06-15 21:35:45 UTC
Size:
3.26 KB
patch
obsolete
>------------EhZE2W2KIy8jWZ1FeVrhxN >Content-Disposition: attachment; filename="plotutils-2.4.1-r1.ebuild.patch" >Content-Type: application/octet-stream > >--- media-libs/plotutils/plotutils-2.4.1-r1.ebuild~ Sun Jun 16 03:27:13 2002 >+++ media-libs/plotutils/plotutils-2.4.1-r1.ebuild Sun Jun 16 03:27:29 2002 >@@ -23,6 +23,11 @@ > media-libs/libpng > X? ( virtual/x11 )" > >+src_unpack() { >+ unpack ${A} ; cd ${S} >+ patch -p1 <${FILESDIR}/${P}-gcc-3.1.patch || die >+} >+ > src_compile() { > > #enable build of C++ version > >------------EhZE2W2KIy8jWZ1FeVrhxN >Content-Disposition: attachment; filename="plotutils-2.4.1-gcc-3.1.patch" >Content-Type: application/octet-stream > >--- 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 > >------------EhZE2W2KIy8jWZ1FeVrhxN--
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3359
:
1543
| 1544