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-lib__utils.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net/afpfs-ng/files/patch-lib__utils.c (limited to 'net/afpfs-ng/files/patch-lib__utils.c') diff --git a/net/afpfs-ng/files/patch-lib__utils.c b/net/afpfs-ng/files/patch-lib__utils.c new file mode 100644 index 000000000000..56b0ffe757c8 --- /dev/null +++ b/net/afpfs-ng/files/patch-lib__utils.c @@ -0,0 +1,25 @@ +--- lib/utils.c.orig 2008-02-18 03:53:37.000000000 +0000 ++++ lib/utils.c 2012-10-14 13:11:44.000000000 +0000 +@@ -8,10 +8,10 @@ + #include + #include + #include +-#include "afp.h" +-#include "utils.h" ++#include "afpfs-ng/afp.h" ++#include "afpfs-ng/utils.h" + #include "afp_internal.h" +-#include "afp_protocol.h" ++#include "afpfs-ng/afp_protocol.h" + + struct afp_path_header_long { + unsigned char type; +@@ -196,7 +196,7 @@ + maxlen=255; + + +- p=filename+1; ++ p=(char *)filename+1; + while ((q=strchr(p,'/'))) { + if (q>p+maxlen) + return 1; -- cgit v1.2.3