From df2e80c8b472e780b4cc9bfda947b396898cd81d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 18 Feb 2013 04:43:58 +0000 Subject: 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 --- net/afpfs-ng/files/patch-fuse__fuse_int.c | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 net/afpfs-ng/files/patch-fuse__fuse_int.c (limited to 'net/afpfs-ng/files/patch-fuse__fuse_int.c') 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 + #include +@@ -39,10 +39,10 @@ + #include + #include + +-#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 -- cgit v1.2.3