[BACK]Return to patch-ab CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / sniffit / patches

File: [cvs.NetBSD.org] / pkgsrc / net / sniffit / patches / patch-ab (download)

Revision 1.5, Sat Apr 7 09:23:11 2012 UTC (8 years, 3 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, HEAD
Changes since 1.4: +10 -1 lines

* fixes detection of ncurses.h
* let to exactly use system libpcap (fixes build with newer system libpcap).

Bump PKGREVISION.

$NetBSD: patch-ab,v 1.5 2012/04/07 09:23:11 obache Exp $

--- configure.orig	1997-04-18 09:33:57.000000000 +0000
+++ configure
@@ -538,7 +538,7 @@ ac_config_guess=$ac_aux_dir/config.guess
 ac_config_sub=$ac_aux_dir/config.sub
 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
-subdirs="libpcap-0.3"
+subdirs=
 
 
 # Extract the first word of "gcc", so it can be a program name with args.
@@ -996,7 +996,7 @@ cat >> confdefs.h <<EOF
 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
@@ -1296,7 +1296,7 @@ EOF
 	OS_OPT=
 	
         ;;
-freebsd*)
+freebsd* | dragonfly*)
 	cat >> confdefs.h <<\EOF
 #define FREEBSD 1
 EOF
@@ -1304,6 +1304,14 @@ EOF
 	OS_OPT=
 	
         ;;
+netbsd*)
+	cat >> confdefs.h <<\EOF
+#define NETBSD 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."