summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-12-05 14:18:51 +0100
committerFabian Groffen <grobian@gentoo.org>2020-12-05 16:18:18 +0100
commit058248dc0b88843d3537eeefe1a161b973490907 (patch)
tree9802fef3fdc758db31b59920f335db0f3b9578f3 /sys-devel/libtool
parentdev-libs/xmlrpc-c: version bump (diff)
downloadgentoo-058248dc0b88843d3537eeefe1a161b973490907.tar.gz
gentoo-058248dc0b88843d3537eeefe1a161b973490907.tar.bz2
gentoo-058248dc0b88843d3537eeefe1a161b973490907.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r--sys-devel/libtool/files/libtool-2.4.6-darwin20.patch13
-rw-r--r--sys-devel/libtool/libtool-2.4.6-r6.ebuild1
2 files changed, 14 insertions, 0 deletions
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 000000000000..12e87bcbc901
--- /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 aa4b7a76057b..7a5cc2bf6dcb 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() {