[cmake-developers] HP-UX Curses questions
Brad King
brad.king at kitware.com
Mon Nov 17 10:36:34 EST 2014
On 11/17/2014 06:11 AM, Ådne Hovda wrote:
> In order to use cur_colr after 10.10 you should use the
> /usr/include/curses_colr when compiling. Since FindCurses doesn't even
> search that path I suggest either to take out the library block
> completely, since the support for cur_colr has never been complete or
Thanks. I've applied the FindCurses part of the patch here:
FindCurses: Drop search for deprecated HP-UX cur_colr library
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d931ba60
> diff --git a/Source/CursesDialog/form/form.priv.h
> b/Source/CursesDialog/form/form.priv.h
> index 3691f2f..889c6e4 100644
> --- a/Source/CursesDialog/form/form.priv.h
> +++ b/Source/CursesDialog/form/form.priv.h
> @@ -34,7 +34,7 @@
> #include "form.h"
>
> /* get around odd bug on aCC and itanium */
> -#if defined(__hpux) && defined(__ia64)
> +#if defined(__hpux)
> #define getmaxx __getmaxx
> #define getmaxy __getmaxy
> #endif
What is the purpose of this part of the change? Should this block
be conditional on use of cur_colr?
Thanks,
-Brad
More information about the cmake-developers
mailing list