diff options
author | snj <snj@pkgsrc.org> | 2004-03-13 20:51:01 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-03-13 20:51:01 +0000 |
commit | b1533e40d4e202d15d37c58fd5cb194749dce486 (patch) | |
tree | fe90e398c3874ab6fd628a8c7cee14fc7101a020 /net | |
parent | b6d8236032aeb3d1d8030f8dd16534d0c09c5540 (diff) | |
download | pkgsrc-b1533e40d4e202d15d37c58fd5cb194749dce486.tar.gz |
Fix build on architectures where unsigned long int > 4.
Diffstat (limited to 'net')
-rw-r--r-- | net/sniffit/distinfo | 4 | ||||
-rw-r--r-- | net/sniffit/patches/patch-ab | 35 |
2 files changed, 24 insertions, 15 deletions
diff --git a/net/sniffit/distinfo b/net/sniffit/distinfo index 978e40eb90f..4066620a24d 100644 --- a/net/sniffit/distinfo +++ b/net/sniffit/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.6 2002/08/25 21:50:16 jlam Exp $ +$NetBSD: distinfo,v 1.7 2004/03/13 20:51:01 snj Exp $ SHA1 (sniffit.0.3.5.tar.gz) = df9183fca2eec29a56bcfdc68a983c4e7d57bf9d Size (sniffit.0.3.5.tar.gz) = 197255 bytes SHA1 (patch-aa) = 843011bc1b0679485e4df9fec2d2443ba1ef73e0 -SHA1 (patch-ab) = d9fcd1c88c53c1d41cfda040bbcc012ee05e1d44 +SHA1 (patch-ab) = 52ac607b99f30887b56de804eb8d8ee65f45b974 SHA1 (patch-ac) = 8beaedcd40d955095eb30d808f9d38a549aa4db5 SHA1 (patch-ad) = 302391b40bbfe6f218136778738572109be3ce6b SHA1 (patch-ae) = c430e434309135189de7b3e61e4d0a1e63e50426 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= |