Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 283015 Details for
Bug 378915
python-2.7 on aix need a patch for handling _multiprocess
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for multiprocessing on aix
python2.7-aix.patch (text/plain), 2.04 KB, created by
Benda Xu
on 2011-08-12 13:47:13 UTC
(
hide
)
Description:
patch for multiprocessing on aix
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2011-08-12 13:47:13 UTC
Size:
2.04 KB
patch
obsolete
>diff -Naurp /home/k/benda/gentoo/usr/portage/dev-lang/python/files/python-2.7-aix-multiprocessing.patch /home/k/benda/neutrino/dev-lang/python/files/python-2.7-aix-multiprocessing.patch >--- /home/k/benda/gentoo/usr/portage/dev-lang/python/files/python-2.7-aix-multiprocessing.patch 1970-01-01 09:00:00 +0900 >+++ /home/k/benda/neutrino/dev-lang/python/files/python-2.7-aix-multiprocessing.patch 2011-08-12 22:42:48 +0900 >@@ -0,0 +1,20 @@ >+http://bugs.python.org/issue3876 >+https://bugs.gentoo.org/show_bug.cgi?id=378915 >+ >+diff -Naur Python-2.6/Modules/_multiprocessing/multiprocessing.c Python-2.6-clean-patch/Modules/_multiprocessing/multiprocessing.c >+--- Python-2.6/Modules/_multiprocessing/multiprocessing.c 2008-06-14 00:38:33.000000000 +0200 >++++ Python-2.6-clean-patch/Modules/_multiprocessing/multiprocessing.c 2008-10-07 12:23:55.000000000 +0200 >+@@ -8,6 +8,13 @@ >+ >+ #include "multiprocessing.h" >+ >++#ifndef CMSG_SPACE >++#define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len)) >++#endif >++#ifndef CMSG_LEN >++#define CMSG_LEN(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) >++#endif >++ >+ PyObject *create_win32_namespace(void); >+ >+ PyObject *pickle_dumps, *pickle_loads, *pickle_protocol; >diff -Naurp /home/k/benda/gentoo/usr/portage/dev-lang/python/python-2.7.2.ebuild /home/k/benda/neutrino/dev-lang/python/python-2.7.2.ebuild >--- /home/k/benda/gentoo/usr/portage/dev-lang/python/python-2.7.2.ebuild 2011-07-30 05:31:31 +0900 >+++ /home/k/benda/neutrino/dev-lang/python/python-2.7.2.ebuild 2011-08-11 21:35:52 +0900 >@@ -147,6 +147,9 @@ src_prepare() { > # http://prefix.gentooexperimental.org:8000/python-patches-2_7 > EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \ > epatch "${WORKDIR}"/python-prefix-${MY_PV}-gentoo-patches >+ >+ # aix multiprocessing temporary patch. Should be removed when included in patch package. >+ epatch "${FILESDIR}/python-2.7-aix-multiprocessing.patch" > > # need this to have _NSGetEnviron being used, which by default isn't, also > # in a non-Framework build (use !aqua) upstream doesn't build like this
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 378915
: 283015