summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-03-25 20:55:05 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-04-21 18:35:14 +0200
commita41f166f29ca3995195e2e3179cc868a18cf8310 (patch)
tree3ae4c66ddcadcb20f89cfa4cbf6930a83ca5c320 /net-libs/libproxy/files
parentdev-ml/base: use github archive (diff)
downloadgentoo-a41f166f29ca3995195e2e3179cc868a18cf8310.tar.gz
gentoo-a41f166f29ca3995195e2e3179cc868a18cf8310.tar.bz2
gentoo-a41f166f29ca3995195e2e3179cc868a18cf8310.zip
net-libs/libproxy: Enable mozjs detection
Closes: https://bugs.gentoo.org/811858 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24750 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-libs/libproxy/files')
-rw-r--r--net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch b/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch
new file mode 100644
index 000000000000..cf31c77ae53f
--- /dev/null
+++ b/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch
@@ -0,0 +1,15 @@
+Enable mozjs detection.
+Backported from https://github.com/libproxy/libproxy/commit/66b30ef388a45f66f9b118d51cc76b53fdb8bbf4
+Bug: https://bugs.gentoo.org/811858
+
+--- a/libproxy/cmake/modules.cmk
++++ b/libproxy/cmake/modules.cmk
+@@ -44,7 +44,7 @@ if(NM_FOUND)
+ set(NM_BUILD 1)
+ endif(NM_FOUND)
+ px_module(network_networkmanager "${NM_BUILD}" 0 ${NM_LIBRARIES})
+-px_module(pacrunner_mozjs 0 ${BIPR} ${MOZJS_LIBRARIES})
++px_module(pacrunner_mozjs "${MOZJS_FOUND}" ${BIPR} ${MOZJS_LIBRARIES})
+ px_module(pacrunner_natus "${NATUS_FOUND}" ${BIPR} ${NATUS_LIBRARIES})
+ px_module(pacrunner_webkit "${WEBKIT_FOUND}" ${BIPR} ${WEBKIT_LIBRARIES})
+ px_module(wpad_dns_alias 1 1)