summaryrefslogtreecommitdiff
path: root/net/sniffit/patches
diff options
context:
space:
mode:
authorsnj <snj>2004-03-13 20:51:01 +0000
committersnj <snj>2004-03-13 20:51:01 +0000
commit53ca665eb7ef506f1c6e65b5e65ee4afe36d2d72 (patch)
treefe90e398c3874ab6fd628a8c7cee14fc7101a020 /net/sniffit/patches
parent47a65561074df1c7b46da04cd53a111235ef8b2c (diff)
downloadpkgsrc-53ca665eb7ef506f1c6e65b5e65ee4afe36d2d72.tar.gz
Fix build on architectures where unsigned long int > 4.
Diffstat (limited to 'net/sniffit/patches')
-rw-r--r--net/sniffit/patches/patch-ab35
1 files changed, 22 insertions, 13 deletions
diff --git a/net/sniffit/patches/patch-ab b/net/sniffit/patches/patch-ab
index 3185de031e3..528fb1880ef 100644
--- a/net/sniffit/patches/patch-ab
+++ b/net/sniffit/patches/patch-ab
@@ -1,19 +1,28 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 11:10:57 agc Exp $
+$NetBSD: patch-ab,v 1.3 2004/03/13 20:51:01 snj Exp $
---- configure.BAK Mon Mar 30 09:33:48 1998
-+++ configure Mon Mar 30 09:33:55 1998
-@@ -1304,6 +1304,14 @@
- OS_OPT=
-
- ;;
-+netbsd*)
-+ cat >> confdefs.h <<\EOF
-+#define NETBSD 1
+--- configure.orig Fri Apr 18 02:33:57 1997
++++ configure Sat Mar 13 12:28:20 2004
+@@ -996,7 +996,7 @@
+ EOF
+
+
+-if test $ac_cv_sizeof_unsigned_long_int -ne 4; then
++if test $ac_cv_sizeof_unsigned_long_int -lt 4; then
+ echo "unisigned short is NOT 4 bytes... quiting"
+ exit
+ fi
+@@ -1299,6 +1299,14 @@
+ freebsd*)
+ cat >> confdefs.h <<\EOF
+ #define FREEBSD 1
+EOF
+
+ OS_OPT=
+
+ ;;
- *)
- echo "NOT A SUPPORTED SYSTEM / OR SYSTEM NOT RECOGNISED"
- echo "Contact <Coder@reptile.rug.ac.be> if you feel it might be a bug."
++netbsd*)
++ cat >> confdefs.h <<\EOF
++#define NETBSD 1
+ EOF
+
+ OS_OPT=