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
This commit is contained in:
parent
4234e8e865
commit
c9978367f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433016
1 changed files with 12 additions and 0 deletions
12
net/coda6_server/files/patch-coda-src_venus_vol__cml.cc
Normal file
12
net/coda6_server/files/patch-coda-src_venus_vol__cml.cc
Normal file
|
@ -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;
|
Loading…
Reference in a new issue