patch file cleanup... ick.. kaloz you owe me some love
[packages.git] / net / ettercap / patches / 001-cross_compiling.patch
1 diff -urN ettercap-NG-0.7.3/configure ettercap-NG-0.7.3.new/configure
2 --- ettercap-NG-0.7.3/configure 2005-05-27 17:11:45.000000000 +0200
3 +++ ettercap-NG-0.7.3.new/configure     2006-08-21 20:15:07.000000000 +0200
4 @@ -27354,6 +27354,7 @@
5  
6     echo "$as_me:$LINENO: checking for NS_GET32" >&5
7  echo $ECHO_N "checking for NS_GET32... $ECHO_C" >&6
8 +cross_compiling=no
9     if test "$cross_compiling" = yes; then
10    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11  See \`config.log' for more details." >&5
12 diff -urN ettercap-NG-0.7.3/configure.in ettercap-NG-0.7.3.new/configure.in
13 --- ettercap-NG-0.7.3/configure.in      2005-01-13 10:24:28.000000000 +0100
14 +++ ettercap-NG-0.7.3.new/configure.in  2006-08-21 20:13:29.000000000 +0200
15 @@ -236,7 +236,7 @@
16  AC_CHECK_HEADERS(sys/poll.h poll.h sys/select.h)
17  AC_CHECK_HEADERS(sys/cdefs.h)
18  dnl nameser NS_GET32 and so on...
19 -EC_NS_GET()
20 +#EC_NS_GET()
21  
22  dnl ==================================================================
23  dnl   Checks for typedefs, structures, and compiler characteristics.