diff --git a/ncurses-5.7-pthread.dif b/ncurses-5.7-pthread.dif index db39268..e15366e 100644 --- a/ncurses-5.7-pthread.dif +++ b/ncurses-5.7-pthread.dif @@ -53,15 +53,18 @@ TR(TRACE_IEVENT, --- ncurses/curses.priv.h +++ ncurses/curses.priv.h 2010-05-07 18:51:15.686924218 +0200 -@@ -448,6 +448,7 @@ extern NCURSES_EXPORT(int) _nc_mutex_unl +@@ -448,8 +448,10 @@ extern NCURSES_EXPORT(int) _nc_mutex_unl #endif #ifdef USE_PTHREADS +# define USE_EINTR # if USE_WEAK_SYMBOLS weak_symbol(pthread_sigmask); ++weak_symbol(pthread_kill); weak_symbol(pthread_self); -@@ -471,6 +472,38 @@ extern NCURSES_EXPORT(int) _nc_sigprocma + weak_symbol(pthread_equal); + weak_symbol(pthread_mutex_init); +@@ -471,6 +473,38 @@ extern NCURSES_EXPORT(int) _nc_sigprocma #else /* !USE_PTHREADS */ @@ -100,7 +103,7 @@ #define _nc_init_pthreads() /* nothing */ #define _nc_mutex_init(obj) /* nothing */ -@@ -798,6 +831,9 @@ typedef struct { +@@ -798,6 +832,9 @@ typedef struct { int use_pthreads; #define _nc_use_pthreads _nc_globals.use_pthreads #endif