summaryrefslogtreecommitdiff
path: root/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
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-include__afpfs-ng__codepage.h
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>
Diffstat (limited to '')
-rw-r--r--net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h b/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
new file mode 100644
index 000000000000..79094bb37011
--- /dev/null
+++ b/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
@@ -0,0 +1,15 @@
+--- include/afpfs-ng/codepage.h.orig 1970-01-01 00:00:00.000000000 +0000
++++ include/afpfs-ng/codepage.h 2012-10-14 13:11:33.000000000 +0000
+@@ -0,0 +1,11 @@
++#ifndef __CODE_PAGE_H_
++#define __CODE_PAGE_H_
++int convert_utf8dec_to_utf8pre(const char *src, int src_len,
++ char * dest, int dest_len);
++int convert_utf8pre_to_utf8dec(const char * src, int src_len,
++ char * dest, int dest_len);
++int convert_path_to_unix(char encoding, char * dest,
++ char * src, int dest_len);
++int convert_path_to_afp(char encoding, char * dest,
++ char * src, int dest_len);
++#endif
+diff -Naur afpfs-ng-0.8.1.orig/include/afpfs-ng/dsi.h afpfs-ng-0.8.1/include/afpfs-ng/dsi.h