svn commit: r433019 - head/devel/mpatrol/files

Jan Beich jbeich at FreeBSD.org
Wed Feb 1 12:29:38 UTC 2017


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++)


More information about the svn-ports-all mailing list