View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010766CMakeCMakepublic2010-05-26 22:322011-01-12 07:31
ReporterYaakov (Cygwin Ports) 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0010766: Utilities/Release/Cygwin: fix for libncurses10
DescriptionWith the switch to upstream ncurses "ABI 6", Cygwin's ncurses has YA ABI bump and is now libncurses10. However, the regex used in Utilities/Release/Cygwin/CMakeLists.txt to determine which libncurses is being used does not handle multiple-digit ABIs.

libncurses8 was the first version to be built with libtool and therefore contains a hyphen (cygncurses-8.dll). It was first introduced in 2004[1], so it should be sufficiently old to rely on. Furthermore, libncurses7 has a serious flaw in that it completely breaks if rebased.

Therefore IMO the easiest solution is to only look at the hyphened versions and change the regex accordingly. Patch attached.

[1] http://cygwin.com/ml/cygwin/2004-10/msg00674.html [^]
TagsNo tags attached.
Attached Filespatch file icon 2.8.1-cygwin-libncurses.patch [^] (730 bytes) 2010-05-26 22:32 [Show Content]

 Relationships

  Notes
(0024143)
Brad King (manager)
2010-12-15 09:01

Applied, thanks:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0f5c711f [^]

 Issue History
Date Modified Username Field Change
2010-05-26 22:32 Yaakov (Cygwin Ports) New Issue
2010-05-26 22:32 Yaakov (Cygwin Ports) File Added: 2.8.1-cygwin-libncurses.patch
2010-12-14 18:40 David Cole Assigned To => Brad King
2010-12-14 18:40 David Cole Status new => assigned
2010-12-15 09:01 Brad King Note Added: 0024143
2010-12-15 09:01 Brad King Status assigned => closed
2010-12-15 09:01 Brad King Resolution open => fixed
2011-01-12 07:31 David Cole Fixed in Version => CMake 2.8.4
2011-01-12 07:31 David Cole Target Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team