diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-irc/weechat/files | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-irc/weechat/files')
-rw-r--r-- | net-irc/weechat/files/weechat-2.2-tinfo.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net-irc/weechat/files/weechat-2.2-tinfo.patch b/net-irc/weechat/files/weechat-2.2-tinfo.patch deleted file mode 100644 index aee651911ce7..000000000000 --- a/net-irc/weechat/files/weechat-2.2-tinfo.patch +++ /dev/null @@ -1,28 +0,0 @@ -Use pkgconfig to find ncurses libs in order to support separate libtinfo. - ---- weechat-2.1/src/gui/curses/normal/CMakeLists.txt -+++ weechat-2.1/src/gui/curses/normal/CMakeLists.txt -@@ -32,7 +32,13 @@ - ../gui-curses-window.c - ) - --find_package(Ncurses) -+find_package(PkgConfig) -+pkg_search_module(NCURSES ncursesw ncurses) -+ -+if(NOT NCURSES_FOUND) -+ find_package(Ncurses) -+endif(NOT NCURSES_FOUND) -+ - if(NCURSES_FOUND) - check_include_files(ncursesw/ncurses.h NCURSESW_HEADERS) - if(NCURSESW_HEADERS) -@@ -57,7 +63,7 @@ - - add_dependencies(${EXECUTABLE} weechat_gui_curses_normal) - --list(APPEND EXTRA_LIBS ${NCURSES_LIBRARY}) -+list(APPEND EXTRA_LIBS ${NCURSES_LIBRARY} ${NCURSES_LIBRARIES}) - - # Due to circular references, we must link two times with libweechat_core.a and libweechat_gui_common.a - target_link_libraries(${EXECUTABLE} ${STATIC_LIBS} weechat_gui_curses_normal ${EXTRA_LIBS} ${STATIC_LIBS}) |