summaryrefslogtreecommitdiff
path: root/package/libnet/patches/patch-include_config_h_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnet/patches/patch-include_config_h_in')
-rw-r--r--package/libnet/patches/patch-include_config_h_in119
1 files changed, 119 insertions, 0 deletions
diff --git a/package/libnet/patches/patch-include_config_h_in b/package/libnet/patches/patch-include_config_h_in
new file mode 100644
index 000000000..28723c931
--- /dev/null
+++ b/package/libnet/patches/patch-include_config_h_in
@@ -0,0 +1,119 @@
+--- Libnet-1.0.2a.orig/include/config.h.in 2000-05-25 02:28:49.000000000 +0200
++++ Libnet-1.0.2a/include/config.h.in 2009-06-12 21:48:27.000000000 +0200
+@@ -1,14 +1,20 @@
+-/* include/config.h.in. Generated automatically from configure.in by autoheader. */
+-
+-/* Define to empty if the keyword does not work. */
+-#undef const
++/* include/config.h.in. Generated from configure.in by autoheader. */
++/*
++ *
++ * Libnet autoconfiguration acconfig.h file
++ * Copyright (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com>
++ * All rights reserved.
++ *
++ * Process this file with autoheader to produce a config.h file.
++ */
+
+ #undef LIBNET_BSDISH_OS
+ #undef LIBNET_BSD_BYTE_SWAP
+ #undef DLPI_DEV_PREFIX
++#undef LIBNET_FAST_X86_CHECK
++#undef HAVE_SOLARIS
+ #undef HAVE_DEV_DLPI
+ #undef HAVE_SOCKADDR_SA_LEN
+-#undef HAVE_SOLARIS
+ #undef HAVE_DLPI
+ #undef HAVE_PF_PACKET
+ #undef HAVE_STRUCT_IP_CSUM
+@@ -21,23 +27,80 @@
+ #undef LIBNET_BIG_ENDIAN
+ #undef LIBNET_LIL_ENDIAN
+
+-/* Define if you have the strerror function. */
+-#undef HAVE_STRERROR
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H
+
+-/* Define if you have the <net/ethernet.h> header file. */
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
++
++/* Define to 1 if you have the `nsl' library (-lnsl). */
++#undef HAVE_LIBNSL
++
++/* Define to 1 if you have the `socket' library (-lsocket). */
++#undef HAVE_LIBSOCKET
++
++/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H
++
++/* Define to 1 if you have the <net/ethernet.h> header file. */
+ #undef HAVE_NET_ETHERNET_H
+
+-/* Define if you have the <sys/bufmod.h> header file. */
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
++
++/* Define to 1 if you have the `strerror' function. */
++#undef HAVE_STRERROR
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H
++
++/* Define to 1 if you have the <sys/bufmod.h> header file. */
+ #undef HAVE_SYS_BUFMOD_H
+
+-/* Define if you have the <sys/dlpi_ext.h> header file. */
++/* Define to 1 if you have the <sys/dlpi_ext.h> header file. */
+ #undef HAVE_SYS_DLPI_EXT_H
+
+-/* Define if you have the <sys/sockio.h> header file. */
++/* Define to 1 if you have the <sys/sockio.h> header file. */
+ #undef HAVE_SYS_SOCKIO_H
+
+-/* Define if you have the nsl library (-lnsl). */
+-#undef HAVE_LIBNSL
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
+
+-/* Define if you have the socket library (-lsocket). */
+-#undef HAVE_LIBSOCKET
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
++
++/* Name of package */
++#undef PACKAGE
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS
++
++/* Version number of package */
++#undef VERSION
++
++/* Define to empty if `const' does not conform to ANSI C. */
++#undef const