diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-irc/weechat/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-irc/weechat/files')
-rw-r--r-- | net-irc/weechat/files/weechat-1.2-tinfo.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-irc/weechat/files/weechat-1.2-tinfo.patch b/net-irc/weechat/files/weechat-1.2-tinfo.patch new file mode 100644 index 000000000000..e6ae9e0f205b --- /dev/null +++ b/net-irc/weechat/files/weechat-1.2-tinfo.patch @@ -0,0 +1,32 @@ + src/gui/curses/CMakeLists.txt | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt +index 284956f..492fc77 100644 +--- a/src/gui/curses/CMakeLists.txt ++++ b/src/gui/curses/CMakeLists.txt +@@ -35,7 +35,14 @@ main.c) + + set(EXECUTABLE weechat) + +-find_package(Ncurses) ++ ++find_package(PkgConfig) ++pkg_search_module(NCURSES ncursesw ncurses) ++ ++if(NOT NCURSES_FOUND) ++ find_package(Ncurses) ++endif(NCURSES_FOUND) ++ + if(NCURSES_FOUND) + check_include_files(ncursesw/ncurses.h NCURSESW_HEADERS) + if(NCURSESW_HEADERS) +@@ -46,7 +53,7 @@ if(NCURSES_FOUND) + add_definitions(-DHAVE_NCURSES_H) + endif() + endif() +- list(APPEND EXTRA_LIBS ${NCURSES_LIBRARY}) ++ list(APPEND EXTRA_LIBS ${NCURSES_LIBRARY} ${NCURSES_LIBRARIES} ) + endif() + + if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") |