summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-12-15 19:39:17 +0100
committerMartin Väth <martin@mvath.de>2016-12-15 19:39:17 +0100
commitdafc224393fac2b59a1f8152bc34d26642833887 (patch)
treed6548f63a8f94e5955f88739209fef1d517d7955
parentapp-shells/schily-tools: Version bump (diff)
downloadmv-dafc224393fac2b59a1f8152bc34d26642833887.tar.gz
mv-dafc224393fac2b59a1f8152bc34d26642833887.tar.bz2
mv-dafc224393fac2b59a1f8152bc34d26642833887.zip
sci-mathematics/reduce: Fix compilation with gcc-6
-rwxr-xr-xsci-mathematics/reduce/files/csl2
-rwxr-xr-xsci-mathematics/reduce/files/redcsl2
-rw-r--r--sci-mathematics/reduce/reduce-20141130-r1.ebuild2
3 files changed, 4 insertions, 2 deletions
diff --git a/sci-mathematics/reduce/files/csl b/sci-mathematics/reduce/files/csl
index 895b6bd8..4542b530 100755
--- a/sci-mathematics/reduce/files/csl
+++ b/sci-mathematics/reduce/files/csl
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/lib/reduce/csl $*
+exec /usr/lib/reduce/csl "$@"
diff --git a/sci-mathematics/reduce/files/redcsl b/sci-mathematics/reduce/files/redcsl
index ff40e3e0..2b02b14c 100755
--- a/sci-mathematics/reduce/files/redcsl
+++ b/sci-mathematics/reduce/files/redcsl
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/lib/reduce/reduce $*
+exec /usr/lib/reduce/reduce "$@"
diff --git a/sci-mathematics/reduce/reduce-20141130-r1.ebuild b/sci-mathematics/reduce/reduce-20141130-r1.ebuild
index 9bb675b1..cec32d89 100644
--- a/sci-mathematics/reduce/reduce-20141130-r1.ebuild
+++ b/sci-mathematics/reduce/reduce-20141130-r1.ebuild
@@ -31,6 +31,8 @@ DEPEND="${RDEPEND}"
src_prepare() {
sed -i -e '2iecho gentoo; exit' -- "${S}"/scripts/findos.sh
# sed -i -e 's/\${l}/"\${l}"/g' -- "${S}"/scripts/make.sh
+ sed -i -e 's/static char unmapTable/static unsigned char unmapTable/' \
+ -- "${S}"/csl/fox/src/FXShowMath.cpp
eapply_user
}