[32748] trunk/dports/devel

sfiera at macports.org sfiera at macports.org
Sat Jan 12 19:00:01 PST 2008


Revision: 32748
          http://trac.macosforge.org/projects/macports/changeset/32748
Author:   sfiera at macports.org
Date:     2008-01-12 19:00:00 -0800 (Sat, 12 Jan 2008)

Log Message:
-----------
New port libupnp

Added Paths:
-----------
    trunk/dports/devel/libupnp/
    trunk/dports/devel/libupnp/Portfile
    trunk/dports/devel/libupnp/files/
    trunk/dports/devel/libupnp/files/patch-ThreadPool.c.diff

Added: trunk/dports/devel/libupnp/Portfile
===================================================================
--- trunk/dports/devel/libupnp/Portfile	                        (rev 0)
+++ trunk/dports/devel/libupnp/Portfile	2008-01-13 03:00:00 UTC (rev 32748)
@@ -0,0 +1,22 @@
+# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name                libupnp
+version             1.6.3
+categories          devel
+platforms           darwin
+maintainers         sfiera
+description         A portable open source UPnP development kit
+long_description \
+    The portable SDK for UPnP(tm) Devices (libupnp) provides developers with \
+    an API and open source code for building control points, devices, and \
+    bridges that are compliant with Version 1.0 of the Universal Plug and Play \
+    Device Architecture Specification.
+
+homepage            http://pupnp.sourceforge.net
+master_sites        sourceforge:pupnp
+use_bzip2           yes
+checksums           md5 553f3491fe4da88aba1763497730e2c0
+patchfiles          patch-ThreadPool.c.diff


Property changes on: trunk/dports/devel/libupnp/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/devel/libupnp/files/patch-ThreadPool.c.diff
===================================================================
--- trunk/dports/devel/libupnp/files/patch-ThreadPool.c.diff	                        (rev 0)
+++ trunk/dports/devel/libupnp/files/patch-ThreadPool.c.diff	2008-01-13 03:00:00 UTC (rev 32748)
@@ -0,0 +1,11 @@
+--- threadutil/src/ThreadPool.c	2007-12-25 12:32:22.000000000 -0500
++++ threadutil/src/ThreadPool.c.new	2008-01-11 22:43:20.000000000 -0500
+@@ -389,7 +389,7 @@
+ 	gettimeofday(&t, NULL);
+ #if defined(WIN32)
+  	srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id().p );
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__APPLE__)
+  	srand( ( unsigned int )t.tv_usec + (unsigned int)ithread_get_current_thread_id() );
+ #elif defined(__linux__)
+  	srand( ( unsigned int )t.tv_usec + ithread_get_current_thread_id() );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080112/9e08c598/attachment.html


More information about the macports-changes mailing list