Accepting request 53302 from openSUSE:Factory:PowerPC
OBS-URL: https://build.opensuse.org/request/show/53302 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=86
This commit is contained in:
parent
988592dbda
commit
103a6aba9d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 08:23:34 UTC 2010 - coolo@novell.com
|
||||
|
||||
- add patch from http://psf.upfronthosting.co.za/roundup/tracker/issue9960
|
||||
to fix build on ppc64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 1 13:41:30 UTC 2010 - jmatejek@novell.com
|
||||
|
||||
|
@ -51,6 +51,7 @@ Patch8: sparc_longdouble.patch
|
||||
Patch9: python-2.7-acrequire.patch
|
||||
Patch10: urllib2-AbstractBasicAuthHandler_reset_attr.diff
|
||||
Patch11: smtpd-dos.patch
|
||||
Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define python_version %(echo %{version} | head -c 3)
|
||||
@ -141,6 +142,7 @@ Authors:
|
||||
%patch9 -p1
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12 -p0
|
||||
|
||||
# some cleanup
|
||||
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
||||
|
21
python-test_structmembers.patch
Normal file
21
python-test_structmembers.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: Modules/_testcapimodule.c
|
||||
===================================================================
|
||||
--- Modules/_testcapimodule.c (revision 85001)
|
||||
+++ Modules/_testcapimodule.c (working copy)
|
||||
@@ -5,6 +5,7 @@
|
||||
* standard Python regression test, via Lib/test/test_capi.py.
|
||||
*/
|
||||
|
||||
+#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include <float.h>
|
||||
#include "structmember.h"
|
||||
@@ -593,7 +594,7 @@
|
||||
{
|
||||
PyObject *tuple, *obj;
|
||||
Py_UNICODE *value;
|
||||
- int len;
|
||||
+ Py_ssize_t len;
|
||||
|
||||
/* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
|
||||
/* Just use the macro and check that it compiles */
|
Loading…
x
Reference in New Issue
Block a user