From 0099a844a50ebf15c885ceef7d7979a74f0d1d2c Mon Sep 17 00:00:00 2001 From: obache Date: Tue, 13 May 2008 11:20:02 +0000 Subject: Fixed to compile on DragonFly. Patch provided by Steve O'Hara-Smith via private mail. --- net/libupnp/distinfo | 4 ++-- net/libupnp/patches/patch-aa | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'net/libupnp') diff --git a/net/libupnp/distinfo b/net/libupnp/distinfo index e69c47ebb4e..6b747494ec4 100644 --- a/net/libupnp/distinfo +++ b/net/libupnp/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.12 2008/04/26 01:52:53 obache Exp $ +$NetBSD: distinfo,v 1.13 2008/05/13 11:20:02 obache Exp $ SHA1 (libupnp-1.6.6.tar.bz2) = 24c2c349cb52ed3d62121fbdae205c8d9dc0f5fa RMD160 (libupnp-1.6.6.tar.bz2) = 25ff0390793cfa48cca32a335b4d633283b1fe64 Size (libupnp-1.6.6.tar.bz2) = 1146854 bytes -SHA1 (patch-aa) = 5cea7746fb50cb0cfa2e707e75d1950257db2627 +SHA1 (patch-aa) = 66473171bdabd6396766a328f448f5ce21835093 SHA1 (patch-ac) = 05ba4584d2ebdb2de041e67f4c8d1c05e4fc1970 SHA1 (patch-ae) = 7331c61d5b3a47ca3865788cf88a973d5e9352a1 SHA1 (patch-ag) = b6b555fd2e7d5ddf5f63b25d8b915cdd7d0d03ba diff --git a/net/libupnp/patches/patch-aa b/net/libupnp/patches/patch-aa index f06f2193fb3..22b3b11709d 100644 --- a/net/libupnp/patches/patch-aa +++ b/net/libupnp/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.8 2008/04/26 01:52:53 obache Exp $ +$NetBSD: patch-aa,v 1.9 2008/05/13 11:20:02 obache Exp $ --- threadutil/src/ThreadPool.c.orig 2008-04-10 16:03:04.000000000 +0000 +++ threadutil/src/ThreadPool.c @@ -25,7 +25,7 @@ $NetBSD: patch-aa,v 1.8 2008/04/26 01:52:53 obache Exp $ #if defined(WIN32) 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__) || defined(__NetBSD__) ++#elif defined(__FreeBSD__) || defined(__OSX__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__DragonFly__) srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() ); #elif defined(__linux__) || defined(__sun) srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() ); -- cgit v1.2.3