From 3b8bb7497cd4eb7fe1160669e9bdfde6b5a42b79 Mon Sep 17 00:00:00 2001 From: motammi Date: Tue, 5 Feb 2013 10:39:52 +0100 Subject: thrift: patch for missing headers Closes #17606. Signed-off-by: Adam Vandenberg --- Library/Formula/thrift.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/thrift.rb b/Library/Formula/thrift.rb index cbf712bb8..c1bc69040 100644 --- a/Library/Formula/thrift.rb +++ b/Library/Formula/thrift.rb @@ -15,6 +15,11 @@ class Thrift < Formula depends_on 'boost' + # Includes are fixed in the upstream. Please remove this patch in the next version > 0.9.0 + def patches + DATA + end + def install # No reason for this step is known. On Lion at least the pkg.m4 doesn't # even exist. Turns out that it isn't needed on Lion either. Possibly it @@ -57,3 +62,17 @@ class Thrift < Formula EOS end end +__END__ +diff --git a/lib/cpp/src/thrift/transport/TSocket.h b/lib/cpp/src/thrift/transport/TSocket.h +index ff5e541..65e6aea 100644 +--- a/lib/cpp/src/thrift/transport/TSocket.h ++++ b/lib/cpp/src/thrift/transport/TSocket.h +@@ -21,6 +21,8 @@ + #define _THRIFT_TRANSPORT_TSOCKET_H_ 1 + + #include ++#include ++#include + + #include "TTransport.h" + #include "TVirtualTransport.h" -- cgit v1.2.3