libnetfilter_cthelper: add patch for uclinux tuple
[buildroot-gz.git] / package / python3 / python3-107-optional-codecs-cjk.patch
blobde7f9109a46b6265a6376e0eef6f67e22237124e
1 Add an option to disable CJK codecs
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5 ---
6 configure.ac | 6 ++++++
7 1 file changed, 6 insertions(+)
9 Index: cpython/configure.ac
10 ===================================================================
11 --- cpython.orig/configure.ac
12 +++ cpython/configure.ac
13 @@ -2465,6 +2465,12 @@
14 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3"
17 +AC_ARG_ENABLE(codecs-cjk,
18 + AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]),
19 + [ if test "$enableval" = "no"; then
20 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
21 + fi])
23 AC_SUBST(TK)
24 AC_ARG_ENABLE(tk,
25 AS_HELP_STRING([--disable-tk], [disable tk]),