From 4f0ad0ef44683b364e7e6e00b147d4298f57cfe7 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Sun, 14 Sep 2003 20:23:52 +0000 Subject: [PATCH] - Python 2.3 renamed LONG_LONG to PY_LONG_LONG and because of this 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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 apache-mod_python-LONG.patch diff --git a/apache-mod_python-LONG.patch b/apache-mod_python-LONG.patch new file mode 100644 index 0000000..f40c621 --- /dev/null +++ b/apache-mod_python-LONG.patch @@ -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; -- 2.43.0