[86590] trunk/dports/emulators/virtualbox
royliu at macports.org
royliu at macports.org
Fri Oct 28 22:51:30 PDT 2011
Revision: 86590
http://trac.macports.org/changeset/86590
Author: royliu at macports.org
Date: 2011-10-28 22:51:27 -0700 (Fri, 28 Oct 2011)
Log Message:
-----------
virtualbox: add a minor patch
Modified Paths:
--------------
trunk/dports/emulators/virtualbox/Portfile
trunk/dports/emulators/virtualbox/files/patch-build.diff
Added Paths:
-----------
trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff
Modified: trunk/dports/emulators/virtualbox/Portfile
===================================================================
--- trunk/dports/emulators/virtualbox/Portfile 2011-10-29 04:46:04 UTC (rev 86589)
+++ trunk/dports/emulators/virtualbox/Portfile 2011-10-29 05:51:27 UTC (rev 86590)
@@ -6,7 +6,7 @@
name virtualbox
version 4.1.4
-revision 1
+revision 2
categories emulators
maintainers nomaintainer
description open source virtualization technology from Oracle
@@ -52,7 +52,8 @@
patchfiles patch-build.diff \
patch-sdk.diff \
- patch-startup.diff
+ patch-startup.diff \
+ patch-fileaio-posix.cpp.diff
configure.pre_args-delete --prefix=${prefix}
Modified: trunk/dports/emulators/virtualbox/files/patch-build.diff
===================================================================
--- trunk/dports/emulators/virtualbox/files/patch-build.diff 2011-10-29 04:46:04 UTC (rev 86589)
+++ trunk/dports/emulators/virtualbox/files/patch-build.diff 2011-10-29 05:51:27 UTC (rev 86590)
@@ -9,7 +9,7 @@
endif
# Keep in sync with G_virtualBoxPackage in glue-jaxws.xsl and glue-java.xsl
-@@ -1781,11 +1781,13 @@ ifeq ($(KBUILD_TARGET),darwin)
+@@ -1781,11 +1781,13 @@
if "$(VBOX_XCODE_VERSION_MAJOR)" == "4"
VBOX_DEF_MACOSX_VERSION_MIN ?= 10.6
VBOX_DARWIN_NO_COMPACT_LINKEDIT ?=
@@ -25,7 +25,7 @@
endif
else
if $(VBOX_XCODE_VERSION_MAJOR) >= 4
-@@ -1793,28 +1795,30 @@ ifeq ($(KBUILD_TARGET),darwin)
+@@ -1793,28 +1795,30 @@
endif
VBOX_DEF_MACOSX_VERSION_MIN ?= 10.4
VBOX_DARWIN_NO_COMPACT_LINKEDIT ?=
Added: trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff
===================================================================
--- trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff (rev 0)
+++ trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff 2011-10-29 05:51:27 UTC (rev 86590)
@@ -0,0 +1,20 @@
+--- src/VBox/Runtime/r3/posix/fileaio-posix.cpp.orig 2011-10-27 02:10:41.000000000 -0400
++++ src/VBox/Runtime/r3/posix/fileaio-posix.cpp 2011-10-27 02:10:41.000000000 -0400
+@@ -307,7 +307,7 @@
+ &cReqsOutstandingMax, /* Where to store the old value. */
+ &cbParameter, /* Size of the memory pointed to. */
+ NULL, /* Where the new value is located. */
+- NULL); /* Where the size of the new value is stored. */
++ 0); /* Where the size of the new value is stored. */
+ if (rcBSD == -1)
+ return RTErrConvertFromErrno(errno);
+
+@@ -326,7 +326,7 @@
+ &cReqsOutstandingMax, /* Where to store the old value. */
+ &cbParameter, /* Size of the memory pointed to. */
+ NULL, /* Where the new value is located. */
+- NULL); /* Where the size of the new value is stored. */
++ 0); /* Where the size of the new value is stored. */
+ if (rcBSD == -1)
+ {
+ /* ENOENT means the value is unknown thus the module is not loaded. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111028/d760a7a1/attachment-0001.html>
More information about the macports-changes
mailing list