packages/net/nmap/patches/01-cross_compile.patch

18 lines
697 B
Diff
Raw Normal View History

#
# Just assume pcap version is recent enough when cross-compiling
#
diff -ruN nmap-4.01-old/configure nmap-4.01-new/configure
--- nmap-4.01-old/configure 2006-02-02 03:18:42.000000000 +0100
+++ nmap-4.01-new/configure 2006-10-23 22:08:15.000000000 +0200
@@ -5865,8 +5865,8 @@
echo "$as_me:$LINENO: checking if libpcap version is recent enough" >&5
echo $ECHO_N "checking if libpcap version is recent enough... $ECHO_C" >&6
if test "$cross_compiling" = yes; then
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; have_libpcap=no
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; have_libpcap=yes
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */