From dafc224393fac2b59a1f8152bc34d26642833887 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Thu, 15 Dec 2016 19:39:17 +0100 Subject: sci-mathematics/reduce: Fix compilation with gcc-6 --- sci-mathematics/reduce/files/csl | 2 +- sci-mathematics/reduce/files/redcsl | 2 +- sci-mathematics/reduce/reduce-20141130-r1.ebuild | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sci-mathematics') 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 } -- cgit v1.2.3-18-g5258