summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-05-03 13:25:34 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-05-03 13:26:40 +0200
commitaaab19078dbaf65174a5104a1e5b1972c454d461 (patch)
tree467858ed9b5c4cc337c40c0e0f1b4356ecfedaca
parentsci-libs/shapelib: add 1.6.0, security bump (diff)
downloadgentoo-aaab19078dbaf65174a5104a1e5b1972c454d461.tar.gz
gentoo-aaab19078dbaf65174a5104a1e5b1972c454d461.tar.bz2
gentoo-aaab19078dbaf65174a5104a1e5b1972c454d461.zip
app-emulation/free42: properly use $AR
Closes: https://bugs.gentoo.org/931084 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch b/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch
index 283c6c1435be..304f20ec83b2 100644
--- a/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch
+++ b/app-emulation/free42/files/free42-3.0.16-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