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

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to