diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 09:56:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 09:56:20 +0000 |
commit | 9b55c1bd600df28af7b9f6ee044b714873e19b49 (patch) | |
tree | 9c6d86e5e38b0aed45d07dc73907e9f818783a4d /app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch | |
parent | 61044571b76d87a2eec42d36c9b7addf3e66e000 (diff) |
gentoo auto-resync : 26:02:2023 - 09:56:20
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch')
-rw-r--r-- | app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch b/app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch new file mode 100644 index 000000000000..bebdf3909e81 --- /dev/null +++ b/app-text/mupdf/files/mupdf-1.21.1-fix-url-processing.patch @@ -0,0 +1,25 @@ +From 37757db262425d793b17b63821d9014d3655e50a Mon Sep 17 00:00:00 2001 +From: Sebastian Rasmussen <sebras@gmail.com> +Date: Thu, 1 Dec 2022 00:04:40 +0100 +Subject: [PATCH] gl: Use posix_spawnp() in order to search PATH for binaries. + +--- + platform/gl/gl-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c +index d5ae69c95..271ac43a6 100644 +--- a/platform/gl/gl-main.c ++++ b/platform/gl/gl-main.c +@@ -122,7 +122,7 @@ static void open_browser(const char *uri) + argv[0] = (char*) browser; + argv[1] = (char*) uri; + argv[2] = NULL; +- err = posix_spawn(&pid, browser, NULL, NULL, argv, environ); ++ err = posix_spawnp(&pid, browser, NULL, NULL, argv, environ); + if (err) + fz_warn(ctx, "cannot spawn browser '%s': %s", browser, strerror(err)); + +-- +2.39.1 + |