From 3bd85407abc9ed4434c2d3741f84fdb512638b1c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jan 2023 23:53:26 +0000 Subject: gentoo auto-resync : 14:01:2023 - 23:53:26 --- net-nntp/tin/files/tin-2.6.2-gnutls.patch | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 net-nntp/tin/files/tin-2.6.2-gnutls.patch (limited to 'net-nntp/tin/files') 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, -- cgit v1.2.3