summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/expat/distinfo3
-rw-r--r--textproc/expat/patches/patch-aa20
2 files changed, 22 insertions, 1 deletions
diff --git a/textproc/expat/distinfo b/textproc/expat/distinfo
index b257425fda7..6549ab44b59 100644
--- a/textproc/expat/distinfo
+++ b/textproc/expat/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2001/08/07 11:16:55 drochner Exp $
+$NetBSD: distinfo,v 1.4 2001/11/22 00:55:48 abs Exp $
SHA1 (expat-1.95.2.tar.gz) = 5705828c7b02d45628a5ec95a75a07fe38a834f1
Size (expat-1.95.2.tar.gz) = 190316 bytes
+SHA1 (patch-aa) = 5068dfd082c4a106c108aaf1227e9b0008be3c99
diff --git a/textproc/expat/patches/patch-aa b/textproc/expat/patches/patch-aa
new file mode 100644
index 00000000000..690ddd93dfc
--- /dev/null
+++ b/textproc/expat/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2001/11/22 00:55:49 abs Exp $
+
+--- configure.orig Thu Nov 22 00:23:29 2001
++++ configure
+@@ -1757,7 +1757,14 @@
+
+
+ if test "$GCC" = yes ; then
+- CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions"
++ CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
++ ${CC-cc} -v >conftest.c 2>&1
++ gcc_pre_fexceptions=`
++ awk '/gcc version/{sub("^[^0-9]*","",$3);if ($3<2.8){print "true"} }' \
++ conftest.c`
++ if [ -z "$gcc_pre_fexceptions" ]; then
++ CFLAGS="$CFLAGS -fexceptions"
++ fi
+ fi
+
+