FreeBSD Bugzilla – Attachment 64395 Details for
Bug 95779
[PATCH] lang/python: Some portlint fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
python-2.4.3.patch
python-2.4.3.patch (text/plain), 4.52 KB, created by
Alexander Botero-Lowry
on 2006-04-15 04:20:14 UTC
(
hide
)
Description:
python-2.4.3.patch
Filename:
MIME Type:
Creator:
Alexander Botero-Lowry
Created:
2006-04-15 04:20:14 UTC
Size:
4.52 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/lang/python/Makefile /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/Makefile >--- /usr/ports/lang/python/Makefile Sat Apr 1 00:42:40 2006 >+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/Makefile Fri Apr 14 20:15:32 2006 >@@ -29,7 +29,6 @@ > USE_PYTHON= yes > PYTHON_VERSION= python2.4 > PYTHON_NO_DEPENDS= yes >-USE_REINPLACE= yes > > SHARED_WRKSRC= ${WRKSRC}/build.shared > PLIST= ${WRKDIR}/pkg-plist >@@ -94,13 +93,13 @@ > .endif > > .if !defined(WITHOUT_IPV6) && ${OSVERSION} >= 400014 >-CONFIGURE_ARGS+= --enable-ipv6 >+CONFIGURE_ARGS+= --enable-ipv6 > .else >-CONFIGURE_ARGS+= --disable-ipv6 >+CONFIGURE_ARGS+= --disable-ipv6 > .endif > > .if defined(WITH_FPECTL) >-CONFIGURE_ARGS+= --with-fpectl >+CONFIGURE_ARGS+= --with-fpectl > .endif > > .if ${OSVERSION} >= 700000 >diff -ruN --exclude=CVS /usr/ports/lang/python/files/patch-Modules::socketmodule.c /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Modules::socketmodule.c >--- /usr/ports/lang/python/files/patch-Modules::socketmodule.c Sun Oct 2 07:31:39 2005 >+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Modules::socketmodule.c Wed Dec 31 16:00:00 1969 >@@ -1,13 +0,0 @@ >---- Modules/socketmodule.c.orig Sun Oct 2 21:49:22 2005 >-+++ Modules/socketmodule.c Sun Oct 2 21:50:01 2005 >-@@ -142,7 +142,9 @@ >- >- /* On systems on which getaddrinfo() is believed to not be thread-safe, >- (this includes the getaddrinfo emulation) protect access with a lock. */ >--#if defined(WITH_THREAD) && (defined(__APPLE__) || defined(__FreeBSD__) || \ >-+#include <sys/param.h> >-+#if defined(WITH_THREAD) && (defined(__APPLE__) || \ >-+ (defined(__FreeBSD__) && __FreeBSD_version+0 < 503000) || \ >- defined(__OpenBSD__) || defined(__NetBSD__) || !defined(HAVE_GETADDRINFO)) >- #define USE_GETADDRINFO_LOCK >- #endif >diff -ruN --exclude=CVS /usr/ports/lang/python/files/patch-Modules_socketmodule.c /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Modules_socketmodule.c >--- /usr/ports/lang/python/files/patch-Modules_socketmodule.c Wed Dec 31 16:00:00 1969 >+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Modules_socketmodule.c Sun Oct 2 07:31:39 2005 >@@ -0,0 +1,13 @@ >+--- Modules/socketmodule.c.orig Sun Oct 2 21:49:22 2005 >++++ Modules/socketmodule.c Sun Oct 2 21:50:01 2005 >+@@ -142,7 +142,9 @@ >+ >+ /* On systems on which getaddrinfo() is believed to not be thread-safe, >+ (this includes the getaddrinfo emulation) protect access with a lock. */ >+-#if defined(WITH_THREAD) && (defined(__APPLE__) || defined(__FreeBSD__) || \ >++#include <sys/param.h> >++#if defined(WITH_THREAD) && (defined(__APPLE__) || \ >++ (defined(__FreeBSD__) && __FreeBSD_version+0 < 503000) || \ >+ defined(__OpenBSD__) || defined(__NetBSD__) || !defined(HAVE_GETADDRINFO)) >+ #define USE_GETADDRINFO_LOCK >+ #endif >diff -ruN --exclude=CVS /usr/ports/lang/python/files/patch-Python::ceval.c /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Python::ceval.c >--- /usr/ports/lang/python/files/patch-Python::ceval.c Wed Dec 1 07:04:05 2004 >+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Python::ceval.c Wed Dec 31 16:00:00 1969 >@@ -1,16 +0,0 @@ >---- Python/ceval.c.orig Wed Nov 24 03:06:08 2004 >-+++ Python/ceval.c Wed Dec 1 22:29:37 2004 >-@@ -414,8 +414,11 @@ >- >- /* The interpreter's recursion limit */ >- >--static int recursion_limit = 1000; >--int _Py_CheckRecursionLimit = 1000; >-+#ifndef PYTHON_DEFAULT_RECURSION_LIMIT >-+#define PYTHON_DEFAULT_RECURSION_LIMIT 1000 >-+#endif >-+static int recursion_limit = PYTHON_DEFAULT_RECURSION_LIMIT; >-+int _Py_CheckRecursionLimit = PYTHON_DEFAULT_RECURSION_LIMIT; >- >- int >- Py_GetRecursionLimit(void) >diff -ruN --exclude=CVS /usr/ports/lang/python/files/patch-Python_ceval.c /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Python_ceval.c >--- /usr/ports/lang/python/files/patch-Python_ceval.c Wed Dec 31 16:00:00 1969 >+++ /usr/local/tinderbox/portstrees/FreeBSD/ports/lang/python/files/patch-Python_ceval.c Wed Dec 1 07:04:05 2004 >@@ -0,0 +1,16 @@ >+--- Python/ceval.c.orig Wed Nov 24 03:06:08 2004 >++++ Python/ceval.c Wed Dec 1 22:29:37 2004 >+@@ -414,8 +414,11 @@ >+ >+ /* The interpreter's recursion limit */ >+ >+-static int recursion_limit = 1000; >+-int _Py_CheckRecursionLimit = 1000; >++#ifndef PYTHON_DEFAULT_RECURSION_LIMIT >++#define PYTHON_DEFAULT_RECURSION_LIMIT 1000 >++#endif >++static int recursion_limit = PYTHON_DEFAULT_RECURSION_LIMIT; >++int _Py_CheckRecursionLimit = PYTHON_DEFAULT_RECURSION_LIMIT; >+ >+ int >+ Py_GetRecursionLimit(void)
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 95779
: 64395 |
64396