summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorsno <sno>2009-09-20 12:36:03 +0000
committersno <sno>2009-09-20 12:36:03 +0000
commiteea7f1a9ced3124d1528c57c4a8f91d680b441f8 (patch)
tree9f90cd783fcee3848a43131db4e6519d2c72769c /chat
parent1f3f2809fa18d0f2f65292ad615a834868815657 (diff)
downloadpkgsrc-eea7f1a9ced3124d1528c57c4a8f91d680b441f8.tar.gz
Apply patch from FreeBSD ports - FreeBSD's <net/if.h> doesn't include
sys/socket.h ...
Diffstat (limited to 'chat')
-rw-r--r--chat/telepathy-gabble/distinfo3
-rw-r--r--chat/telepathy-gabble/patches/patch-ad18
2 files changed, 20 insertions, 1 deletions
diff --git a/chat/telepathy-gabble/distinfo b/chat/telepathy-gabble/distinfo
index 0466c731eb1..ad68c7e0afe 100644
--- a/chat/telepathy-gabble/distinfo
+++ b/chat/telepathy-gabble/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2009/08/16 18:46:27 wiz Exp $
+$NetBSD: distinfo,v 1.7 2009/09/20 12:36:03 sno Exp $
SHA1 (telepathy-gabble-0.7.21.tar.gz) = b6c19456ace1812e98c69b52648b324fdf6f1faa
RMD160 (telepathy-gabble-0.7.21.tar.gz) = 3f2ba18a09bab5bc9fb1f58ce3dd5922f8a3fcbc
@@ -6,3 +6,4 @@ Size (telepathy-gabble-0.7.21.tar.gz) = 1597740 bytes
SHA1 (patch-aa) = c6f579acd92f43bd327136b4ebabce8d3a54976c
SHA1 (patch-ab) = 15bf26b3b3be950db46b63b8904e98f52d5e2547
SHA1 (patch-ac) = afe4969ae0845dc1ac07881beaa90713c0d65490
+SHA1 (patch-ad) = 9eab302f5b2a754b55bd9d0f4d6262fd04e1c444
diff --git a/chat/telepathy-gabble/patches/patch-ad b/chat/telepathy-gabble/patches/patch-ad
new file mode 100644
index 00000000000..4058069e701
--- /dev/null
+++ b/chat/telepathy-gabble/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2009/09/20 12:36:03 sno Exp $
+
+Apply patch from FreeBSD ports - FreeBSD's <net/if.h> doesn't include
+sys/socket.h ...
+
+--- src/bytestream-socks5.c.orig 2009-09-20 14:18:46.000000000 +0200
++++ src/bytestream-socks5.c 2009-09-20 14:24:08.000000000 +0200
+@@ -21,6 +21,10 @@
+ #include "config.h"
+ #include "bytestream-socks5.h"
+
++#ifdef __FreeBSD__
++#include <sys/socket.h>
++#include <sys/types.h>
++#endif
+ #include <arpa/inet.h>
+ #include <errno.h>
+ #include <fcntl.h>