zeroc-ice (3.3.1-12) 20-kfreebsd.patch

Summary

 cpp/src/IceSSL/Instance.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

From:  	 Petr Salinger
Sent:  	 Fri 05/09/2008 20:48
Subject: Bug#497964: zeroc-ice: FTBFS on GNU/kFreeBSD

* new debian/patches/20-kfreebsd.patch, GNU/kFreeBSD specific patch

diff -Nur -x '*.orig' -x '*~' zeroc-ice/cpp/src/IceSSL/Instance.cpp zeroc-ice.new/cpp/src/IceSSL/Instance.cpp
--- zeroc-ice/cpp/src/IceSSL/Instance.cpp	2008-05-16 19:24:00.000000000 +0200
+++ zeroc-ice.new/cpp/src/IceSSL/Instance.cpp	2008-09-07 11:03:53.000000000 +0200
@@ -69,7 +69,7 @@
     // On some platforms, pthread_t is a pointer to a per-thread structure.
     //
     return reinterpret_cast<unsigned long>(pthread_self());
-#elif (defined(__linux) || defined(__sun) || defined(__hpux)) || defined(_AIX)
+#elif (defined(__linux) || defined(__sun) || defined(__hpux)) || defined(_AIX)  || defined(__GLIBC__) 
     //
     // On Linux, Solaris, HP-UX and AIX, pthread_t is an integer.
     //