pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/sniffit Fix build on architectures where unsigned ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5be614ae2d17
branches:  trunk
changeset: 470962:5be614ae2d17
user:      snj <snj%pkgsrc.org@localhost>
date:      Sat Mar 13 20:51:01 2004 +0000

description:
Fix build on architectures where unsigned long int > 4.

diffstat:

 net/sniffit/distinfo         |   4 ++--
 net/sniffit/patches/patch-ab |  35 ++++++++++++++++++++++-------------
 2 files changed, 24 insertions(+), 15 deletions(-)

diffs (60 lines):

diff -r 11c2a04cb137 -r 5be614ae2d17 net/sniffit/distinfo
--- a/net/sniffit/distinfo      Sat Mar 13 20:20:57 2004 +0000
+++ b/net/sniffit/distinfo      Sat Mar 13 20:51:01 2004 +0000
@@ -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 -r 11c2a04cb137 -r 5be614ae2d17 net/sniffit/patches/patch-ab
--- a/net/sniffit/patches/patch-ab      Sat Mar 13 20:20:57 2004 +0000
+++ b/net/sniffit/patches/patch-ab      Sat Mar 13 20:51:01 2004 +0000
@@ -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@localhost> if you feel it might be a bug."
++netbsd*)
++      cat >> confdefs.h <<\EOF
++#define NETBSD 1
+ EOF
+ 
+       OS_OPT=



Home | Main Index | Thread Index | Old Index