aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStefan2012-11-08 19:22:29 +0100
committerJack Nagel2012-11-08 15:56:03 -0600
commit443874e61486b0906846ec87588ddaa8658cf5bd (patch)
treefd187c0a01b720a3c989ed5faca42af6ce38d3ab /Library
parent25093b197d6b541bd0148048b6ec0e895c8a0115 (diff)
downloadhomebrew-443874e61486b0906846ec87588ddaa8658cf5bd.tar.bz2
tiger-vnc: patch for gnutls 3
c.f. #15923. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tiger-vnc.rb30
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/tiger-vnc.rb b/Library/Formula/tiger-vnc.rb
index 19f5ba8dc..52acd0af5 100644
--- a/Library/Formula/tiger-vnc.rb
+++ b/Library/Formula/tiger-vnc.rb
@@ -13,6 +13,7 @@ class TigerVnc < Formula
# Fix build of included fltk library on Mountain Lion
# http://www.fltk.org/str.php?L2864
+ # Patch for compatibility with gnutls 3
def patches
{ :p0 => DATA }
end
@@ -82,3 +83,32 @@ Index: common/fltk/FL/mac.H
+#endif // FL_LIBRARY || FL_INTERNALS
typedef CGImageRef Fl_Bitmask;
+
+Index: common/rdr/TLSInStream.cxx
+===================================================================
+--- /dev/null
++++ common/rdr/TLSInStream.cxx
+@@ -27,9 +27,7 @@
+ #include <rdr/TLSInStream.h>
+ #include <errno.h>
+
+-#ifdef HAVE_OLD_GNUTLS
+ #define gnutls_transport_set_global_errno(A) do { errno = (A); } while(0)
+-#endif
+
+ #ifdef HAVE_GNUTLS
+ using namespace rdr;
+Index: common/rdr/TLSOutStream.cxx
+===================================================================
+--- /dev/null
++++ common/rdr/TLSOutStream.cxx
+@@ -27,9 +27,7 @@
+ #include <rdr/TLSOutStream.h>
+ #include <errno.h>
+
+-#ifdef HAVE_OLD_GNUTLS
+ #define gnutls_transport_set_global_errno(A) do { errno = (A); } while(0)
+-#endif
+
+ #ifdef HAVE_GNUTLS
+ using namespace rdr;