pkgsrc/devel/libthrift/patches/patch-ac
marino 5bfd95aa8d 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).
2011-11-05 22:54:43 +00:00

12 lines
354 B
Text

$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"