From: Adam Gołębiowski Date: Mon, 29 Jun 2009 14:56:15 +0000 (+0000) Subject: - buildfix X-Git-Tag: deadbranch-1.4.2~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython3.git;a=commitdiff_plain;h=4722eff3506150f0dff22a0ece8f0ee27cfa0369 - buildfix Changed files: python3-cast-fix.patch -> 1.1 --- diff --git a/python3-cast-fix.patch b/python3-cast-fix.patch new file mode 100644 index 0000000..21ba1e1 --- /dev/null +++ b/python3-cast-fix.patch @@ -0,0 +1,11 @@ +--- Python-3.1/Modules/python.c~ 2009-05-29 18:22:26.000000000 +0200 ++++ Python-3.1/Modules/python.c 2009-06-29 16:18:12.800560478 +0200 +@@ -57,7 +57,7 @@ + /* Overallocate; as multi-byte characters are in the argument, the + actual output could use less memory. */ + argsize = strlen(arg) + 1; +- res = PyMem_Malloc(argsize*sizeof(wchar_t)); ++ res = (wchar_t *)PyMem_Malloc(argsize*sizeof(wchar_t)); + if (!res) goto oom; + in = (unsigned char*)arg; + out = res;