Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 09:31:21 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545511 - head/mail/qpopper/files
Message-ID:  <202008200931.07K9VLUo019031@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Thu Aug 20 09:31:20 2020
New Revision: 545511
URL: https://svnweb.freebsd.org/changeset/ports/545511

Log:
  mail/qpopper: fix build with -fno-common (clang 11 and gcc 10)
  PORTREVISION not bumped as it fixes build for FreeBSD 13.
  
  Reported by:	pkg-fallout

Added:
  head/mail/qpopper/files/patch-popper.c   (contents, props changed)
Modified:
  head/mail/qpopper/files/patch-popper__pop_tls_openssl.c

Added: head/mail/qpopper/files/patch-popper.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/qpopper/files/patch-popper.c	Thu Aug 20 09:31:20 2020	(r545511)
@@ -0,0 +1,11 @@
+--- popper/popper.c.orig	2011-05-31 02:13:40.000000000 +0700
++++ popper/popper.c	2020-08-20 16:22:31.645139000 +0700
+@@ -430,7 +430,7 @@ DEBUG_LOG1 ( &p,"(v%s) Intro", VERSION )
+ }
+ 
+ 
+-jmp_buf env;
++static jmp_buf env;
+ 
+ 
+ /*

Modified: head/mail/qpopper/files/patch-popper__pop_tls_openssl.c
==============================================================================
--- head/mail/qpopper/files/patch-popper__pop_tls_openssl.c	Thu Aug 20 09:11:46 2020	(r545510)
+++ head/mail/qpopper/files/patch-popper__pop_tls_openssl.c	Thu Aug 20 09:31:20 2020	(r545511)
@@ -1,5 +1,14 @@
 --- popper/pop_tls_openssl.c.orig	2011-05-30 19:13:40 UTC
 +++ popper/pop_tls_openssl.c
+@@ -89,7 +89,7 @@
+ /* ---- Globals ---- */
+ extern volatile BOOL poptimeout;
+ extern int           pop_timeout;
+-jmp_buf              env;
++static jmp_buf	env;
+ 
+ 
+ 
 @@ -312,21 +312,31 @@ openssl_init ( pop_tls *pTLS, POP *pPOP 
       * concern. 
       */
@@ -32,7 +41,7 @@
  
          case QPOP_TLSv1:       /* TLS version 1 only */
              DEBUG_LOG0 ( pPOP, "...setting method to TLSv1_server_method" );
-@@ -547,7 +547,8 @@ openssl_handshake ( pop_tls *pTLS )
+@@ -537,7 +547,8 @@ openssl_handshake ( pop_tls *pTLS )
                            "%s session-id; cipher: %s (%s), %d bits",
                            VERSION, SSL_CIPHER_get_version(ciph),
                            pTLS->m_pPOP->client, pTLS->m_pPOP->ipaddr,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008200931.07K9VLUo019031>