FreeBSD Bugzilla – Attachment 110442 Details for
Bug 151597
[patch] can't build devel/py-jsonlib with python 2.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 371 bytes, created by
Ilya A. Arhipov
on 2010-10-20 12:50:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ilya A. Arhipov
Created:
2010-10-20 12:50:07 UTC
Size:
371 bytes
patch
obsolete
>--- _jsonlib.c.orig 2010-10-20 11:09:48.792940743 +0000 >+++ _jsonlib.c 2010-10-20 11:11:06.166556561 +0000 >@@ -21,6 +21,12 @@ > #include <ctype.h> > #include <math.h> > >+#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) >+typedef int Py_ssize_t; >+#define PY_SSIZE_T_MAX INT_MAX >+#define PY_SSIZE_T_MIN INT_MIN >+#endif >+ > /* Parser {{{ */ > typedef struct _Parser > {
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 151597
: 110442