summaryrefslogtreecommitdiff
path: root/sci-visualization/gnuplot/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
commit46eedbedafdb0040c37884982d4c775ce277fb7b (patch)
treedb33a91259730be84999e13a8d8168c799f50ac0 /sci-visualization/gnuplot/files
parente23a08d0c97a0cc415aaa165da840b056f93c997 (diff)
gentoo resync : 20.10.2021
Diffstat (limited to 'sci-visualization/gnuplot/files')
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-5.4.2-signed-char.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.2-signed-char.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.2-signed-char.patch
new file mode 100644
index 000000000000..091dbbc88d8a
--- /dev/null
+++ b/sci-visualization/gnuplot/files/gnuplot-5.4.2-signed-char.patch
@@ -0,0 +1,27 @@
+char defaults to unsigned on ARM, causing a test failure.
+Patch from upstream.
+https://bugs.gentoo.org/811927
+https://sourceforge.net/p/gnuplot/bugs/2467/
+
+--- a/src/marching_cubes.h
++++ b/src/marching_cubes.h
+@@ -58,7 +58,7 @@ static const short cube_edge_flags[256]=
+ First official public domain release
+ Version 3.00 dated 8-6-94
+ */
+-static char triangle_table[256][13]=
++static signed char triangle_table[256][13]=
+ {
+ {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
+ { 8, 3, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
+--- a/src/qt_table.h
++++ b/src/qt_table.h
+@@ -10,7 +10,7 @@
+ * collapsed them into quadrangles.
+ * So there is room for improvement in this table.
+ */
+-static char qt_table[256][13] =
++static signed char qt_table[256][13] =
+ {
+ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
+ { 8, 3, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},