CVS: moonbase/devel/mod_python mod_python-3.0.3.patch, NONE, 1.1 BUILD, 1.3, 1.4

jmhodges at lunar-linux.org jmhodges at lunar-linux.org
Mon Sep 29 20:36:01 GMT 2003


Update of /var/cvs/lunar/moonbase/devel/mod_python
In directory dbguin.lunar-linux.org:/tmp/cvs-serv21979

Modified Files:
	BUILD 
Added Files:
	mod_python-3.0.3.patch 
Log Message:
now it compiles! LONG_LONG set to PY_LONG_LONG (change in vars in new 
Python release)


--- NEW FILE: mod_python-3.0.3.patch ---
--- src/include/mod_python.h   2002-11-07 19:15:11.000000000 -0500
+++ src/include/mod_python.h        2003-09-29 16:29:33.000000000 -0400 
@@ -100,6 +100,10 @@
 #include <sys/socket.h>
 #endif
 
+/* python 2.3 no longer defines LONG_LONG, it defines PY_LONG_LONG */
+#ifndef LONG_LONG
+#define LONG_LONG PY_LONG_LONG
+#endif
 /* _apache initialization function */
 void init_apache(void);


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/mod_python/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD	29 Sep 2003 20:11:51 -0000	1.3
+++ BUILD	29 Sep 2003 20:35:59 -0000	1.4
@@ -1,6 +1,6 @@
 (
-
-  export OPTS="$OPTS --with-apxs=/usr/sbin/apxs"
+  patch_it $SCRIPT_DIRECTORY/mod_python-3.0.3.patch 0 &&
+  export OPTS="$OPTS --with-apxs=/usr/sbin/apxs" &&
   default_build
 
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list