Date: Tue, 17 Mar 2020 02:46:39 +0000 (UTC) From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528555 - in head/www/websh: . files Message-ID: <202003170246.02H2kdB1077638@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */ + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003170246.02H2kdB1077638>