aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-02 12:41:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-02 12:41:23 +0000
commit169b985e5d05eba2054661b09fa9d1c5c32bc102 (patch)
tree9d545d4b0af583a083964d4405efa4231549332d /main/apache2
parent14d8b3ce0d0c7c58bf88f7497905e44f222409a7 (diff)
downloadaports-169b985e5d05eba2054661b09fa9d1c5c32bc102.tar.bz2
aports-169b985e5d05eba2054661b09fa9d1c5c32bc102.tar.xz
main/apache2: add missing patch
Diffstat (limited to 'main/apache2')
-rw-r--r--main/apache2/03-add-mpm-to-build-system.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/apache2/03-add-mpm-to-build-system.patch b/main/apache2/03-add-mpm-to-build-system.patch
new file mode 100644
index 0000000000..974c50eb46
--- /dev/null
+++ b/main/apache2/03-add-mpm-to-build-system.patch
@@ -0,0 +1,25 @@
+Add the new MPM to the build system as an alternative to the other MPMs,
+and mark it as experimental.
+
+Index: apache2.2/server/mpm/config.m4
+===================================================================
+--- apache2.2.orig/server/mpm/config.m4 2007-01-29 21:30:26.000000000 +0100
++++ apache2.2/server/mpm/config.m4 2007-01-29 21:30:35.000000000 +0100
+@@ -1,7 +1,7 @@
+ AC_MSG_CHECKING(which MPM to use)
+ AC_ARG_WITH(mpm,
+ APACHE_HELP_STRING(--with-mpm=MPM,Choose the process model for Apache to use.
+- MPM={beos|event|worker|prefork|mpmt_os2|winnt}),[
++ MPM={beos|event|worker|prefork|mpmt_os2|winnt|itk}),[
+ APACHE_MPM=$withval
+ ],[
+ if test "x$APACHE_MPM" = "x"; then
+@@ -23,7 +23,7 @@
+
+ ap_mpm_is_experimental ()
+ {
+- if test "$apache_cv_mpm" = "event" ; then
++ if test "$apache_cv_mpm" = "event" -o "$apache_cv_mpm" = "itk" ; then
+ return 0
+ else
+ return 1