summaryrefslogtreecommitdiff
path: root/sysutils/busybox/files/patch-networking_nslookup.c
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2021-01-04 16:16:52 +0000
committerOleksii Samorukov <samm@FreeBSD.org>2021-01-04 16:16:52 +0000
commitd8ef181ea1a51d71abed2eba889006997e3ec208 (patch)
tree2c674e425c6b554d828b3d951bfbdf9c5db32494 /sysutils/busybox/files/patch-networking_nslookup.c
parentAdd gettext-tools to Build dependency in case NLS is disabled. (diff)
sysutils/busybox: Update to 1.32.1
- Update to 1.32.1 and adopt patches to the upstream changes - Enable more applets Approved by: krion Differential Revision: https://reviews.freebsd.org/D27934
Notes
Notes: svn path=/head/; revision=560309
Diffstat (limited to 'sysutils/busybox/files/patch-networking_nslookup.c')
-rw-r--r--sysutils/busybox/files/patch-networking_nslookup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/busybox/files/patch-networking_nslookup.c b/sysutils/busybox/files/patch-networking_nslookup.c
index 5104149fdb83..08bf1836220a 100644
--- a/sysutils/busybox/files/patch-networking_nslookup.c
+++ b/sysutils/busybox/files/patch-networking_nslookup.c
@@ -1,10 +1,12 @@
---- networking/nslookup.c.orig 2019-02-14 13:31:15 UTC
+--- networking/nslookup.c.orig 2021-01-01 13:30:02 UTC
+++ networking/nslookup.c
-@@ -34,6 +34,7 @@
+@@ -34,6 +34,9 @@
//usage: "Name: debian\n"
//usage: "Address: 127.0.0.1\n"
-+#include <netinet/in.h>
++#ifdef __FreeBSD__
++#include <netinet/in.h> /* for struct in_addr */
++#endif
#include <resolv.h>
#include <net/if.h> /* for IFNAMSIZ */
//#include <arpa/inet.h>