summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2007-02-15 14:31:21 +0000
committerjoerg <joerg>2007-02-15 14:31:21 +0000
commit86563bfe35a246617018fc3ec57870b54a8ff3f2 (patch)
tree59816a93163b2d5d7806755d71d477ec79b025a7 /x11
parent9813bd27abcb395582e337a8d48a33d4118ce846 (diff)
downloadpkgsrc-86563bfe35a246617018fc3ec57870b54a8ff3f2.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-gnome2-desktop/distinfo3
-rw-r--r--x11/py-gnome2-desktop/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/x11/py-gnome2-desktop/distinfo b/x11/py-gnome2-desktop/distinfo
index 7d31657817d..c44668a7c22 100644
--- a/x11/py-gnome2-desktop/distinfo
+++ b/x11/py-gnome2-desktop/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/02/04 09:33:42 wiz Exp $
+$NetBSD: distinfo,v 1.2 2007/02/15 14:31:21 joerg Exp $
SHA1 (gnome-python-desktop-2.16.0.tar.bz2) = d83957cd1c8d04c68f10747357e14c2f3a1bd173
RMD160 (gnome-python-desktop-2.16.0.tar.bz2) = 20320f74dd77c53f025c51cc25a241505c954bbe
Size (gnome-python-desktop-2.16.0.tar.bz2) = 429108 bytes
+SHA1 (patch-aa) = c59eb57073649f8914c01be6e39c6f71f726766c
diff --git a/x11/py-gnome2-desktop/patches/patch-aa b/x11/py-gnome2-desktop/patches/patch-aa
new file mode 100644
index 00000000000..4245acb84e3
--- /dev/null
+++ b/x11/py-gnome2-desktop/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2007/02/15 14:31:21 joerg Exp $
+
+--- gtop/gtop.c.orig 2007-02-12 20:39:35.000000000 +0000
++++ gtop/gtop.c
+@@ -47,6 +47,14 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+
++#ifndef INET_ADDRSTRLEN
++#define INET_ADDRSTRLEN 16
++#endif
++
++#ifndef INET6_ADDRSTRLEN
++#define INET6_ADDRSTRLEN 46
++#endif
++
+
+ typedef struct
+ {