From: Allan Rae Date: Mon, 25 Sep 2000 03:05:21 +0000 (+0000) Subject: libsigc++ update to fix struct timespec bug X-Git-Tag: 1.6.10~21979 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d486ef026e63b4a7d64daaee5f5a46615bca5ee9;p=features.git libsigc++ update to fix struct timespec bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1035 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 9e75660b71..7d4c54ba70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-09-25 Allan Rae + + * sigc++: updated libsigc++. Fixes struct timespec bug. + + * development/tools/makeLyXsigc.sh: .cvsignore addition + 2000-09-23 Lars Gullik Bjønnes * several files: removed almost all traces of the old table diff --git a/development/tools/makeLyXsigc.sh b/development/tools/makeLyXsigc.sh index 84b436ab44..481be41ea6 100644 --- a/development/tools/makeLyXsigc.sh +++ b/development/tools/makeLyXsigc.sh @@ -360,6 +360,7 @@ sigc-config stamp* sigc++config.h sigc++config.h.in +acinclude.m4 EOF ) diff --git a/sigc++/configure.in b/sigc++/configure.in index f0d21b711a..f88125f16f 100644 --- a/sigc++/configure.in +++ b/sigc++/configure.in @@ -33,7 +33,7 @@ dnl dnl Source packaging numbers SIGC_MAJOR_VERSION=1 SIGC_MINOR_VERSION=0 -SIGC_MICRO_VERSION=0 +SIGC_MICRO_VERSION=1 dnl Library extension SIGC_RELEASE=1.0 @@ -609,7 +609,7 @@ ac_thread_mutex_impl_size= ac_thread_thread_attr_size= ac_thread_thread_impl_size= ac_thread_key_impl_size= -' > ac_thread.sh +' > ./ac_thread.sh AC_MSG_ERROR( [You are attempting a cross compile, but the necessary information regarding your thread library is not available. Please fill out the ac_thread.sh file. diff --git a/sigc++/thread.cc b/sigc++/thread.cc index 035a2980b1..43ad7c14ed 100644 --- a/sigc++/thread.cc +++ b/sigc++/thread.cc @@ -53,7 +53,7 @@ Condition::~Condition() int Condition::signal() {return pthread_cond_signal(&cond_);} int Condition::broadcast() {return pthread_cond_broadcast(&cond_);} int Condition::wait(Mutex &m) {return pthread_cond_wait(&cond_,m);} -int Condition::wait(Mutex &m,timespec* spec) +int Condition::wait(Mutex &m,struct timespec* spec) {return pthread_cond_timedwait(&cond_,m,spec);} int Condition::destroy() {return pthread_cond_destroy(&cond_);} diff --git a/sigc++/thread.h b/sigc++/thread.h index 2228c5345c..ae9696a654 100644 --- a/sigc++/thread.h +++ b/sigc++/thread.h @@ -121,7 +121,7 @@ struct Condition // unlocks a mutex while waiting on a condition, then reaquires lock // with a fixed maximum duration. - int wait(Mutex &m,timespec* spec); + int wait(Mutex &m,struct timespec* spec); };