X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-repos%2Fpackages.git;a=blobdiff_plain;f=demian%2Fnmap%2Finet_aton.patch;fp=demian%2Fnmap%2Finet_aton.patch;h=42fc309c69b856ee58f2b5eee2ec251a3fd29edf;hp=0000000000000000000000000000000000000000;hb=f0cf5d9bdce8c606167c114b5ba06792a200b957;hpb=19e8a11f5a1789f804a1b0cb43b1d0c34bf5916c diff --git a/demian/nmap/inet_aton.patch b/demian/nmap/inet_aton.patch new file mode 100755 index 0000000..42fc309 --- /dev/null +++ b/demian/nmap/inet_aton.patch @@ -0,0 +1,30 @@ +diff -u old/nmap.h new/nmap.h +--- old/nmap.h 2002-10-27 18:58:44.000000000 -0600 ++++ new/nmap.h 2002-10-27 18:24:04.000000000 -0600 +@@ -362,9 +362,9 @@ + void skid_output(unsigned char *s); + + /* From glibc 2.0.6 because Solaris doesn't seem to have this function */ +-#ifndef HAVE_INET_ATON ++/*#ifndef HAVE_INET_ATON + int inet_aton(register const char *, struct in_addr *); +-#endif ++#endif*/ + #ifndef HAVE_SNPRINTF + int snprintf ( char *str, size_t n, const char *format, ... ); + #endif +diff -u old/tcpip.h new/tcpip.h +--- old/tcpip.h 2002-10-27 18:58:59.000000000 -0600 ++++ new/tcpip.h 2002-10-27 18:24:04.000000000 -0600 +@@ -354,9 +354,9 @@ + /* Hex dump */ + int get_link_offset(char *device); + char *readip_pcap(pcap_t *pd, unsigned int *len, long to_usec); +-#ifndef HAVE_INET_ATON ++/*#ifndef HAVE_INET_ATON + int inet_aton(register const char *, struct in_addr *); +-#endif ++#endif*/ + + + #endif /*TCPIP_H*/