From 19a10140592052698d68be11db5a59bc88fcf528 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Aug 2022 08:36:10 +0100 Subject: gentoo auto-resync : 19:08:2022 - 08:36:10 --- .../files/git-2.37.2-darwin-prefix-gettext.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-vcs/git/files/git-2.37.2-darwin-prefix-gettext.patch (limited to 'dev-vcs/git/files') diff --git a/dev-vcs/git/files/git-2.37.2-darwin-prefix-gettext.patch b/dev-vcs/git/files/git-2.37.2-darwin-prefix-gettext.patch new file mode 100644 index 000000000000..af267347e65e --- /dev/null +++ b/dev-vcs/git/files/git-2.37.2-darwin-prefix-gettext.patch @@ -0,0 +1,22 @@ +Don't examine outside of the prefix for gettext on macOS/Darwin. +https://bugs.gentoo.org/757309 +--- a/config.mak.uname ++++ b/config.mak.uname +@@ -148,17 +148,6 @@ ifeq ($(uname_S),Darwin) + HAVE_NS_GET_EXECUTABLE_PATH = YesPlease + CSPRNG_METHOD = arc4random + +- # Workaround for `gettext` being keg-only and not even being linked via +- # `brew link --force gettext`, should be obsolete as of +- # https://github.com/Homebrew/homebrew-core/pull/53489 +- ifeq ($(shell test -d /usr/local/opt/gettext/ && echo y),y) +- BASIC_CFLAGS += -I/usr/local/include -I/usr/local/opt/gettext/include +- BASIC_LDFLAGS += -L/usr/local/lib -L/usr/local/opt/gettext/lib +- ifeq ($(shell test -x /usr/local/opt/gettext/bin/msgfmt && echo y),y) +- MSGFMT = /usr/local/opt/gettext/bin/msgfmt +- endif +- endif +- + # The builtin FSMonitor on MacOS builds upon Simple-IPC. Both require + # Unix domain sockets and PThreads. + ifndef NO_PTHREADS -- cgit v1.2.3