[Top][All Lists]

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

Re: patch versions [Was: Re: color in subwindows]

From: D. Stimits
Subject: Re: patch versions [Was: Re: color in subwindows]
Date: Tue, 17 Jun 2003 15:20:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021018

Apparently this was not a fix. I rebuilt from patch-5.3-20030510.sh, ncurses-5.3-20030517.patch.gz, ncurses-5.3-20030524.patch.gz, ncurses-5.3-20030531.patch.gz, ncurses-20030607.patch.gz, and ncurses-20030614.patch.gz.

With all of the above patches, it still fails to compile a const version. I have not figured out yet why this happens, but I am now even more interested in the source file ncurses/llib-lncurses, and how it is generated or used.

D. Stimits, stimits AT attbi DOT com


> the key, as on the older one it has this:
> #undef mvprintw
> int     mvprintw(
>                 int     y,
>                 int     x,
>                 char    *fmt,
>                 ...)
>                 { return(*(int *)0); }
> On this older one it removes the const version and puts non-const back
> in. I guess what I need is a new rpm based on all of the patches that
> have been out since 5.3, rather than one based on only part of the
> patches.

I'm digging in to the RPM spec file, from which there is this excerpt
for patches:

Name: ncurses
Version: 5.3
%define PATCHDATE 20021231
Release: 4
License: distributable
Group: System Environment/Libraries
URL: http://dickey.his.com/ncurses/ncurses.html
Source0: ftp://dickey.his.com/ncurses/ncurses-5.3.tar.bz2
Source2: ncurses-linux
Source3: ncurses-linux-m
Source4: ncurses-resetall.sh
Patch1: ftp://dickey.his.com/ncurses/5.3/patch-5.3-%{PATCHDATE}.sh.gz
Patch2: ftp://dickey.his.com/ncurses/5.3/ncurses-5.3-20030105.patch.gz
Patch3: ftp://dickey.his.com/ncurses/5.3/ncurses-5.3-20030111.patch.gz
Patch4: ftp://dickey.his.com/ncurses/5.3/ncurses-5.3-20030118.patch.gz
Patch11: ncurses-5.2-rxvt.patch
Patch12: ncurses-5.2-nocbt.patch
Patch13: ncurses-5.3-autoconf25.patch
Patch14: ncurses-5.3-20030131-terminfo.patch
zcat %{PATCH1} |sh
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch13 -p1 -b .ac25
%patch14 -p1 -b .rh

My knowledge of rpm internals is very limited, but it seems that in the
above ftp URL references that the rollup patch-5.3-20021231.sh is being
used, followed by three other patches from 2003. However, when I go to
the ftp URL, those patches (beyond the rollup patch named above) are not
available. Were patches 20030105, 200030111, and 20030118 replaced with
other patches? I see several ncurses-5.3-2003xxxx patches, and some
patch-5.3-2003xxxx.sh patches, which are more current.

D. Stimits, stimits AT attbi DOT com

Bug-ncurses mailing list

reply via email to

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