Carlos O'Donell 33fde8
This package supports working with patch files using quilt.
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
To regenerate the quilt series file run:
Carlos O'Donell 33fde8
./gen-quilt-series.sh
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Setup environment:
Carlos O'Donell 33fde8
export QUILT_PATCHES=$PWD
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Setup the source:
Carlos O'Donell 0457f6
./quilt-patch.sh [-f]
Carlos O'Donell 0457f6
Carlos O'Donell 0457f6
Use `-f` if you want to have quilt-patch always remove the existing
Carlos O'Donell 0457f6
source directory before starting. Otherwise you'll be patching on top of
Carlos O'Donell 0457f6
an already patched tree generated perhaps by `*pkg prep`.
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Create a new patch:
Carlos O'Donell 33fde8
cd glibc-2.17-c758a686/
Carlos O'Donell 33fde8
quilt new glibc-rh1234622.patch
Carlos O'Donell 33fde8
quilt add ports/sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist
Carlos O'Donell 33fde8
vi ports/sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist
Carlos O'Donell 33fde8
quilt refresh
Carlos O'Donell 33fde8
cd ..
Carlos O'Donell 33fde8
git add glibc-rh1234622.patch
Carlos O'Donell 33fde8
<Then edit the glibc.spec file to build with the new patch>
Carlos O'Donell 33fde8
e.g.
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
PatchXXXX: glibc-rh1234622.patch
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
%patchXXXX -p1
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
git add glibc.spec
Carlos O'Donell 33fde8
git commit
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
You're done!