Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2021 15:33:49 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568099 - head/www/nginx-devel/files
Message-ID:  <202103111533.12BFXnJr032502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Thu Mar 11 15:33:49 2021
New Revision: 568099
URL: https://svnweb.freebsd.org/changeset/ports/568099

Log:
  Add another patch to fix build the mail module
  without SSL support.

Added:
  head/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c   (contents, props changed)

Added: head/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c	Thu Mar 11 15:33:49 2021	(r568099)
@@ -0,0 +1,20 @@
+--- src/mail/ngx_mail_handler.c.orig	2021-03-10 10:39:31.807351000 -0500
++++ src/mail/ngx_mail_handler.c	2021-03-10 10:41:28.739497000 -0500
+@@ -273,14 +273,15 @@
+ ngx_mail_init_session_handler(ngx_event_t *rev)
+ {
+     ngx_connection_t    *c;
+-    ngx_mail_session_t  *s;
+ 
+     c = rev->data;
+-    s = c->data;
+ 
+ #if (NGX_MAIL_SSL)
+     {
++    ngx_mail_session_t   *s;
+     ngx_mail_ssl_conf_t  *sslcf;
++
++    s = c->data;
+ 
+     sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module);
+ 



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