From 5a2e15301ab34ffe6a33a00f837ae9415230bad7 Mon Sep 17 00:00:00 2001 From: g0dil <g0dil@wiback.org> Date: Tue, 4 Sep 2007 10:06:55 +0000 Subject: [PATCH] Remove unneeded libboost-thread-dev build dependency (on glibc) --- Scheduler/Scheduler.hh | 4 +--- Socket/Protocols/INet/INet4Address.cc | 2 +- debian/control | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Scheduler/Scheduler.hh b/Scheduler/Scheduler.hh index a3e1295db..3ec8147a2 100644 --- a/Scheduler/Scheduler.hh +++ b/Scheduler/Scheduler.hh @@ -151,9 +151,7 @@ namespace senf { ///< Add timeout event /**< \param[in] timeout timeout in nanoseconds \param[in] cb callback to call after \a timeout - milliseconds - \todo Return some kind of handle/pointer and add - support to update or revoke a timeout */ + milliseconds */ void cancelTimeout(unsigned id); diff --git a/Socket/Protocols/INet/INet4Address.cc b/Socket/Protocols/INet/INet4Address.cc index bd9bd688e..5d503092d 100644 --- a/Socket/Protocols/INet/INet4Address.cc +++ b/Socket/Protocols/INet/INet4Address.cc @@ -31,7 +31,7 @@ #include <netdb.h> #include <sys/socket.h> #include <boost/lexical_cast.hpp> -#ifdef _REENTRANT +#ifd defined(_REENTRANT) && !defined(__GLIBC__) #include <boost/thread/mutex.hpp> #endif diff --git a/debian/control b/debian/control index ab91aa9cd..3f753f877 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Priority: extra Maintainer: Stefan Bund <senf-dev@lists.berlios.de> Build-Depends: debhelper (>= 5), scons, binutils-dev, libboost-dev, libboost-test-dev, libboost-date-time-dev, libboost-regex-dev, - libboost-thread-dev, doxygen, dia, tidy, xsltproc, graphviz + doxygen, dia, tidy, xsltproc, graphviz, perl-base Standards-Version: 3.7.2 Section: libs -- GitLab