From 96d506a3263d9672fd8aca5b65fd887a0a504281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Mon, 5 Oct 2020 10:55:53 +0000 Subject: Fix build with -fno-common --- ftp/vsftpd-ext/Makefile | 1 + ftp/vsftpd-ext/files/patch-charconv.h | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 ftp/vsftpd-ext/files/patch-charconv.h (limited to 'ftp') diff --git a/ftp/vsftpd-ext/Makefile b/ftp/vsftpd-ext/Makefile index 9bf58c6c1783..d6330dfa6c03 100644 --- a/ftp/vsftpd-ext/Makefile +++ b/ftp/vsftpd-ext/Makefile @@ -3,6 +3,7 @@ PORTNAME= vsftpd-ext PORTVERSION= ${UPSTREAMVERSION}.${EXTVERSION} +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= http://vsftpd.devnet.ru/files/${UPSTREAMVERSION}/ext.${EXTVERSION}/ PKGNAMESUFFIX?= ${SSL_SUFFIX}${PKGNAMESUFFIX2} 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; + -- cgit v1.2.3