* [gentoo-commits] gentoo-x86 commit in www-apache/mod_python/files: mod_python-3.3.1-LDFLAGS.patch mod_python-3.3.1-apache-2.4.patch
@ 2009-08-07 2:41 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-08-07 2:41 UTC (permalink / raw
To: gentoo-commits
arfrever 09/08/07 02:41:29
Added: mod_python-3.3.1-LDFLAGS.patch
mod_python-3.3.1-apache-2.4.patch
Log:
Fix building with some LDFLAGS (bug #238083).
(Portage version: 13943-svn/cvs/Linux x86_64)
Revision Changes Path
1.1 www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/mod_python-3.3.1-LDFLAGS.patch?rev=1.1&content-type=text/plain
Index: mod_python-3.3.1-LDFLAGS.patch
===================================================================
--- configure.in
+++ configure.in
@@ -267,10 +267,7 @@
AC_MSG_CHECKING(linker flags used to link Python)
AC_SUBST(LDFLAGS)
PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
-PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
-LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}"
-LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}"
-AC_MSG_RESULT($PY_LDFLAGS)
+LDFLAGS="${LDFLAGS} ${PyLFS}"
AC_MSG_CHECKING(where Python include files are)
AC_SUBST(INCLUDES)
1.1 www-apache/mod_python/files/mod_python-3.3.1-apache-2.4.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/mod_python-3.3.1-apache-2.4.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/mod_python-3.3.1-apache-2.4.patch?rev=1.1&content-type=text/plain
Index: mod_python-3.3.1-apache-2.4.patch
===================================================================
TODO:
src/requestobject.c uses ap_requires() which has been removed in r368027.
https://svn.apache.org/viewvc?view=rev&revision=368027
--- src/include/mod_python.h
+++ src/include/mod_python.h
@@ -72,6 +72,11 @@
#endif
#endif
+#if !AP_MODULE_MAGIC_AT_LEAST(20081201,0)
+#define ap_unixd_config unixd_config
+#define ap_unixd_set_global_mutex_perms unixd_set_global_mutex_perms
+#endif
+
/* Python headers */
/* this gets rid of some compile warnings */
#if defined(_POSIX_THREADS)
--- src/mod_python.c
+++ src/mod_python.c
@@ -555,14 +555,14 @@
else {
/*XXX As of httpd 2.0.4, the below should be just
- a call to unixd_set_global_mutex_perms(mutex[n]); and
+ a call to ap_unixd_set_global_mutex_perms(mutex[n]); and
nothing else... For now, while 2.0.48 isn't commonplace yet,
this ugly code should be here */
#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
if (!geteuid()) {
- chown(fname, unixd_config.user_id, -1);
- unixd_set_global_mutex_perms(mutex[n]);
+ chown(fname, ap_unixd_config.user_id, -1);
+ ap_unixd_set_global_mutex_perms(mutex[n]);
}
#endif
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-07 2:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07 2:41 [gentoo-commits] gentoo-x86 commit in www-apache/mod_python/files: mod_python-3.3.1-LDFLAGS.patch mod_python-3.3.1-apache-2.4.patch Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox