summaryrefslogtreecommitdiffstats
path: root/package/python3/0022-Add-an-option-to-disable-unicodedata.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/python3/0022-Add-an-option-to-disable-unicodedata.patch')
-rw-r--r--package/python3/0022-Add-an-option-to-disable-unicodedata.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/python3/0022-Add-an-option-to-disable-unicodedata.patch b/package/python3/0022-Add-an-option-to-disable-unicodedata.patch
new file mode 100644
index 0000000000..7ffcff2bd6
--- /dev/null
+++ b/package/python3/0022-Add-an-option-to-disable-unicodedata.patch
@@ -0,0 +1,30 @@
+From 949887ee3dbbb274539309d3c42ac04fdd67f34f Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Date: Wed, 23 Dec 2015 11:50:27 +0100
+Subject: [PATCH] Add an option to disable unicodedata
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 0099a4a..9820526 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3110,6 +3110,12 @@ AC_ARG_ENABLE(nis,
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
+ fi])
+
++AC_ARG_ENABLE(unicodedata,
++ AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]),
++ [ if test "$enableval" = "no"; then
++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
++ fi])
++
+ AC_SUBST(TK)
+ AC_ARG_ENABLE(tk,
+ AS_HELP_STRING([--disable-tk], [disable tk]),
+--
+2.9.3
+
OpenPOWER on IntegriCloud