summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-05-03 13:26:04 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-05-03 13:26:40 +0200
commit514bb15cc632a995579fe881184b00543639e745 (patch)
tree99bdb36bd0c1dbb4fc1e4e722ee734ef61f17af3 /app-emulation
parentapp-emulation/free42: properly use $AR (diff)
downloadgentoo-514bb15cc632a995579fe881184b00543639e745.tar.gz
gentoo-514bb15cc632a995579fe881184b00543639e745.tar.bz2
gentoo-514bb15cc632a995579fe881184b00543639e745.zip
app-emulation/plus42: properly call $AR
Closes: https://bugs.gentoo.org/931079 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch b/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
index 283c6c1435be..304f20ec83b2 100644
--- a/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
+++ b/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
@@ -15,7 +15,7 @@ diff -Naur free42-nologo-3.0.16.orig/gtk/build-intel-lib.sh free42-nologo-3.0.16
# Hack to support FreeBSD; not 100% sure what this does, but it produces a
# library that passes all tests.
-@@ -64,8 +57,11 @@
+@@ -64,8 +57,10 @@
;;
esac
@@ -23,8 +23,7 @@ diff -Naur free42-nologo-3.0.16.orig/gtk/build-intel-lib.sh free42-nologo-3.0.16
+
cd LIBRARY
-$MK $OS_ARG CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
-+echo $MK $OS_ARG A=a CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
-+$MK $OS_ARG A=a CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
++$MK $OS_ARG A=a AR_CMD="$AR rv" CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
mv libbid.a ../../gcc111libbid.a
cd ../..
( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc