aboutsummaryrefslogtreecommitdiff
path: root/security/nss
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-03-03 02:53:58 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-03-03 02:53:58 +0000
commit6d72e23ca72f537dbe66f2b1f7cc88dfaabc465f (patch)
tree78ea15e24b46534413777e5989d5fed20a4470de /security/nss
parentae457b6948eee09c1c6db4e4ad1142492d95941e (diff)
Notes
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/files/patch-bug125089138
1 files changed, 38 insertions, 0 deletions
diff --git a/security/nss/files/patch-bug1250891 b/security/nss/files/patch-bug1250891
new file mode 100644
index 000000000000..bf8114a92412
--- /dev/null
+++ b/security/nss/files/patch-bug1250891
@@ -0,0 +1,38 @@
+# Drop poisonous -ansi from default *BSD flags
+
+diff --git a/coreconf/FreeBSD.mk b/coreconf/FreeBSD.mk
+--- coreconf/FreeBSD.mk
++++ coreconf/FreeBSD.mk
+@@ -21,7 +21,7 @@ ifeq ($(CPU_ARCH),amd64)
+ CPU_ARCH = x86_64
+ endif
+
+-OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
++OS_CFLAGS = $(DSO_CFLAGS) -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+
+ DSO_CFLAGS = -fPIC
+ DSO_LDOPTS = -shared -Wl,-soname -Wl,$(notdir $@)
+diff --git a/coreconf/NetBSD.mk b/coreconf/NetBSD.mk
+--- coreconf/NetBSD.mk
++++ coreconf/NetBSD.mk
+@@ -26,7 +26,7 @@ else
+ DLL_SUFFIX = so.1.0
+ endif
+
+-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK
++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+
+ OS_LIBS = -lcompat
+
+diff --git a/coreconf/OpenBSD.mk b/coreconf/OpenBSD.mk
+--- coreconf/OpenBSD.mk
++++ coreconf/OpenBSD.mk
+@@ -26,7 +26,7 @@ endif
+
+ DLL_SUFFIX = so.1.0
+
+-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -Wno-switch -pipe -DOPENBSD
++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -Wno-switch -pipe -DOPENBSD
+
+ OS_LIBS =
+