Backport of 457: SF Bug Tracker [ 2026431 ] pupnp does not build on GNU/KfreeBSD.
Submitted By: Nick Leverton - leveret Gnu/KFreeBSD is one of the Debian architectures, it includes a FreeBSD kernel with GNU userspace (glibc etc). The Gnu/KfreeBSD developers provided the attached patch to test the appropriate #define and allow pupnp to build in their environment, and asked me to forward it to you. Since the test is a simple check for defined(__GLIBC__), this would presumably also help with other ports of GNU libc to non-Linux kernels. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@458 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
bcf5a5c5e0
commit
f22a69b487
11
ChangeLog
11
ChangeLog
@ -2,6 +2,17 @@
|
|||||||
Version 1.6.7
|
Version 1.6.7
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2008-06-30 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
|
* SF Bug Tracker [ 2026431 ] pupnp does not build on GNU/KfreeBSD.
|
||||||
|
Submitted By: Nick Leverton - leveret
|
||||||
|
Gnu/KFreeBSD is one of the Debian architectures, it includes a FreeBSD
|
||||||
|
kernel with GNU userspace (glibc etc). The Gnu/KfreeBSD developers
|
||||||
|
provided the attached patch to test the appropriate #define and allow pupnp
|
||||||
|
to build in their environment, and asked me to forward it to you.
|
||||||
|
|
||||||
|
Since the test is a simple check for defined(__GLIBC__), this would
|
||||||
|
presumably also help with other ports of GNU libc to non-Linux kernels.
|
||||||
|
|
||||||
2008-06-30 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
2008-06-30 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||||
* Added an m4 macro to deal with finding libupnp in the users'
|
* Added an m4 macro to deal with finding libupnp in the users'
|
||||||
configure script.
|
configure script.
|
||||||
|
2
THANKS
2
THANKS
@ -37,6 +37,8 @@ exempt of errors.
|
|||||||
- Marcelo Roberto Jimenez (mroberto)
|
- Marcelo Roberto Jimenez (mroberto)
|
||||||
- Markus Strobl
|
- Markus Strobl
|
||||||
- Nektarios K. Papadopoulos (npapadop)
|
- Nektarios K. Papadopoulos (npapadop)
|
||||||
|
- Nicholas Kraft
|
||||||
|
- Nick Leverton (leveret)
|
||||||
- Oskar Liljeblad
|
- Oskar Liljeblad
|
||||||
- Michael (oxygenic)
|
- Michael (oxygenic)
|
||||||
- Paul Vixie
|
- Paul Vixie
|
||||||
|
@ -391,7 +391,7 @@ static void SetSeed()
|
|||||||
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p );
|
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p );
|
||||||
#elif defined(__FreeBSD__) || defined(__OSX__) || defined(__APPLE__)
|
#elif defined(__FreeBSD__) || defined(__OSX__) || defined(__APPLE__)
|
||||||
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() );
|
srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() );
|
||||||
#elif defined(__linux__) || defined(__sun) || defined(__CYGWIN__)
|
#elif defined(__linux__) || defined(__sun) || defined(__CYGWIN__) || defined(__GLIBC__)
|
||||||
srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() );
|
srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() );
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user