mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- I forgot to add patch
- bump PORTREVISION
This commit is contained in:
parent
80e21e104d
commit
26dfa64c70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211509
2 changed files with 25 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= coda
|
||||
PORTVERSION= 6.9.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
# as of 5 Oct 2006 the archive is not present on ftp.wu-wien.ac.at
|
||||
# but maybe it'll appear there soon
|
||||
|
|
24
net/coda6_server/files/patch-coda-src-venus-worker.cc
Normal file
24
net/coda6_server/files/patch-coda-src-venus-worker.cc
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- coda-src/venus/worker.cc.orig 2007-12-18 01:19:57.000000000 +0800
|
||||
+++ coda-src/venus/worker.cc 2008-04-18 14:07:24.000000000 +0800
|
||||
@@ -397,17 +397,17 @@
|
||||
md[0].iov_base = (char *)"fstype"; md[0].iov_len = sizeof("fstype");
|
||||
md[1].iov_base = (char *)"coda"; md[1].iov_len = sizeof("coda");
|
||||
md[2].iov_base = (char *)"fspath"; md[2].iov_len = sizeof("fspath");
|
||||
- md[3].iov_base = venusRoot; md[3].iov_len = strlen(venusRoot) + 1;
|
||||
+ md[3].iov_base = (char *)venusRoot; md[3].iov_len = strlen((char *)venusRoot) + 1;
|
||||
md[4].iov_base = (char *)"from"; md[4].iov_len = sizeof("from");
|
||||
- md[5].iov_base = kernDevice; md[5].iov_len = strlen(kernDevice) + 1;
|
||||
+ md[5].iov_base = (char *)kernDevice; md[5].iov_len = strlen((char *)kernDevice) + 1;
|
||||
error = nmount(md, 6, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (error < 0)
|
||||
- error = mount("coda", venusRoot, 0, kernDevice);
|
||||
+ error = mount("coda", (char *)venusRoot, 0, (char *)kernDevice);
|
||||
if (error < 0)
|
||||
- error = mount("cfs", venusRoot, 0, kernDevice);
|
||||
+ error = mount("cfs", (char *)venusRoot, 0, (char *)kernDevice);
|
||||
#if defined(__FreeBSD__) && !defined(__FreeBSD_version)
|
||||
#define MOUNT_CFS 19
|
||||
if (error < 0)
|
Loading…
Add table
Reference in a new issue