[81580] trunk/dports/databases/mongodb

ryandesign at macports.org ryandesign at macports.org
Tue Aug 2 00:25:46 PDT 2011


Revision: 81580
          http://trac.macports.org/changeset/81580
Author:   ryandesign at macports.org
Date:     2011-08-02 00:25:43 -0700 (Tue, 02 Aug 2011)
Log Message:
-----------
mongodb: allegedly fix build on Lion; see #30263

Modified Paths:
--------------
    trunk/dports/databases/mongodb/Portfile

Added Paths:
-----------
    trunk/dports/databases/mongodb/files/lion.patch

Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile	2011-08-02 06:58:49 UTC (rev 81579)
+++ trunk/dports/databases/mongodb/Portfile	2011-08-02 07:25:43 UTC (rev 81580)
@@ -67,5 +67,9 @@
     xinstall -W ${worksrcpath} mongobridge ${destroot}${prefix}/bin
 }
 
+platform darwin 11 {
+    patchfiles-append lion.patch
+}
+
 livecheck.url       ${homepage}downloads
 livecheck.regex     {mongodb-src-r(\d+\.\d*[02468]\.\d+)\.}

Added: trunk/dports/databases/mongodb/files/lion.patch
===================================================================
--- trunk/dports/databases/mongodb/files/lion.patch	                        (rev 0)
+++ trunk/dports/databases/mongodb/files/lion.patch	2011-08-02 07:25:43 UTC (rev 81580)
@@ -0,0 +1,20 @@
+--- util/processinfo_darwin.cpp.orig
++++ util/processinfo_darwin.cpp
+@@ -19,7 +19,7 @@
+ #include "processinfo.h"
+ #include "log.h"
+ 
+-
++#include <mach/vm_statistics.h>
+ #include <mach/task_info.h>
+ 
+ #include <mach/mach_init.h>
+@@ -27,7 +27,7 @@
+ #include <mach/mach_traps.h>
+ #include <mach/task.h>
+ #include <mach/vm_map.h>
+-#include <mach/shared_memory_server.h>
++#include <mach/shared_region.h>
+ #include <iostream>
+ 
+ #include <sys/types.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110802/05a573e5/attachment.html>


More information about the macports-changes mailing list