]> git.pld-linux.org Git - packages/apache-mod_python.git/commitdiff
- Python 2.3 renamed LONG_LONG to PY_LONG_LONG and because of this
authordjrzulf <djrzulf@pld-linux.org>
Sun, 14 Sep 2003 20:23:52 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  mod_python won't compile
NOTE:
Generally, we recommend holding off on upgrading to Python 2.3 until
next release of mod_python (3.1). Python 2.3 has a few areas that are
backwards incompatible, and it's possible that mod_python 3.0.3 won't
work correctly.

Changed files:
    apache-mod_python-LONG.patch -> 1.1

apache-mod_python-LONG.patch [new file with mode: 0644]

diff --git a/apache-mod_python-LONG.patch b/apache-mod_python-LONG.patch
new file mode 100644 (file)
index 0000000..f40c621
--- /dev/null
@@ -0,0 +1,14 @@
+--- mod_python-3.0.3/src/include/mod_python.h~ 2003-09-14 20:11:08.000000000 +0000
++++ mod_python-3.0.3/src/include/mod_python.h  2003-09-14 20:12:54.000000000 +0000
+@@ -138,6 +138,11 @@
+ #define SILENT 0
+ #define NOTSILENT 1
++/* python 2.3 no longer defines LONG_LONG, it defines PY_LONG_LONG */
++#ifndef LONG_LONG
++#define LONG_LONG PY_LONG_LONG
++#endif
++
+ /* structure to hold interpreter data */
+ typedef struct {
+     PyInterpreterState *istate;
This page took 0.09809 seconds and 4 git commands to generate.