summaryrefslogtreecommitdiff
path: root/net-libs/libnet/files
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-02 12:25:46 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-02 12:59:53 +0100
commit16876752e8982ebdef41486aaf9d1d7c9f78fa65 (patch)
tree759b4e6c8f491c32716600470dbd0862bbca8bf9 /net-libs/libnet/files
parent321e690348a96825b038450da15feaadfab1674b (diff)
downloadgentoo-16876752e8982ebdef41486aaf9d1d7c9f78fa65.tar.gz
gentoo-16876752e8982ebdef41486aaf9d1d7c9f78fa65.tar.xz
net-libs/libnet: Old.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-libs/libnet/files')
-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 25ddbc7b110..00000000000
--- 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")
- ;;