add Added Files:
[hdw-repos/packages.git] / demian / nmap / inet_aton.patch
diff --git a/demian/nmap/inet_aton.patch b/demian/nmap/inet_aton.patch
new file mode 100755 (executable)
index 0000000..42fc309
--- /dev/null
@@ -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*/