Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47688 - plotutils (graph) postscript output (-T ps) generates rangecheck in gs
Summary: plotutils (graph) postscript output (-T ps) generates rangecheck in gs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 04:23 UTC by Tim Northover
Modified: 2004-04-26 03:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Northover 2004-04-13 04:23:04 UTC
When using graph to output a postscript file, the file is generated but gs (& gv etc) throw a rangecheck exception. I've found a patch that

Reproducible: Always
Steps to Reproduce:
1. echo 0 1 2 3 4 5 | graph -T ps > tmp.ps
2. gv tmp.ps
3.

Actual Results:  
A rangecheck exception in get, apparantly.

Expected Results:  
displayed a straight line graph through the points (0,1), (2,3), (4,5)

The following URL has a patch that corrects the problem on my system (with
explanation):
http://mail.gnu.org/archive/html/bug-gnu-utils/2003-12/msg00023.html

URL of patch:
http://mail.gnu.org/archive/html/bug-gnu-utils/2003-12/txt00003.txt

I'm sorry, I didn't feel confident modifying the ebuild myself, I'll get round
to learning how to do that soon.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-26 03:01:02 UTC
thx, added the patch to -r3