[119209] trunk/dports/net/tftp-hpa/files/patch-tftpd-recvfrom.c.diff

cal at macports.org cal at macports.org
Sun Apr 20 11:20:18 PDT 2014


Revision: 119209
          https://trac.macports.org/changeset/119209
Author:   cal at macports.org
Date:     2014-04-20 11:20:17 -0700 (Sun, 20 Apr 2014)
Log Message:
-----------
tftp-hpa: attempt to fix build on SL, follow-up to r119200, see #43256

Revision Links:
--------------
    https://trac.macports.org/changeset/119200

Modified Paths:
--------------
    trunk/dports/net/tftp-hpa/files/patch-tftpd-recvfrom.c.diff

Modified: trunk/dports/net/tftp-hpa/files/patch-tftpd-recvfrom.c.diff
===================================================================
--- trunk/dports/net/tftp-hpa/files/patch-tftpd-recvfrom.c.diff	2014-04-20 18:19:38 UTC (rev 119208)
+++ trunk/dports/net/tftp-hpa/files/patch-tftpd-recvfrom.c.diff	2014-04-20 18:20:17 UTC (rev 119209)
@@ -1,5 +1,5 @@
---- tftpd/recvfrom.c.orig	2011-12-11 17:13:52.000000000 -0500
-+++ tftpd/recvfrom.c	2014-04-06 11:47:12.000000000 -0400
+--- tftpd/recvfrom.c.orig	2014-04-20 08:55:44.000000000 -0400
++++ tftpd/recvfrom.c	2014-04-20 09:00:20.000000000 -0400
 @@ -17,6 +17,12 @@
   *
   */
@@ -19,7 +19,7 @@
  
 -#ifdef HAVE_STRUCT_IN6_PKTINFO
                  if (cmptr->cmsg_level == IPPROTO_IPV6 &&
-+#ifdef HAVE_STRUCT_IN6_PKTINFO
++#if defined(HAVE_STRUCT_IN6_PKTINFO) && defined(IPV6_RECVPKTINFO) /* Some older Darwin platforms require the latter */
                      (cmptr->cmsg_type == IPV6_RECVPKTINFO ||
 -                     cmptr->cmsg_type == IPV6_PKTINFO)) {
 +#else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140420/77a032d5/attachment.html>


More information about the macports-changes mailing list