diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch')
-rw-r--r-- | dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch b/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch new file mode 100644 index 000000000000..db5b69ce2db9 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/753299 +--- a/testsuite/lib/libffi.exp ++++ b/testsuite/lib/libffi.exp +@@ -287,9 +287,6 @@ proc libffi-init { args } { + verbose "libffi $blddirffi" + + # Which compiler are we building with? +- set tmp [grep "$blddirffi/config.log" "^ax_cv_c_compiler_vendor.*$"] +- regexp -- {^[^=]*=(.*)$} $tmp nil compiler_vendor +- + if { [string match $compiler_vendor "gnu"] } { + set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a] + if {$gccdir != ""} { +--- a/configure.ac ++++ b/configure.ac +@@ -59,6 +59,7 @@ fi + cat > local.exp <<EOF + set CC_FOR_TARGET "$CC" + set CXX_FOR_TARGET "$CXX" ++set compiler_vendor "$ax_cv_c_compiler_vendor" + EOF + + AM_MAINTAINER_MODE +--- a/configure ++++ b/configure +@@ -17402,6 +17402,7 @@ fi + cat > local.exp <<EOF + set CC_FOR_TARGET "$CC" + set CXX_FOR_TARGET "$CXX" ++set compiler_vendor "$ax_cv_c_compiler_vendor" + EOF + + |