diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-02-18 04:43:58 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-02-18 04:43:58 +0000 |
commit | df2e80c8b472e780b4cc9bfda947b396898cd81d (patch) | |
tree | 6c4c24197c5ec540d02ef640e97d288607c97e01 /net/afpfs-ng/files/patch-fuse__fuse_int.c | |
parent | Convert to OptionsNG (diff) |
afpfs-ng is an Apple Filing Protocol client that will allow BSD,
Linux and Mac OS X systems to access files exported from a
Mac OS system with AFP over TCP.
WWW: http://sourceforge.net/projects/afpfs-ng/
PR: ports/172780
Submitted by: Manuel Creach <manuel.creach@icloud.com>
Diffstat (limited to '')
-rw-r--r-- | net/afpfs-ng/files/patch-fuse__fuse_int.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/afpfs-ng/files/patch-fuse__fuse_int.c b/net/afpfs-ng/files/patch-fuse__fuse_int.c new file mode 100644 index 000000000000..dc8e4a783071 --- /dev/null +++ b/net/afpfs-ng/files/patch-fuse__fuse_int.c @@ -0,0 +1,36 @@ +--- fuse/fuse_int.c.orig 2008-03-02 05:06:24.000000000 +0000 ++++ fuse/fuse_int.c 2012-10-14 13:11:44.000000000 +0000 +@@ -18,7 +18,7 @@ + #define FUSE_USE_VERSION 25 + + +-#include "afp.h" ++#include "afpfs-ng/afp.h" + + #include <fuse.h> + #include <stdio.h> +@@ -39,10 +39,10 @@ + #include <pwd.h> + #include <stdarg.h> + +-#include "dsi.h" +-#include "afp_protocol.h" +-#include "codepage.h" +-#include "midlevel.h" ++#include "afpfs-ng/dsi.h" ++#include "afpfs-ng/afp_protocol.h" ++#include "afpfs-ng/codepage.h" ++#include "afpfs-ng/midlevel.h" + #include "fuse_error.h" + + /* Uncomment the following line to enable full debugging: */ +@@ -197,7 +197,7 @@ + ret = ml_open(volume,path,flags,&fp); + + if (ret==0) +- fi->fh=(void *) fp; ++ fi->fh=(unsigned long) fp; + + return ret; + } +diff -Naur afpfs-ng-0.8.1.orig/include/Makefile.am afpfs-ng-0.8.1/include/Makefile.am |