Re: Applying Debian glibc patches on a non-Debian machine
At Sun, 25 Jan 2004 16:26:13 +0000 (GMT),
Stuart Winter wrote:
> However, because I do not have the Debian dpkg- utilities, I can't
> do this.
>
> Instead, what I have tried so far is:
>
> tar zxf ../glibc_2.3.2.ds1.orig.tar.gz
> cd glibc-2.3.2.ds1
> /bin/sh prep.sh
> zcat ../../glibc_2.3.2.ds1-11.diff.gz | patch -p1
>
> # Delete non-ARM patches:
> ( cd debian/patches
> rm -rf *cvs* *sparc* *alpha* *s390* *mips* *hppa* *m68k* *?86* *powerpc*
> )
You shouldn't remove such patches. Sometimes one patch depends
another patch.
> DPATCHES="$( grep -v '^#' ../debian/patches/00list )"
> for pf in ${DPATCHES}; do
> if [ -s debian/patches/${pf}.dpatch ]; then
> /bin/bash debian/patches/${pf}.dpatch -patch glibc-2.3.2
> fi
> done
>
> This causes various errors - mainly files not being found and so on.
Look at each dpatch. I guess you did something wrong, try:
cd glibc-2.3.2.ds1
bash ../debian/patches/10_cvs.dpatch -patch .
Regards,
-- gotom
Reply to: