
Chapter 3. Porting Open Source Software to AIX 69
Patch #0 (apache_1.3.20-perlpath.patch):
+ patch -p1 -s
+ 0< /opt/freeware/src/packages/SOURCES/apache_1.3.20-perlpath.patch
+ exit 0
At the end of the process, we can see that the %patch macro displays a
message showing that the patch is being applied and then invoke the
patch
command to do its job. If we expand the patch command, it should produce an
output that looks similar to Example 3-5.
Example 3-5 patch command output
Processing... Looks like a new-style context diff...
The text leading up to this was:
--------------------------
|Index: apache_1.3.19/htdocs/manual/search/manual-index.cgi
|diff ...