Skip to content

Commit

Permalink
sys-devel/libtool-2.4.6: add macOS Big Sur patch
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
grobian committed Dec 5, 2020
1 parent 98f08fc commit 058248d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sys-devel/libtool/files/libtool-2.4.6-darwin20.patch
Original file line number Diff line number Diff line change
@@ -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
;;
1 change: 1 addition & 0 deletions sys-devel/libtool/libtool-2.4.6-r6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 058248d

Please sign in to comment.