bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question regarding patches


From: Thomas Dickey
Subject: Re: Question regarding patches
Date: Wed, 16 Jun 2004 15:34:31 -0400 (EDT)

On Wed, 16 Jun 2004, Sheikji Nazirudeen wrote:

> Hi,
>  I have recently downloaded ncurses 5.4 and installed on my system. I
> also downloaded a rolloverpatch ( a shell script). Since it did not have
> any instructions on how to go about in applying the patch, I installed
> the patch on the ncurses installation directory and when I ran the patch
> it asks me for the file to patch. I exactly don't know which file to
> patch, any help in this regard would be appreciated. Also instructions
> in applying the weekly patch would also be helpful.
>
> Sheikji Nazirudeen
> IT Analyst
> NSS

hmm - looking at my faq, I don't give a lot of detail,
but enough for some people:

http://invisible-island.net/ncurses/ncurses.faq.html#where_patches

There are two types of patches: the rollups (which are cumulative since
the last release) and weekly patches (most weeks, anyway).  A rollup
patch with the same date as a weekly patch includes that patch.  Since
they're named consistently, a simple for-loop gets all of the in the
proper order, e.g., (assuming they're all in the parent directory above
ncurses-5.4, and that there're no duplicates):

        cd ncurses-5.4
        sh ../patch-5.4-20040424.sh
        for i in ../*.patch.gz ; do gzip -dc $i | patch -p1 ; done

You need GNU patch for this (the antique 'patch' program that came with
X11R5 won't work).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]