Fredrik Fornwall
5 years ago
5 changed files with 75 additions and 1122 deletions
@ -0,0 +1,30 @@ |
|||||
|
diff -u -r ../weechat-2.7/cmake/FindGettext.cmake ./cmake/FindGettext.cmake
|
||||
|
--- ../weechat-2.7/cmake/FindGettext.cmake 2019-12-08 08:48:53.000000000 +0000
|
||||
|
+++ ./cmake/FindGettext.cmake 2019-12-11 23:28:42.812654000 +0000
|
||||
|
@@ -46,25 +46,5 @@
|
||||
|
check_include_files(libintl.h HAVE_LIBINTL_H) |
||||
|
|
||||
|
if(HAVE_LIBINTL_H) |
||||
|
- check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
||||
|
- if(LIBC_HAS_DGETTEXT)
|
||||
|
- set(GETTEXT_FOUND TRUE)
|
||||
|
- else()
|
||||
|
- find_library(LIBINTL_LIBRARY NAMES intl
|
||||
|
- PATHS
|
||||
|
- /usr/local/lib
|
||||
|
- /usr/lib
|
||||
|
- )
|
||||
|
- if(LIBINTL_LIBRARY)
|
||||
|
- if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
|
- set(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||
|
- check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
|
- else()
|
||||
|
- check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
|
- endif()
|
||||
|
- if(LIBINTL_HAS_DGETTEXT)
|
||||
|
- set(GETTEXT_FOUND TRUE)
|
||||
|
- endif()
|
||||
|
- endif()
|
||||
|
- endif()
|
||||
|
+ set(GETTEXT_FOUND TRUE)
|
||||
|
endif() |
@ -1,12 +1,12 @@ |
|||||
diff -u -r ../weechat-1.1.1/src/gui/curses/CMakeLists.txt ./src/gui/curses/CMakeLists.txt
|
diff -u -r ../weechat-2.7/src/gui/curses/CMakeLists.txt ./src/gui/curses/CMakeLists.txt
|
||||
--- ../weechat-1.1.1/src/gui/curses/CMakeLists.txt 2015-01-25 02:40:23.000000000 -0500
|
--- ../weechat-2.7/src/gui/curses/CMakeLists.txt 2019-12-08 08:48:53.000000000 +0000
|
||||
+++ ./src/gui/curses/CMakeLists.txt 2015-05-05 14:18:28.743723739 -0400
|
+++ ./src/gui/curses/CMakeLists.txt 2019-12-11 23:30:56.807370000 +0000
|
||||
@@ -59,8 +59,6 @@
|
@@ -31,7 +31,7 @@
|
||||
list(APPEND EXTRA_LIBS "socket" "nsl") |
list(APPEND EXTRA_LIBS "network") |
||||
endif() |
endif() |
||||
|
|
||||
-list(APPEND EXTRA_LIBS "pthread")
|
-if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Haiku")
|
||||
-
|
+if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Haiku" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Android")
|
||||
if(ICONV_LIBRARY) |
list(APPEND EXTRA_LIBS "pthread") |
||||
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY}) |
|
||||
endif() |
endif() |
||||
|
|
||||
|
File diff suppressed because it is too large
Loading…
Reference in new issue