I create new handler for nALFS - autopatch. It useful for me, maybe it will 
useful for others users nALFS.

Example

with patch:

<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-rtld-search-dirs-patch;</param>
</patch>
<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-fix-testsuite-patch;</param>
</patch>
<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-tls-assert-patch;</param>
</patch>


with autopath:

<autopatch>
        <path>&packages_dir;</path>
        <pattern>glibc-&glibc-version;-*patch*</pattern>
</autopatch>

This apply all patch that match a wildcard pattern. Also supported bz2 and gz 
patches.
You can add/remove patches without edit profile.

Compile with nALFS-SVN:
./bootstrap
patch -p1 -i nALFS-autopatch.patch
./bootstrap
./configure
make
make install

Compile with nALFS-1.2.6:
Need all bootstrap* and M4 directory from SVN.
patch -p1 -i nALFS-autopatch.patch
./bootstrap
./configure
make
make install


P.S. Sorry my english :)

Attachment: nALFS-autopatch.patch
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to