[154030] trunk/dports/net/ctorrent

larryv at macports.org larryv at macports.org
Tue Oct 18 21:42:11 CEST 2016


Revision: 154030
          https://trac.macports.org/changeset/154030
Author:   larryv at macports.org
Date:     2016-10-18 12:42:11 -0700 (Tue, 18 Oct 2016)
Log Message:
-----------
ctorrent: Tell configure where clockid_t is defined

Fixes the build on systems that define clockid_t (Sierra and later).

Closes: #52546

Modified Paths:
--------------
    trunk/dports/net/ctorrent/Portfile

Added Paths:
-----------
    trunk/dports/net/ctorrent/files/
    trunk/dports/net/ctorrent/files/detect-clockid_t.patch

Modified: trunk/dports/net/ctorrent/Portfile
===================================================================
--- trunk/dports/net/ctorrent/Portfile	2016-10-18 19:41:58 UTC (rev 154029)
+++ trunk/dports/net/ctorrent/Portfile	2016-10-18 19:42:11 UTC (rev 154030)
@@ -34,3 +34,4 @@
                     sha1 d4e221f0292268f80e2430ce9d451dd64cf1ffaa \
                     rmd160 5db2613109fc7e55e7ccdf0d2da12e352c99b385
 
+patchfiles          detect-clockid_t.patch

Added: trunk/dports/net/ctorrent/files/detect-clockid_t.patch
===================================================================
--- trunk/dports/net/ctorrent/files/detect-clockid_t.patch	                        (rev 0)
+++ trunk/dports/net/ctorrent/files/detect-clockid_t.patch	2016-10-18 19:42:11 UTC (rev 154030)
@@ -0,0 +1,20 @@
+On systems that define it (Sierra and later), point configure at the
+correct header.
+
+https://trac.macports.org/ticket/52546
+
+Upstream-Status: Pending
+Signed-off-by: Lawrence Velázquez <larryv at macports.org>
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -6465,6 +6465,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ $ac_includes_default
++#include <time.h>
+ typedef clockid_t ac__type_new_;
+ int
+ main ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161018/eba5e8a5/attachment-0002.html>


More information about the macports-changes mailing list