Date: Wed, 1 Feb 2017 12:29:57 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433021 - head/irc/quirc/files Message-ID: <201702011229.v11CTvfF064555@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 12:29:56 2017 New Revision: 433021 URL: https://svnweb.freebsd.org/changeset/ports/433021 Log: irc/quirc: unbreak with libc++ 3.9 servertcl.cc:890:12: error: assigning to 'char *' from incompatible type 'const char *' while((pos=strstr(afterslash,"/"))) afterslash=pos+1;; ^~~~~~~~~~~~~~~~~~~~~~~ servertcl.cc:1010:12: error: assigning to 'char *' from incompatible type 'const char *' while((pos=strstr(afterslash,"/"))) afterslash=pos+1;; ^~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Modified: head/irc/quirc/files/patch-servertcl.cc (contents, props changed) Modified: head/irc/quirc/files/patch-servertcl.cc ============================================================================== --- head/irc/quirc/files/patch-servertcl.cc Wed Feb 1 12:29:47 2017 (r433020) +++ head/irc/quirc/files/patch-servertcl.cc Wed Feb 1 12:29:56 2017 (r433021) @@ -5,3 +5,21 @@ #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> +@@ -877,7 +878,7 @@ int TT_Proc___template__script(TT_PROC_A + twindow *windowp; + char temp[TEMPLEN]; + char assemble[TEMPLEN]; +- char *pos; ++ const char *pos; + const char *afterslash; + int n; + if(argc>=3) { +@@ -997,7 +998,7 @@ int TT_Proc___template__unscript(TT_PROC + twindow *windowp; + char temp[TEMPLEN]; + char storage[TEMPLEN]; +- char *pos; ++ const char *pos; + const char *afterslash; + int n; + if(argc>=3) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011229.v11CTvfF064555>