Patching Xorg

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Fri Jan 2 12:37:23 PST 2009


Angel Tsankov wrote:
> Ken Moffat wrote:
>> On Thu, Jan 01, 2009 at 11:56:53PM +0200, Angel Tsankov wrote:
>>> How am I supposed to apply the following patch:
>>> http://ftp.x.org/pub/X11R6.8.2/patches/xorg-68x-dbe-render.patch.
>>> I'm particularly interested in the command line arguments to "patch"
>>> and the directory where I should call it.  I tried "patch -Np1 -i
>>> xorg-68x-dbe-render.patch" and "patch -N -i
>>> xorg-68x-dbe-render.patch" in xc, xc/programs, xc/programs/Xserver,
>>> and xc/programs/Xserver/dbe but none of my tries was successful.
>>>
>> We used to have all manner of weirdly-diffed patches in kde
>> security updates. I suppose you will need -Np0 from within
>> xc/programs/Xserver, or
>>
>> pushd xc/programs/Xserver
>> patch -Np0 -i /path/to/patch
>> popd
>>
> Later on, I'll try this and write back what happens.  I thought
> "patch -N" was equivalent to "patch -Np0".
>
Your suggestion seems to help.  Thanks!

The only thing that bothers me now is that I get the following message when
I apply xorg-68x-cidfonts.patch:
Hunk #1 FAILED at 1.

1 out of 6 hunks FAILED -- saving rejects to file
lib/font/Type1/scanfont.c.rej

The failed hunk is about some comments, so I guess it is not significant.

Angel Tsankov 




More information about the lfs-chat mailing list