summaryrefslogtreecommitdiff
path: root/net/gnome-netstatus
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-15 13:27:36 +0000
committerxtraeme <xtraeme>2004-04-15 13:27:36 +0000
commitb83536cdcbd0130836440cae90193bb4dcd65956 (patch)
treeafc5bdfe0105cf91fe702cf3f491475621a4aa82 /net/gnome-netstatus
parentff498ebf826fb95aef2bcd5749c8d014271188d1 (diff)
downloadpkgsrc-b83536cdcbd0130836440cae90193bb4dcd65956.tar.gz
Make this build in FreeBSD, patch stolen from FreeBSD/ports.
Diffstat (limited to 'net/gnome-netstatus')
-rw-r--r--net/gnome-netstatus/distinfo3
-rw-r--r--net/gnome-netstatus/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/net/gnome-netstatus/distinfo b/net/gnome-netstatus/distinfo
index 25187e937b5..b8198393bba 100644
--- a/net/gnome-netstatus/distinfo
+++ b/net/gnome-netstatus/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/01 19:09:47 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2004/04/15 13:27:36 xtraeme Exp $
SHA1 (gnome-netstatus-2.6.0.tar.bz2) = 3bdaf17ee7d4cb2b0c130a72d886921c9c09e766
Size (gnome-netstatus-2.6.0.tar.bz2) = 410334 bytes
+SHA1 (patch-aa) = dc0d62809c63b9b48c37a5a534fc48034f18e739
diff --git a/net/gnome-netstatus/patches/patch-aa b/net/gnome-netstatus/patches/patch-aa
new file mode 100644
index 00000000000..c6616208574
--- /dev/null
+++ b/net/gnome-netstatus/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2004/04/15 13:27:36 xtraeme Exp $
+
+--- src/netstatus-iface.c.orig Mon Mar 22 17:49:17 2004
++++ src/netstatus-iface.c Mon Mar 22 17:50:12 2004
+@@ -32,6 +32,8 @@
+
+ #include <libgnome/gnome-i18n.h>
+
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <sys/ioctl.h>
+ #ifdef HAVE_SYS_SOCKIO_H
+ #include <sys/sockio.h>
+@@ -39,6 +41,7 @@
+ #include <sys/param.h>
+ #include <net/if.h>
+ #include <net/if_arp.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
+ #include <unistd.h>