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__lowlevel.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net/afpfs-ng/files/patch-lib__lowlevel.c (limited to 'net/afpfs-ng/files/patch-lib__lowlevel.c') diff --git a/net/afpfs-ng/files/patch-lib__lowlevel.c b/net/afpfs-ng/files/patch-lib__lowlevel.c new file mode 100644 index 000000000000..95fb611f8190 --- /dev/null +++ b/net/afpfs-ng/files/patch-lib__lowlevel.c @@ -0,0 +1,27 @@ +--- lib/lowlevel.c.orig 2008-02-20 01:33:17.000000000 +0000 ++++ lib/lowlevel.c 2012-10-14 13:11:44.000000000 +0000 +@@ -19,10 +19,10 @@ + #else + #include + #endif +-#include "afp.h" +-#include "afp_protocol.h" +-#include "codepage.h" +-#include "utils.h" ++#include "afpfs-ng/afp.h" ++#include "afpfs-ng/afp_protocol.h" ++#include "afpfs-ng/codepage.h" ++#include "afpfs-ng/utils.h" + #include "did.h" + #include "users.h" + +@@ -582,7 +582,7 @@ + if (volume->server->using_version->av_number>=30) + stbuf->st_mode |= fp.unixprivs.permissions; + else +- set_nonunix_perms(stbuf,&fp); ++ set_nonunix_perms(&stbuf->st_mode,&fp); + + stbuf->st_uid=fp.unixprivs.uid; + stbuf->st_gid=fp.unixprivs.gid; +diff -Naur afpfs-ng-0.8.1.orig/lib/map_def.c afpfs-ng-0.8.1/lib/map_def.c -- cgit v1.2.3