diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-05-03 05:35:11 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-05-03 05:35:11 +0000 |
commit | 690839683e27b3610449902dc5069e77b29e2533 (patch) | |
tree | 6eba94d40cadbc346ec88818fff7902135b62098 /net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c | |
parent | Add ruby-htree, a Ruby library to manipulate HTML/XML tree data (diff) |
Fix the build in the case that SSL is not enabled (the default until this
port adds support for GnuTLS 1.0).
Reported by: bento
Diffstat (limited to 'net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c')
-rw-r--r-- | net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c new file mode 100644 index 000000000000..a700f9f42fa1 --- /dev/null +++ b/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c @@ -0,0 +1,20 @@ +--- libgnetwork/gnetwork-tcp-connection.c.orig Mon May 3 01:29:58 2004 ++++ libgnetwork/gnetwork-tcp-connection.c Mon May 3 01:32:55 2004 +@@ -450,6 +450,7 @@ + static void + open_ssl_connection (GNetworkTcpConnection * connection) + { ++#ifdef _USE_SSL + GIOChannel *channel; + GNetworkSslAuth *auth; + GError *error; +@@ -517,6 +518,9 @@ + g_object_notify (G_OBJECT (connection), "tcp-status"); + g_object_notify (G_OBJECT (connection), "status"); + g_object_thaw_notify (G_OBJECT (connection)); ++#else ++ g_warning ("SSL support not enabled."); ++#endif + } + + |