Summary: | gnuplot failure on fresh gcc-3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brandon Low (RETIRED) <lostlogic> |
Component: | [OLD] GCC Porting | Assignee: | Brandon Low (RETIRED) <lostlogic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | guj, lostlogic |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
adds an explicit typecast so gcc 3.1 will compile
_really_ makes gcc-3.1 compile plotutils |
Description
Brandon Low (RETIRED)
2002-06-03 15:46:18 UTC
Created attachment 1543 [details, diff]
adds an explicit typecast so gcc 3.1 will compile
I had the same problem but fixed with this patch (it does a typecast in
libplotter/g_write.cc).
Created attachment 1544 [details, diff]
_really_ makes gcc-3.1 compile plotutils
Ohoh, I was too fast and optimistic. The former patch indeed solved that
particular problem, but there were some others (all suffered from typecasts in
write - I am not sure that this is the clean way, but at least you can merge
gnuplot)
So it obsoletes my "1543: adds an explicit typecast so gcc 3.1 will compile"
usage:
- copy "plotutils-2.4.1-gcc-3.1.patch" to
"/usr/portage/media-libs/plotutils/files/"
- patch "plotutils-2.4.1-r1.ebuild"
(e.g.: in "/usr/portage/" do
"patch -p0 < path/to/plotutils-2.4.1-r1.ebuild.patch")
- emerge plotutils
I hope this also works for you.
Thanks I'm testing, if it compiles I"ll go ahead and commit it! done. |