From ca95f2fd94d39199760da196e78dd36c6ef6811754074901ded512c1ba35bc67 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 7 May 2010 17:22:34 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=24 --- ncurses-5.7-pthread.dif | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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