diff options
Diffstat (limited to 'security/tor-browser/patches/patch-xpcom_build_BinaryPath.h')
-rw-r--r-- | security/tor-browser/patches/patch-xpcom_build_BinaryPath.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/security/tor-browser/patches/patch-xpcom_build_BinaryPath.h b/security/tor-browser/patches/patch-xpcom_build_BinaryPath.h index 95c2c9736bf..6f6c97956a8 100644 --- a/security/tor-browser/patches/patch-xpcom_build_BinaryPath.h +++ b/security/tor-browser/patches/patch-xpcom_build_BinaryPath.h @@ -1,8 +1,8 @@ -$NetBSD: patch-xpcom_build_BinaryPath.h,v 1.1 2019/02/25 15:32:24 wiz Exp $ +$NetBSD: patch-xpcom_build_BinaryPath.h,v 1.2 2019/03/15 11:51:26 wiz Exp $ * Fix build under netbsd-7, PR pkg/52956 ---- xpcom/build/BinaryPath.h.orig 2019-02-23 20:01:00.000000000 +0000 +--- xpcom/build/BinaryPath.h.orig 2019-02-13 14:19:45.000000000 +0000 +++ xpcom/build/BinaryPath.h @@ -21,7 +21,8 @@ defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) @@ -14,16 +14,17 @@ $NetBSD: patch-xpcom_build_BinaryPath.h,v 1.1 2019/02/25 15:32:24 wiz Exp $ #include <sys/stat.h> #endif #include "mozilla/UniquePtr.h" -@@ -164,7 +165,7 @@ class BinaryPath { +@@ -164,7 +165,8 @@ class BinaryPath { } #elif defined(__FreeBSD__) || defined(__DragonFly__) || \ - defined(__FreeBSD_kernel__) || defined(__NetBSD__) -+ defined(__FreeBSD_kernel__) || (defined(__NetBSD__) && defined(KERN_PROC_PATHNAME)) ++ defined(__FreeBSD_kernel__) || \ ++ (defined(__NetBSD__) && defined(KERN_PROC_PATHNAME)) static nsresult Get(char aResult[MAXPATHLEN]) { int mib[4]; mib[0] = CTL_KERN; -@@ -246,6 +247,13 @@ class BinaryPath { +@@ -246,6 +248,13 @@ class BinaryPath { return NS_ERROR_FAILURE; } |