commit:     058248dc0b88843d3537eeefe1a161b973490907
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  5 13:18:51 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Dec  5 15:18:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=058248dc

sys-devel/libtool-2.4.6: add macOS Big Sur patch

Not rev-bumping because this rarely hits, instead elt-patches is solving
this.

Bug: https://bugs.gentoo.org/758473
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/libtool/files/libtool-2.4.6-darwin20.patch | 13 +++++++++++++
 sys-devel/libtool/libtool-2.4.6-r6.ebuild            |  1 +
 2 files changed, 14 insertions(+)

diff --git a/sys-devel/libtool/files/libtool-2.4.6-darwin20.patch 
b/sys-devel/libtool/files/libtool-2.4.6-darwin20.patch
new file mode 100644
index 00000000000..12e87bcbc90
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-darwin20.patch
@@ -0,0 +1,13 @@
+macOS Big Sur is 11.0, Darwin 20, after a long line of 10.X releases.
+
+--- a/m4/libtool.m4
++++ b/m4/libtool.m4
+@@ -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
+     ;;

diff --git a/sys-devel/libtool/libtool-2.4.6-r6.ebuild 
b/sys-devel/libtool/libtool-2.4.6-r6.ebuild
index aa4b7a76057..7a5cc2bf6dc 100644
--- a/sys-devel/libtool/libtool-2.4.6-r6.ebuild
+++ b/sys-devel/libtool/libtool-2.4.6-r6.ebuild
@@ -44,6 +44,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.4.6-mint.patch
        "${FILESDIR}"/${PN}-2.2.6a-darwin-module-bundle.patch
        "${FILESDIR}"/${PN}-2.4.6-darwin-use-linux-version.patch
+       "${FILESDIR}"/${PN}-2.4.6-darwin20.patch
 )
 
 src_prepare() {

Reply via email to