commit:     514bb15cc632a995579fe881184b00543639e745
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri May  3 11:26:04 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri May  3 11:26:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514bb15c

app-emulation/plus42: properly call $AR

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

 app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch | 5 ++---
 1 file 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

Reply via email to