[mpm-itk] can't patch apache souces with itk FAILED -- saving rejects to file server/mpm/config.m4.rej

Light yaestsvet at yandex.ru
Sat Jul 2 20:14:40 CEST 2011


Hello!

I have downloaded apache source files httpd-2.2.19. Than I have tried to 
patch

atch -p1 < apache2.2-mpm-itk-2.2.17-01.patch
patching file server/mpm/experimental/itk/Makefile.in
patching file server/mpm/experimental/itk/config.m4
patching file server/mpm/experimental/itk/itk.c
patching file server/mpm/experimental/itk/mpm.h
patching file server/mpm/experimental/itk/mpm_default.h
patching file server/mpm/config.m4
Hunk #1 FAILED at 1.
1 out of 3 hunks FAILED -- saving rejects to file server/mpm/config.m4.rej
patching file include/http_request.h
patching file server/request.c
patching file server/config.c


"1 out of 3 hunks FAILED -- saving rejects to file 
server/mpm/config.m4.rej"

  please help me to fix this error


the content of server/mpm/config.m4.rej file:

  cat server/mpm/config.m4.rej
***************
*** 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}),[
     APACHE_MPM=$withval
   ],[
     if test "x$APACHE_MPM" = "x"; then
--- 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|itk}),[
     APACHE_MPM=$withval
   ],[
     if test "x$APACHE_MPM" = "x"; then






More information about the mpm-itk mailing list