diff options
author | 2020-12-05 14:45:55 +0100 | |
---|---|---|
committer | 2020-12-05 14:45:55 +0100 | |
commit | f682fed75c79293cebc23e5c0e0d9cf4255dd541 (patch) | |
tree | 8a2954a30c698b1114931e56681e99c416edc94c | |
parent | winnt: die if libtool version is not 2.4.6+ (diff) | |
download | elt-patches-f682fed75c79293cebc23e5c0e0d9cf4255dd541.tar.gz elt-patches-f682fed75c79293cebc23e5c0e0d9cf4255dd541.tar.bz2 elt-patches-f682fed75c79293cebc23e5c0e0d9cf4255dd541.zip |
darwin20-conf: add patch for detection of newer macOS20201205
Make sure we act like previous release on darwin20, a.k.a. Big Sur 11.0.
Bug: https://bugs.gentoo.org/758473
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | eltpatch.in | 4 | ||||
-rw-r--r-- | patches/darwin20-conf/2.4.6 | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/eltpatch.in b/eltpatch.in index e12f754..0765d49 100644 --- a/eltpatch.in +++ b/eltpatch.in @@ -173,7 +173,7 @@ elibtoolize() { case ${CHOST} in *-aix*) elt_patches+=" hardcode aixrtl" ;; #213277 - *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;; + *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf darwin20-conf" ;; *-solaris*) elt_patches+=" sol2-conf sol2-ltmain" ;; *-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;; *-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;; @@ -400,7 +400,7 @@ elibtoolize() { fi done ;; - mint-conf|gold-conf|sol2-conf) + mint-conf|gold-conf|sol2-conf|darwin20-conf) ELT_walk_patches "${d}/configure" "${p}" ret=$? ;; diff --git a/patches/darwin20-conf/2.4.6 b/patches/darwin20-conf/2.4.6 new file mode 100644 index 0000000..2a296a4 --- /dev/null +++ b/patches/darwin20-conf/2.4.6 @@ -0,0 +1,13 @@ +macOS Big Sur is 11.0, Darwin 20, after a long line of 10.X releases. + +--- configure ++++ configure +@@ -1076,7 +1076,7 @@ + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + 10.[[012]][[,.]]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; +- 10.*) ++ 10.*|11.*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + esac + ;; |