summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch')
-rw-r--r--net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
deleted file mode 100644
index 25ddbc7b1104..000000000000
--- a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -157,14 +157,14 @@
- case "$target_os" in
-
- *linux*)
-- AC_DEFINE(_BSD_SOURCE, 1,
-+ AC_DEFINE(_DEFAULT_SOURCE, 1,
- [Define as necessary to "unhide" header symbols.])
-- AC_DEFINE(__BSD_SOURCE, 1,
-+ AC_DEFINE(__DEFAULT_SOURCE, 1,
- [Define as necessary to "unhide" header symbols.])
- AC_DEFINE(__FAVOR_BSD, 1,
- [Define if we should favor the BSD APIs when possible in Linux.])
-
-- LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD"
-+ LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD"
- AC_CHECK_HEADERS(net/ethernet.h, \
- LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H")
- ;;