mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 13:10:37 +00:00
Add initial python2 package
This commit is contained in:
12
packages/python2/Python-bltinmodule.c.patch
Normal file
12
packages/python2/Python-bltinmodule.c.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -u -r ../Python-2.7.10/Python/bltinmodule.c ./Python/bltinmodule.c
|
||||
--- ../Python-2.7.10/Python/bltinmodule.c 2015-05-23 12:09:24.000000000 -0400
|
||||
+++ ./Python/bltinmodule.c 2015-09-16 21:01:23.750245871 -0400
|
||||
@@ -22,7 +22,7 @@
|
||||
#elif defined(__APPLE__)
|
||||
const char *Py_FileSystemDefaultEncoding = "utf-8";
|
||||
#else
|
||||
-const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
|
||||
+const char *Py_FileSystemDefaultEncoding = "utf-8"; /* use default */
|
||||
#endif
|
||||
|
||||
/* Forward */
|
||||
Reference in New Issue
Block a user