net-irc/weechat: version bump
Package-Manager: portage-2.2.26
This commit is contained in:
parent
ade1d44f2a
commit
f7b0ed39a3
4 changed files with 201 additions and 0 deletions
32
net-irc/weechat/files/weechat-1.2-tinfo.patch
Normal file
32
net-irc/weechat/files/weechat-1.2-tinfo.patch
Normal file
|
|
@ -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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue