How to apply patches that are in patches_applied directory

How to apply patches that are in patches_applied directory

am 07.03.2010 19:32:17 von serj

Hi,
There is no instructions how to apply patches
http://www.apache.org/dist/httpd/binaries/win32/patches_appl ied/ to the
source of Apache 2.2.15 before compiling and linking. How can I do it?

I'll compile Apache with Microsoft Visual C++ 2008 Express.

In documentation
(http://httpd.apache.org/docs/2.2/platform/win_compiling.htm l) there is only
information, but there are no instructions how to apply these patches:
-------------------
The httpd binary is built with the help of several patches to third party
packages, which ensure the released code is buildable and debuggable. These
patches are available and distributed from
http://www.apache.org/dist/httpd/binaries/win32/patches_appl ied/ and are
recommended to be applied to obtain identical results as the "official" ASF
distributed binaries.
-----------------

Please, HELP!


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: How to apply patches that are in patches_applied

am 09.03.2010 19:35:07 von Jeff Trawick

2010/3/7 Serj :
> Hi,
> There is no instructions how to apply patches
> http://www.apache.org/dist/httpd/binaries/win32/patches_appl ied/ to the
> source of Apache 2.2.15 before compiling and linking. How can I do it?

Using some good build of GNU patch for Windows (maybe
http://gnuwin32.sourceforge.net/packages/patch.htm ?), cd into each of
the openssl and zlib directories you've created under
httpd-2.2.15/srclib and run something like

patch -p0 --dry-run < /path/to/patchfile

and see if you get any errors. If not, remove "--dry-run" and try again.

(not tested by me)

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: How to apply patches that are in patches_applied directory

am 09.03.2010 21:46:19 von wrowe

On 3/9/2010 12:35 PM, Jeff Trawick wrote:
> 2010/3/7 Serj :
>> Hi,
>> There is no instructions how to apply patches
>> http://www.apache.org/dist/httpd/binaries/win32/patches_appl ied/ to the
>> source of Apache 2.2.15 before compiling and linking. How can I do it?
>
> Using some good build of GNU patch for Windows (maybe
> http://gnuwin32.sourceforge.net/packages/patch.htm ?), cd into each of
> the openssl and zlib directories you've created under
> httpd-2.2.15/srclib and run something like

I avoid gnu myself, because it tends to handle files as unix. My favorite
toolchain is http://unxutils.sourceforge.net/ which handles files in a more
windows-friendly way (but use the same gnu sources and same unix behavior).

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org