Date: Wed, 1 Feb 2017 12:29:37 +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: r433019 - head/devel/mpatrol/files Message-ID: <201702011229.v11CTbWZ064353@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 12:29:37 2017 New Revision: 433019 URL: https://svnweb.freebsd.org/changeset/ports/433019 Log: devel/mpatrol: unbreak with libc++ 3.9 ../../tools/dmalloc.c:412:20: error: assigning to 'char *' from incompatible type 'const char *' else if (t = strchr(ESCAPE_CHARS, p[i])) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Added: head/devel/mpatrol/files/patch-..__..__tools__dmalloc.c (contents, props changed) Added: head/devel/mpatrol/files/patch-..__..__tools__dmalloc.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mpatrol/files/patch-..__..__tools__dmalloc.c Wed Feb 1 12:29:37 2017 (r433019) @@ -0,0 +1,11 @@ +--- ../../tools/dmalloc.c.orig 2002-01-08 20:05:10 UTC ++++ ../../tools/dmalloc.c +@@ -395,7 +395,7 @@ static + char * + bytestring(char *b, size_t s, char *p, size_t l) + { +- char *t; ++ const char *t; + size_t i, n; + + for (i = n = 0; (i < s) && (i < l); i++)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011229.v11CTbWZ064353>