aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc33/files
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2003-06-18 05:17:12 +0800
committergerald <gerald@FreeBSD.org>2003-06-18 05:17:12 +0800
commit7d956f2965ce4fd734b5905cf3e19a6442c2b1d1 (patch)
tree9404eea82d74cbc1d3acfe364fa32024b8b27a4d /lang/gcc33/files
parent8a3c8787f68a16ddcc362308b5e0260e3aa2a454 (diff)
downloadfreebsd-ports-gnome-7d956f2965ce4fd734b5905cf3e19a6442c2b1d1.tar.gz
freebsd-ports-gnome-7d956f2965ce4fd734b5905cf3e19a6442c2b1d1.tar.zst
freebsd-ports-gnome-7d956f2965ce4fd734b5905cf3e19a6442c2b1d1.zip
Add bounds-checking support using Herman ten Brugge's patches.
PR: 53395 Submitted by: Dan Nelson <dnelson@allantgroup.com>
Diffstat (limited to 'lang/gcc33/files')
-rw-r--r--lang/gcc33/files/opt.patch-bc11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/gcc33/files/opt.patch-bc b/lang/gcc33/files/opt.patch-bc
new file mode 100644
index 000000000000..024997f4c17c
--- /dev/null
+++ b/lang/gcc33/files/opt.patch-bc
@@ -0,0 +1,11 @@
+--- gcc/bounds/lib/Makefile.orig Tue May 20 16:35:05 2003
++++ gcc/bounds/lib/Makefile Tue May 20 16:35:19 2003
+@@ -14,7 +14,7 @@
+ SUBDIR_INCLUDES = -I../.. -I$(srcdir)/bounds/lib -I$(srcdir) -I$(srcdir)/config -I$(srcdir)/../include
+
+ # Use this on System V.
+-CPPFLAGS = -DUSG
++CPPFLAGS = -DBSD4_2
+
+ .c.o:
+ $(GCC_FOR_TARGET) -Wall $(OPTIMIZE) $(CPPFLAGS) \