diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-01 20:28:40 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-01 20:28:40 +0800 |
commit | 81dedb1fe331d00403e87251d51255aeaa47dd93 (patch) | |
tree | 57f80c161b9727f6002370976fb849e04d8c6b7c | |
parent | 1eb0fed846f2c7c502f46b01d129f0a1ebd90bac (diff) | |
download | freebsd-ports-gnome-81dedb1fe331d00403e87251d51255aeaa47dd93.tar.gz freebsd-ports-gnome-81dedb1fe331d00403e87251d51255aeaa47dd93.tar.zst freebsd-ports-gnome-81dedb1fe331d00403e87251d51255aeaa47dd93.zip |
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
-rw-r--r-- | net/coda6_server/files/patch-coda-src_venus_vol__cml.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc b/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc new file mode 100644 index 000000000000..1ffb5b89683e --- /dev/null +++ b/net/coda6_server/files/patch-coda-src_venus_vol__cml.cc @@ -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; |