summaryrefslogtreecommitdiff
path: root/ftp/vsftpd-ext/files/patch-charconv.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-10-05 10:55:53 +0000
committerStefan Eßer <se@FreeBSD.org>2020-10-05 10:55:53 +0000
commit96d506a3263d9672fd8aca5b65fd887a0a504281 (patch)
treec4c34a5562a457ac10b90409121cb8bb92c1cf3d /ftp/vsftpd-ext/files/patch-charconv.h
parentUpdate net/croc to version 8.4.0. (diff)
Fix build with -fno-common
Diffstat (limited to 'ftp/vsftpd-ext/files/patch-charconv.h')
-rw-r--r--ftp/vsftpd-ext/files/patch-charconv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/vsftpd-ext/files/patch-charconv.h b/ftp/vsftpd-ext/files/patch-charconv.h
new file mode 100644
index 000000000000..db0f1d49a322
--- /dev/null
+++ b/ftp/vsftpd-ext/files/patch-charconv.h
@@ -0,0 +1,12 @@
+--- charconv.h.orig 2012-03-27 21:15:01 UTC
++++ charconv.h
+@@ -134,7 +134,8 @@ struct codepage_map
+ {
+ unsigned int char_code; // The first element is count bytes of char.
+ unsigned int order;
+-} _codepage_map;
++};
++extern struct codepage_map _codepage_map;
+
+ typedef struct codepage_map * map_ptr;
+