mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
@@ -15,6 +15,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
== Version 0.4.4 (under dev)
|
||||
|
||||
* core: fix compilation on SmartOS (bug #40981, closes #23)
|
||||
* core: add missing \0 at the end of stderr buffer in hook_process
|
||||
* core: fix highlight problem with "(?-i)" and upper case letters in option
|
||||
weechat.look.highlight (closes #24)
|
||||
|
||||
@@ -26,6 +26,13 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
/* _XPG4_2 is needed on SunOS for macros like CMSG_SPACE */
|
||||
/* __EXTENSIONS__ is needed on SunOS for constants like NI_MAXHOST */
|
||||
#ifdef __sun
|
||||
#define _XPG4_2
|
||||
#define __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -53,6 +53,10 @@ IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
ENDIF(HAVE_BACKTRACE)
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
|
||||
IF(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
|
||||
LIST(APPEND EXTRA_LIBS "socket" "nsl")
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
|
||||
|
||||
LIST(APPEND EXTRA_LIBS "pthread")
|
||||
|
||||
IF(ICONV_LIBRARY)
|
||||
|
||||
@@ -24,7 +24,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NCURSESW_CURSES_H
|
||||
#ifdef __sun
|
||||
#include <ncurses/term.h>
|
||||
#else
|
||||
#include <ncursesw/term.h>
|
||||
#endif
|
||||
#else
|
||||
#include <term.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user