diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-02-26 14:22:33 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-02-26 14:22:33 +0000 |
commit | e48bd7d2cd3bd826aab86deb2b31e3a9f0642503 (patch) | |
tree | 8de5e277a2c24dc48a46fb3273aef77a901c95ca /sci-visualization/gnuplot/files | |
parent | version bump: CVS snapshot from upstream to fix bug 144081, reported by DMoL... (diff) | |
download | historical-e48bd7d2cd3bd826aab86deb2b31e3a9f0642503.tar.gz historical-e48bd7d2cd3bd826aab86deb2b31e3a9f0642503.tar.bz2 historical-e48bd7d2cd3bd826aab86deb2b31e3a9f0642503.zip |
Added patch to fix problems with failing tests on amd64 (see bug #159653).
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'sci-visualization/gnuplot/files')
-rw-r--r-- | sci-visualization/gnuplot/files/digest-gnuplot-4.0-r2 | 3 | ||||
-rw-r--r-- | sci-visualization/gnuplot/files/gnuplot-4.0-filled-arrow.patch | 41 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/digest-gnuplot-4.0-r2 b/sci-visualization/gnuplot/files/digest-gnuplot-4.0-r2 new file mode 100644 index 000000000000..81d4b623b0c0 --- /dev/null +++ b/sci-visualization/gnuplot/files/digest-gnuplot-4.0-r2 @@ -0,0 +1,3 @@ +MD5 66258443d9f93cc4f46b147dac33e63a gnuplot-4.0.0.tar.gz 2160918 +RMD160 7b1fc84c161c132c776269b6e9a49abd29251a18 gnuplot-4.0.0.tar.gz 2160918 +SHA256 a77ad7cb08b2551dacbaa0bb02e561fddb6b9f4a0f3d45eb1c38be219955ea48 gnuplot-4.0.0.tar.gz 2160918 diff --git a/sci-visualization/gnuplot/files/gnuplot-4.0-filled-arrow.patch b/sci-visualization/gnuplot/files/gnuplot-4.0-filled-arrow.patch new file mode 100644 index 000000000000..f20970926355 --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-4.0-filled-arrow.patch @@ -0,0 +1,41 @@ +diff -Naur gnuplot-4.0.0/src/term.c gnuplot-4.0.0-new/src/term.c +--- gnuplot-4.0.0/src/term.c 2004-04-13 13:24:02.000000000 -0400 ++++ gnuplot-4.0.0-new/src/term.c 2007-01-21 12:14:08.000000000 -0500 +@@ -927,7 +927,7 @@ + ym = (int) (dy2 + backlen * sin( phi + beta )); + } + #ifdef PM3D +- if (curr_arrow_headfilled==2) { ++ if (curr_arrow_headfilled==2 && !clip_point(ex,ey)) { + /* draw filled forward arrow head */ + filledhead[0].x = ex + xm; + filledhead[0].y = ey + ym; +@@ -939,7 +939,8 @@ + filledhead[3].y = ey + y2; + filledhead[4].x = ex + xm; + filledhead[4].y = ey + ym; +- (*t->filled_polygon) (5, filledhead); ++ if (t->filled_polygon) ++ (*t->filled_polygon) (5, filledhead); + } + #endif + /* draw outline of forward arrow head */ +@@ -956,7 +957,7 @@ + } + if (head == 2) { /* backward arrow head */ + #ifdef PM3D +- if (curr_arrow_headfilled==2) { ++ if (curr_arrow_headfilled==2 && !clip_point(sx,sy)) { + /* draw filled backward arrow head */ + filledhead[0].x = sx - xm; + filledhead[0].y = sy - ym; +@@ -968,7 +969,8 @@ + filledhead[3].y = sy - y2; + filledhead[4].x = sx - xm; + filledhead[4].y = sy - ym; +- (*t->filled_polygon) (5, filledhead); ++ if (t->filled_polygon) ++ (*t->filled_polygon) (5, filledhead); + } + #endif + /* draw outline of backward arrow head */ |