Package: libupnp
Severity: important
Version: 1:1.6.6-2
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak, see bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr


--- threadutil/src/ThreadPool.c~
+++ threadutil/src/ThreadPool.c
@@ -391,7 +391,7 @@
        srand( ( unsigned int )t.tv_usec + (unsigned 
int)ithread_get_current_thread_id().p );
 #elif defined(__FreeBSD__) || defined(__OSX__) || defined(__APPLE__)
        srand( ( unsigned int )t.tv_usec + (unsigned 
int)ithread_get_current_thread_id() );
-#elif defined(__linux__) || defined(__sun)
+#elif defined(__linux__) || defined(__sun) || defined(__GLIBC__)
        srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() );
 #else
        {




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to