Package: tango Version: 7.2.6+dfsg-4 Severity: important Tags: patch Hi!
I've attached a patch which allows tango to be built on kFreeBSD. Please consider forwarding it upstream and/or applying for the next upload. Regards Christoph
--- tango-7.2.6+dfsg.orig/cppserver/starter/CheckProcessUtil.cpp +++ tango-7.2.6+dfsg/cppserver/starter/CheckProcessUtil.cpp @@ -471,7 +471,7 @@ void ProcessData::read_process_list_from //============================================================= bool ProcessData::manageProcFiles(Process *process) { -#if (defined linux) || (defined __darwin__) || (defined __freebsd__) +#if (defined __GLIBC__) || (defined __darwin__) || (defined __freebsd__) // Read command line file TangoSys_OMemStream fname; --- tango-7.2.6+dfsg.orig/cppserver/starter/CheckProcessUtil.h +++ tango-7.2.6+dfsg/cppserver/starter/CheckProcessUtil.h @@ -88,7 +88,7 @@ # include <fcntl.h> # include <sys/stat.h> # include <pwd.h> -# if (!defined linux) && (!defined __darwin__) && (!defined __freebsd__) +# if (!defined __GLIBC__) && (!defined __darwin__) && (!defined __freebsd__) /* solaris */ # include <procfs.h> # include <fcntl.h> --- tango-7.2.6+dfsg.orig/lib/cpp/server/dserversignal.h +++ tango-7.2.6+dfsg/lib/cpp/server/dserversignal.h @@ -302,7 +302,7 @@ private: #endif -#if (defined __linux || defined __darwin__ || defined __freebsd__) +#if (defined __GLIBC__ || defined __darwin__ || defined __freebsd__) static inline bool auth_signal(long s) { if ((s==SIGUSR1) || (s==SIGUSR2))