Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2017 12:28:40 +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: r433016 - head/net/coda6_server/files
Message-ID:  <201702011228.v11CSew6063995@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011228.v11CSew6063995>