summaryrefslogtreecommitdiff
path: root/chat/weechat/patches/patch-cmake_FindNcurses.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'chat/weechat/patches/patch-cmake_FindNcurses.cmake')
-rw-r--r--chat/weechat/patches/patch-cmake_FindNcurses.cmake13
1 files changed, 11 insertions, 2 deletions
diff --git a/chat/weechat/patches/patch-cmake_FindNcurses.cmake b/chat/weechat/patches/patch-cmake_FindNcurses.cmake
index a20b0dbbd85..dc7842e455b 100644
--- a/chat/weechat/patches/patch-cmake_FindNcurses.cmake
+++ b/chat/weechat/patches/patch-cmake_FindNcurses.cmake
@@ -1,8 +1,8 @@
-$NetBSD: patch-cmake_FindNcurses.cmake,v 1.2 2018/07/23 22:57:22 maya Exp $
+$NetBSD: patch-cmake_FindNcurses.cmake,v 1.3 2019/03/23 14:54:13 nia Exp $
Don't try to look for ncurses.h, so FAKE_NCURSES works for netbsd curses.
---- cmake/FindNcurses.cmake.orig 2018-03-18 06:41:40.000000000 +0000
+--- cmake/FindNcurses.cmake.orig 2019-02-17 07:20:07.000000000 +0000
+++ cmake/FindNcurses.cmake
@@ -22,7 +22,7 @@ if(NCURSES_FOUND)
endif()
@@ -13,3 +13,12 @@ Don't try to look for ncurses.h, so FAKE_NCURSES works for netbsd curses.
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
+@@ -42,7 +42,7 @@ if(NCURSESW_LIBRARY)
+ set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
+ else()
+ find_library(NCURSES_LIBRARY
+- NAMES ncurses
++ NAMES curses ncurses
+ PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
+ )
+ find_package(PkgConfig QUIET)