rename and simplify nmap patches, Makefile cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5349 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
30
net/nmap/patches/01-cross_compile.patch
Normal file
30
net/nmap/patches/01-cross_compile.patch
Normal file
@ -0,0 +1,30 @@
|
||||
#
|
||||
# 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
|
||||
@@ -5765,9 +5765,9 @@
|
||||
|
||||
fi;
|
||||
|
||||
-if test $linux = yes; then
|
||||
- have_libpcap=no
|
||||
-fi
|
||||
+#if test $linux = yes; then
|
||||
+# have_libpcap=no
|
||||
+#fi
|
||||
|
||||
if test $needs_cpp_precomp = yes; then
|
||||
CXXFLAGS="-no-cpp-precomp $CXXFLAGS"
|
||||
@@ -5788,8 +5788,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. */
|
Reference in New Issue
Block a user