[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cygwin Package ncurses 6.3-20221224 ABI > 9 config patches
From: |
Brian Inglis |
Subject: |
Cygwin Package ncurses 6.3-20221224 ABI > 9 config patches |
Date: |
Sun, 1 Jan 2023 08:19:36 -0700 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
Happy New Year Thomas,
Just catching up on the latest package updates over the holiday season.
When building ncurses 6.3-20221224, got compile errors with
NCURSES_MOUSE_VERSION not set in curses.h, coming from configure.in, autoconf
generated as configure, run with option --with-abi-version=10, which has an
issue with the case $cf_cv_abi_version block setting only for ABI 5-9.
I fixed my issue by setting the variable in a case branch handling 1[0-9],
initially to 4, but that is checked and reset to '', so set to 3, although it
should probably be 2 as the ABI version is originally 6.
I attach my patches for configure.in, and configure, as I can not autoreconf
your setup, as even when limited autoreconf to 2.5? is requested, Cygwin changes
to handle PE builds and other oddities break the build.
The package was maintained by Yaakov Selkowitz until his recent RedHat and
personal commitments got too much for him to deal with Cygwin as a volunteer,
and used ABI version 8 up to version 5.6, going to 10 in version 5.9.
A better approach than my patch would be to use the original ABI version
determined by configure to set the NCURSES_MOUSE_VERSION, before being
overridden by the option, but I am too inexperienced using autoconf, so could
not even suggest a patch which knows where to use or how to save the original
ABI version to do that.
My current Cygwin cygport package build control script definitions are at:
https://cygwin.com/git/?p=git/cygwin-packages/ncurses.git;a=shortlog;h=refs/heads/playground
the latest version made available only for testing initially, any issues having
high impact, used in base packages like readline, bash and other interactive
shells, and many character screen apps like editors and Internet clients.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
ncurses-configure.in-mouse-version-abi-10.patch
Description: Text document
ncurses-configure-mouse-version-abi-10.patch
Description: Text document
- Cygwin Package ncurses 6.3-20221224 ABI > 9 config patches,
Brian Inglis <=