diff options
Diffstat (limited to 'net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch')
-rw-r--r-- | net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch b/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch new file mode 100644 index 000000000000..5c81dbfe9485 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -143,7 +143,7 @@ + AC_DEFINE(_BSD_SOURCE) + AC_DEFINE(__BSD_SOURCE) + AC_DEFINE(__FAVOR_BSD) +- LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" ++ LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__FAVOR_BSD" + AC_CHECK_HEADERS(net/ethernet.h, \ + LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") + MAN_PREFIX="$prefix/man/man3/" |