[123918] trunk/dports/devel/libssh

ryandesign at macports.org ryandesign at macports.org
Fri Aug 15 19:20:58 PDT 2014


Revision: 123918
          https://trac.macports.org/changeset/123918
Author:   ryandesign at macports.org
Date:     2014-08-15 19:20:58 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
libssh: improve detection of htonll and ntohll (#44448; maintainer timeout)

Modified Paths:
--------------
    trunk/dports/devel/libssh/Portfile

Added Paths:
-----------
    trunk/dports/devel/libssh/files/
    trunk/dports/devel/libssh/files/patch-ConfigureChecks.cmake.diff

Modified: trunk/dports/devel/libssh/Portfile
===================================================================
--- trunk/dports/devel/libssh/Portfile	2014-08-16 02:20:44 UTC (rev 123917)
+++ trunk/dports/devel/libssh/Portfile	2014-08-16 02:20:58 UTC (rev 123918)
@@ -36,6 +36,8 @@
     file mkdir ${workpath}/build
 }
 
+patchfiles-append   patch-ConfigureChecks.cmake.diff
+
 # standard post-arg, where to find the primary CMakeLists.txt file.
 configure.post_args ../${distname}
 configure.dir       ${workpath}/build

Added: trunk/dports/devel/libssh/files/patch-ConfigureChecks.cmake.diff
===================================================================
--- trunk/dports/devel/libssh/files/patch-ConfigureChecks.cmake.diff	                        (rev 0)
+++ trunk/dports/devel/libssh/files/patch-ConfigureChecks.cmake.diff	2014-08-16 02:20:58 UTC (rev 123918)
@@ -0,0 +1,14 @@
+https://red.libssh.org/issues/164
+--- ConfigureChecks.cmake.orig	2014-03-04 04:14:20.000000000 -0600
++++ ConfigureChecks.cmake	2014-07-26 14:01:39.000000000 -0500
+@@ -101,8 +101,8 @@
+ check_function_exists(poll HAVE_POLL)
+ check_function_exists(select HAVE_SELECT)
+ check_function_exists(getaddrinfo HAVE_GETADDRINFO)
+-check_function_exists(ntohll HAVE_NTOHLL)
+-check_function_exists(htonll HAVE_HTONLL)
++check_symbol_exists(ntohll arpa/inet.h HAVE_NTOHLL)
++check_symbol_exists(htonll arpa/inet.h HAVE_HTONLL)
+ 
+ if (WIN32)
+     check_function_exists(_strtoui64 HAVE__STRTOUI64)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/fdb6ebaf/attachment.html>


More information about the macports-changes mailing list