[112934] trunk/dports/net/ostinato

g5pw at macports.org g5pw at macports.org
Mon Nov 4 07:55:18 PST 2013


Revision: 112934
          https://trac.macports.org/changeset/112934
Author:   g5pw at macports.org
Date:     2013-11-04 07:55:17 -0800 (Mon, 04 Nov 2013)
Log Message:
-----------
net/ostinato:
  fix build on Mavericks

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

Added Paths:
-----------
    trunk/dports/net/ostinato/files/
    trunk/dports/net/ostinato/files/server_bsdport.cpp.diff

Modified: trunk/dports/net/ostinato/Portfile
===================================================================
--- trunk/dports/net/ostinato/Portfile	2013-11-04 15:51:01 UTC (rev 112933)
+++ trunk/dports/net/ostinato/Portfile	2013-11-04 15:55:17 UTC (rev 112934)
@@ -31,7 +31,9 @@
 
 worksrcdir          ${name}-${version}
 
-patch {
+patchfiles          server_bsdport.cpp.diff
+
+post-patch {
     reinplace "s|/Applications/|${applications_dir}|" ${worksrcpath}/install.pri
 }
 

Added: trunk/dports/net/ostinato/files/server_bsdport.cpp.diff
===================================================================
--- trunk/dports/net/ostinato/files/server_bsdport.cpp.diff	                        (rev 0)
+++ trunk/dports/net/ostinato/files/server_bsdport.cpp.diff	2013-11-04 15:55:17 UTC (rev 112934)
@@ -0,0 +1,10 @@
+--- server/bsdport.cpp	2012-07-30 15:26:37.000000000 +0200
++++ server/bsdport.cpp.new	2013-11-04 15:08:32.000000000 +0100
+@@ -34,6 +34,7 @@
+ #include <net/if.h>
+ #include <net/if_dl.h>
+ #include <net/route.h>
++#include <unistd.h>
+ 
+ #ifdef Q_OS_MAC
+ #define ifr_flagshigh ifr_flags
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131104/14614953/attachment.html>


More information about the macports-changes mailing list