summaryrefslogtreecommitdiff
path: root/security/tor-browser/hacks.mk
diff options
context:
space:
mode:
authorryoon <ryoon>2016-02-14 07:30:54 +0000
committerryoon <ryoon>2016-02-14 07:30:54 +0000
commit5edcaf4b1c3589d074dc7a0b3e6fc39e166135ad (patch)
tree2c7586de3352d694a7a5b121458313a161a1698f /security/tor-browser/hacks.mk
parent888d604dc433c0702932c159caf5e1a58684b915 (diff)
downloadpkgsrc-5edcaf4b1c3589d074dc7a0b3e6fc39e166135ad.tar.gz
Import tor-browser-5.5.2 as security/tor-browser.
What is the Tor Browser? The Tor software protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, it prevents the sites you visit from learning your physical location, and it lets you access sites which are blocked.
Diffstat (limited to 'security/tor-browser/hacks.mk')
-rw-r--r--security/tor-browser/hacks.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/tor-browser/hacks.mk b/security/tor-browser/hacks.mk
new file mode 100644
index 00000000000..59ea344674a
--- /dev/null
+++ b/security/tor-browser/hacks.mk
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2016/02/14 07:30:54 ryoon Exp $
+
+.if !defined(XULRUNNER_HACKS_MK)
+XULRUNNER_HACKS_MK= defined
+
+.include "../../mk/bsd.fast.prefs.mk"
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+= -Wno-return-type-c-linkage
+.endif
+
+.endif # XULRUNNER_HACKS_MK