diff options
Diffstat (limited to 'net-nntp/tin/files/tin-2.6.2-gnutls.patch')
-rw-r--r-- | net-nntp/tin/files/tin-2.6.2-gnutls.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-nntp/tin/files/tin-2.6.2-gnutls.patch b/net-nntp/tin/files/tin-2.6.2-gnutls.patch new file mode 100644 index 000000000000..b7f7de0956a2 --- /dev/null +++ b/net-nntp/tin/files/tin-2.6.2-gnutls.patch @@ -0,0 +1,36 @@ +Upstream patch to allow GnuTLS support without debug definitions. + +--- a/src/nntps.c ++++ b/src/nntps.c +@@ -41,8 +41,8 @@ + #endif /* USE_LIBTLS */ + + #ifdef USE_GNUTLS +-# ifdef DEBUG + static int verification_func(gnutls_session_t session); ++# ifdef DEBUG + static void log_func(int level, const char *msg); + # endif /* DEBUG */ + #else +@@ -933,8 +933,7 @@ + #endif /* USE_OPENSSL */ + + +-#ifdef DEBUG +-# ifdef USE_GNUTLS ++#ifdef USE_GNUTLS + static int + verification_func( + gnutls_session_t session) +@@ -953,8 +952,11 @@ + + return gnutls_verification_status; + } ++#endif /* USE_GNUTLS */ + + ++#ifdef DEBUG ++# ifdef USE_GNUTLS + static void + log_func( + int level, |