svn commit: r528555 - in head/www/websh: . files
Mikhail Teterin
mi at FreeBSD.org
Tue Mar 17 02:46:40 UTC 2020
Author: mi
Date: Tue Mar 17 02:46:39 2020
New Revision: 528555
URL: https://svnweb.freebsd.org/changeset/ports/528555
Log:
Patch an ancient upstream bug uncovered on HEAD by the new compiler
warning (-Wmisleading-indentation). Bump PORTREVISION...
Glory be to LLVM and -Werror.
Reported by: pkg-fallout
Added:
head/www/websh/files/patch-response_ap.c (contents, props changed)
Modified:
head/www/websh/Makefile
Modified: head/www/websh/Makefile
==============================================================================
--- head/www/websh/Makefile Tue Mar 17 02:41:05 2020 (r528554)
+++ head/www/websh/Makefile Tue Mar 17 02:46:39 2020 (r528555)
@@ -3,7 +3,7 @@
PORTNAME= websh
PORTVERSION= 3.6.0b5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www tcl
MASTER_SITES= APACHE/tcl/${PORTNAME}/source
EXTRACT_SUFX= -src.tar.gz
Added: head/www/websh/files/patch-response_ap.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/websh/files/patch-response_ap.c Tue Mar 17 02:46:39 2020 (r528555)
@@ -0,0 +1,20 @@
+Patch an ancient bug, uncovered by clang10's new warning-flag...
+
+ -mi
+
+--- ../generic/response_ap.c 2009-05-22 06:13:35.000000000 -0400
++++ ../generic/response_ap.c 2020-03-16 22:40:32.845609000 -0400
+@@ -69,4 +69,6 @@
+ r->status_line = ap_pstrdup(r->pool, ++response);
+ #else /* APACHE2 */
++ {
++
+ r->status_line = (char *) apr_pstrdup(r->pool, ++response);
+ /* as of Apache 2.2.1, r->status_line must be in line with
+@@ -80,5 +82,5 @@
+ response[3] = tmp;
+ }
+-
++ }
+ #endif /* APACHE2 */
+ }
More information about the svn-ports-head
mailing list