cvs commit: patches/mod_python mod_python-3.0.3-python23-1.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Sep 1 23:38:00 PDT 2003


tushar      03/09/02 00:38:00

  Added:       mod_python mod_python-3.0.3-python23-1.patch
  Log:
  added mod_python-3.0.3-python23-1.patch
  
  Revision  Changes    Path
  1.1                  patches/mod_python/mod_python-3.0.3-python23-1.patch
  
  Index: mod_python-3.0.3-python23-1.patch
  ===================================================================
  Submitted By: Jim Gifford (patches at jg555 dot com)
  Date: 2003-08-11
  Initial Package Version: 3.0.3
  Origin: Python Web Site
  Description: Fixes Compile Issue with Python 2.3
  
  diff -Naur mod_python-3.0.3.orig/src/include/mod_python.h mod_python-3.0.3/src/include/mod_python.h
  --- mod_python-3.0.3.orig/src/include/mod_python.h	2002-11-07 16:15:11.000000000 -0000
  +++ mod_python-3.0.3/src/include/mod_python.h	2003-08-11 06:30:12.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;
  
  
  



More information about the patches mailing list