summaryrefslogtreecommitdiff
path: root/devel/libthrift
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-11-05 22:54:43 +0000
committermarino <marino@pkgsrc.org>2011-11-05 22:54:43 +0000
commita738b8ca549700d9f956ba458667dae4ca1d10f5 (patch)
tree44dd4041fe078ace5e9ec9d1dbdcc7194d99fa9d /devel/libthrift
parent835327a116b50eb76fa418109ade2657a19c5532 (diff)
downloadpkgsrc-a738b8ca549700d9f956ba458667dae4ca1d10f5.tar.gz
PR#45476 devel/libthrift: Fix DragonFly breakage
Libthrift requires sys/socket.h to build on DragonFly and likely other systems as well. Patch provided with PR was tested on DragonFly 2.13 and NetBSD 5.99 (both x86_64).
Diffstat (limited to 'devel/libthrift')
-rw-r--r--devel/libthrift/distinfo3
-rw-r--r--devel/libthrift/patches/patch-ac12
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/libthrift/distinfo b/devel/libthrift/distinfo
index a87dabdb58f..40f813792f0 100644
--- a/devel/libthrift/distinfo
+++ b/devel/libthrift/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2011/09/12 15:51:02 taca Exp $
+$NetBSD: distinfo,v 1.6 2011/11/05 22:54:43 marino Exp $
SHA1 (thrift-0.7.0.tar.gz) = b8f6877bc75878984355da4efe171ad99ff05b6a
RMD160 (thrift-0.7.0.tar.gz) = d9db8ff077347134101cd017e086511c4317b052
Size (thrift-0.7.0.tar.gz) = 2248326 bytes
+SHA1 (patch-ac) = 84032447dc90b7071d8f54fc56dd30584fbc8116
SHA1 (patch-lib__rb__setup.rb) = 4e08bb4c0828306ee2391f5d5760e74a5df30a73
SHA1 (patch-lib_erl_Makefile.in) = 74bfbc9f191f685cb175801a495ae4af0eaa6e69
diff --git a/devel/libthrift/patches/patch-ac b/devel/libthrift/patches/patch-ac
new file mode 100644
index 00000000000..8965cd4d634
--- /dev/null
+++ b/devel/libthrift/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2011/11/05 22:54:44 marino Exp $
+
+--- lib/cpp/src/transport/TSSLSocket.h.orig 2011-08-11 13:18:59.000000000 +0000
++++ lib/cpp/src/transport/TSSLSocket.h
+@@ -23,6 +23,7 @@
+ #include <string>
+ #include <boost/shared_ptr.hpp>
+ #include <openssl/ssl.h>
++#include <sys/socket.h>
+ #include "concurrency/Mutex.h"
+ #include "TSocket.h"
+