summaryrefslogtreecommitdiff
path: root/net/afpfs-ng/files/patch-lib__proto_map.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-18 04:43:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-18 04:43:58 +0000
commitdf2e80c8b472e780b4cc9bfda947b396898cd81d (patch)
tree6c4c24197c5ec540d02ef640e97d288607c97e01 /net/afpfs-ng/files/patch-lib__proto_map.c
parentConvert 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>
Notes
Notes: svn path=/head/; revision=312474
Diffstat (limited to 'net/afpfs-ng/files/patch-lib__proto_map.c')
-rw-r--r--net/afpfs-ng/files/patch-lib__proto_map.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/afpfs-ng/files/patch-lib__proto_map.c b/net/afpfs-ng/files/patch-lib__proto_map.c
new file mode 100644
index 000000000000..7aca93e687b7
--- /dev/null
+++ b/net/afpfs-ng/files/patch-lib__proto_map.c
@@ -0,0 +1,28 @@
+--- lib/proto_map.c.orig 2008-01-30 04:37:59.000000000 +0000
++++ lib/proto_map.c 2012-10-14 13:11:44.000000000 +0000
+@@ -9,11 +9,11 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include "dsi.h"
+-#include "afp.h"
+-#include "utils.h"
++#include "afpfs-ng/dsi.h"
++#include "afpfs-ng/afp.h"
++#include "afpfs-ng/utils.h"
+ #include "dsi_protocol.h"
+-#include "afp_protocol.h"
++#include "afpfs-ng/afp_protocol.h"
+
+ /* This is used to pass the return values back from afp_getuserinfo_reply() */
+ struct uidgid {
+@@ -122,7 +122,7 @@
+
+ if (reply->header.return_code.error_code!=kFPNoErr) return -1;
+
+- copy_from_pascal_two(name,&reply->name,255);
++ copy_from_pascal_two(name,reply->name,255);
+
+ return 0;
+ }
+diff -Naur afpfs-ng-0.8.1.orig/lib/proto_replyblock.c afpfs-ng-0.8.1/lib/proto_replyblock.c