File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ --- Python-2.7.2.orig/Python/bltinmodule.c 2012-03-30 01:44:57.018079845 +0200
2+ +++ Python-2.7.2/Python/bltinmodule.c 2012-03-30 01:45:02.650079649 +0200
3+ @@ -22,7 +22,7 @@
4+ #elif defined(__APPLE__)
5+ const char *Py_FileSystemDefaultEncoding = "utf-8";
6+ #else
7+ - const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
8+ + const char *Py_FileSystemDefaultEncoding = "utf-8"; /* use default */
9+ #endif
10+
11+ /* Forward */
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ function prebuild_python() {
2323 try patch -p1 < $RECIPE_python /patches/fix-locale.patch
2424 try patch -p1 < $RECIPE_python /patches/fix-gethostbyaddr.patch
2525 try patch -p1 < $RECIPE_python /patches/fix-setup-flags.patch
26+ try patch -p1 < $RECIPE_python /patches/fix-filesystemdefaultencoding.patch
2627 try patch -p1 < $RECIPE_python /patches/custom-loader.patch
2728 try patch -p1 < $RECIPE_python /patches/verbose-compilation.patch
2829
You can’t perform that action at this time.
0 commit comments