net/nmap: update nmap to 5.35DC1

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22620 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul
2010-08-13 15:13:18 +00:00
parent 76e639d0a7
commit ca11757e4e
3 changed files with 28 additions and 34 deletions

View File

@ -1,17 +1,11 @@
#
# 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. */
--- a/output.cc
+++ b/output.cc
@@ -2240,7 +2240,7 @@ struct data_file_record {
/* Compares this record to another. First compare the directory names, then
compare the file names. */
- bool operator<(const struct data_file_record &other) {
+ bool operator<(const struct data_file_record &other) const {
int cmp;
cmp = dir.compare(other.dir);