commit:     af6f5b33121ad871e9debf8f7c109ef24370a94b
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat May  4 07:54:51 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat May  4 07:55:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6f5b33

app-emulation/free42: also handle unset $AR

Bug: https://bugs.gentoo.org/931146
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 304f20ec83b2..c9cde2fbda2c 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
@@ -23,7 +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
-+$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
++$MK $OS_ARG A=a AR_CMD="${AR:-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

Reply via email to