summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/gpgmepp/UnpackedTarball_gpgmepp.mk1
-rw-r--r--external/gpgmepp/macos-macports-path.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/external/gpgmepp/UnpackedTarball_gpgmepp.mk b/external/gpgmepp/UnpackedTarball_gpgmepp.mk
index d1b8dfae32eb..d7b7a8ab4dbe 100644
--- a/external/gpgmepp/UnpackedTarball_gpgmepp.mk
+++ b/external/gpgmepp/UnpackedTarball_gpgmepp.mk
@@ -33,5 +33,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,gpgmepp, \
external/gpgmepp/configure.patch \
external/gpgmepp/w32-include.patch \
external/gpgmepp/Wincompatible-function-pointer-types.patch \
+ external/gpgmepp/macos-macports-path.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/gpgmepp/macos-macports-path.patch b/external/gpgmepp/macos-macports-path.patch
new file mode 100644
index 000000000000..de7e8f68e69f
--- /dev/null
+++ b/external/gpgmepp/macos-macports-path.patch
@@ -0,0 +1,11 @@
+--- src/posix-util.c 2023-04-20 07:35:50.000000000 -0400
++++ src/posix-util.c 2023-07-14 17:28:21.000000000 -0400
+@@ -145,7 +145,7 @@
+ the browser interface we should look into some additional
+ fallback paths. */
+ const char *additional_path
+- = "/usr/local/bin:/usr/local/MacGPG2/bin:/opt/homebrew/bin";
++ = "/usr/local/bin:/usr/local/MacGPG2/bin:/opt/homebrew/bin:/opt/local/bin";
+ if (!ret)
+ {
+ ret = walk_path_str (additional_path, pgm);