svn commit: r433016 - head/net/coda6_server/files

Jan Beich jbeich at FreeBSD.org
Wed Feb 1 12:28:42 UTC 2017


Author: jbeich
Date: Wed Feb  1 12:28:40 2017
New Revision: 433016
URL: https://svnweb.freebsd.org/changeset/ports/433016

Log:
  net/coda6_client: unbreak with libc++ 3.9
  
  vol_cml.cc:3621:10: error: assigning to 'char *' from incompatible type 'const char *'
      comp = strrchr(hook->name, '/') + 1;
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  Reported by:	pkg-fallout

Added:
  head/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc   (contents, props changed)

Added: head/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc	Wed Feb  1 12:28:40 2017	(r433016)
@@ -0,0 +1,12 @@
+--- coda-src/venus/vol_cml.cc.orig	2008-10-06 16:52:54 UTC
++++ coda-src/venus/vol_cml.cc
+@@ -3606,7 +3606,8 @@ static int WriteLinks(struct DirEntry *d
+ {
+     VnodeId vnode;
+     Unique_t vunique;
+-    char *name = de->name, *comp;
++    char *name = de->name;
++    const char *comp;
+     size_t prefixlen;
+     char namebuf[CODA_MAXPATHLEN];
+     struct WriteLinksHook *hook = (struct WriteLinksHook *)arg;


More information about the svn-ports-head mailing list