summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-Modules_config_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/python2/patches/patch-Modules_config_c')
-rw-r--r--package/python2/patches/patch-Modules_config_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/python2/patches/patch-Modules_config_c b/package/python2/patches/patch-Modules_config_c
new file mode 100644
index 000000000..1ceca607f
--- /dev/null
+++ b/package/python2/patches/patch-Modules_config_c
@@ -0,0 +1,18 @@
+--- Python-2.7.1.orig/Modules/config.c 2010-12-27 21:24:35.000000000 +0100
++++ Python-2.7.1/Modules/config.c 2010-12-27 21:07:05.000000000 +0100
+@@ -23,6 +23,7 @@ extern "C" {
+ #endif
+
+
++extern void initthread(void);
+ extern void initsignal(void);
+ extern void initposix(void);
+ extern void initerrno(void);
+@@ -44,6 +45,7 @@ extern void _PyWarnings_Init(void);
+
+ struct _inittab _PyImport_Inittab[] = {
+
++ {"thread", initthread},
+ {"signal", initsignal},
+ {"posix", initposix},
+ {"errno", initerrno},