Related tdf#155125: add MacPorts to GPG's fallback search on macOS
Change-Id: I52a5031b531dc542b2eea72191a1c240f78820bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154474 Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org>
This commit is contained in:
parent
e4ae409b8e
commit
693411e60c
2 changed files with 12 additions and 0 deletions
1
external/gpgmepp/UnpackedTarball_gpgmepp.mk
vendored
1
external/gpgmepp/UnpackedTarball_gpgmepp.mk
vendored
|
@ -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:
|
||||
|
|
11
external/gpgmepp/macos-macports-path.patch
vendored
Normal file
11
external/gpgmepp/macos-macports-path.patch
vendored
Normal file
|
@ -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);
|
Loading…
Reference in a new issue