Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205604 Details for
Bug 286943
python-2.6.2-r2 lacks alloca.h check
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ctypes patch for FreeBSD without alloca.h
python-2.6.2-ctypes-alloca.patch (text/plain), 1.16 KB, created by
Michael Yang
on 2009-09-29 15:28:06 UTC
(
hide
)
Description:
ctypes patch for FreeBSD without alloca.h
Filename:
MIME Type:
Creator:
Michael Yang
Created:
2009-09-29 15:28:06 UTC
Size:
1.16 KB
patch
obsolete
>--- Python-2.6.2/Modules/_ctypes/_ctypes.c.orig 2009-07-27 16:41:12.000000000 -0400 >+++ Python-2.6.2/Modules/_ctypes/_ctypes.c 2009-07-27 16:42:04.000000000 -0400 >@@ -125,9 +125,9 @@ > #else > # include "ctypes_dlfcn.h" > #endif >-/* #ifdef HAVE_ALLOCA_H */ >+#ifdef HAVE_ALLOCA_H > #include <alloca.h> >-/* #endif */ >+#endif > #include "ctypes.h" > > PyObject *PyExc_ArgError; >--- Python-2.6.2/Modules/_ctypes/stgdict.c.orig 2009-07-27 16:41:06.000000000 -0400 >+++ Python-2.6.2/Modules/_ctypes/stgdict.c 2009-07-27 16:41:49.000000000 -0400 >@@ -8,9 +8,9 @@ > #include <windows.h> > #include <malloc.h> > #endif >-/* #ifdef HAVE_ALLOCA_H */ >+#ifdef HAVE_ALLOCA_H > #include <alloca.h> >-/* #endif */ >+#endif > #include "ctypes.h" > > /******************************************************************/ >--- Python-2.6.2/Modules/_ctypes/callproc.c.orig 2009-07-27 16:41:00.000000000 -0400 >+++ Python-2.6.2/Modules/_ctypes/callproc.c 2009-07-27 16:41:24.000000000 -0400 >@@ -73,9 +73,9 @@ > #include <malloc.h> > #endif > >-/* #ifdef HAVE_ALLOCA_H */ >+#ifdef HAVE_ALLOCA_H > #include <alloca.h> >-/* #endif */ >+#endif > > #include <ffi.h> > #include "ctypes.h"
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 286943
:
205602
| 205604