[58373] trunk/dports/emulators/dosbox
jmr at macports.org
jmr at macports.org
Sun Sep 27 16:26:28 PDT 2009
Revision: 58373
http://trac.macports.org/changeset/58373
Author: jmr at macports.org
Date: 2009-09-27 16:26:26 -0700 (Sun, 27 Sep 2009)
Log Message:
-----------
dosbox: buildfix for snow leopard / 64-bit (#21650)
Modified Paths:
--------------
trunk/dports/emulators/dosbox/Portfile
Added Paths:
-----------
trunk/dports/emulators/dosbox/files/
trunk/dports/emulators/dosbox/files/patch-src_gui_midi_coreaudio.h
Modified: trunk/dports/emulators/dosbox/Portfile
===================================================================
--- trunk/dports/emulators/dosbox/Portfile 2009-09-27 23:13:20 UTC (rev 58372)
+++ trunk/dports/emulators/dosbox/Portfile 2009-09-27 23:26:26 UTC (rev 58373)
@@ -28,10 +28,12 @@
# Assembly language issues
universal_variant no
+patchfiles patch-src_gui_midi_coreaudio.h
+
configure.args --mandir=${prefix}/share/man \
--disable-sdltest \
--disable-alsatest
-configure.cxxflags-append "-O2 -mdynamic-no-pic"
+configure.cxxflags-append -mdynamic-no-pic
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
@@ -44,3 +46,7 @@
THANKS \
${destroot}${prefix}/share/doc/${name}
}
+
+platform darwin {
+ configure.args-append --build=${build_arch}-apple-darwin${os.major}
+}
Added: trunk/dports/emulators/dosbox/files/patch-src_gui_midi_coreaudio.h
===================================================================
--- trunk/dports/emulators/dosbox/files/patch-src_gui_midi_coreaudio.h (rev 0)
+++ trunk/dports/emulators/dosbox/files/patch-src_gui_midi_coreaudio.h 2009-09-27 23:26:26 UTC (rev 58373)
@@ -0,0 +1,10 @@
+--- src/gui/midi_coreaudio.h.orig 2009-05-26 04:44:46.000000000 +1000
++++ src/gui/midi_coreaudio.h 2009-09-28 09:18:05.000000000 +1000
+@@ -17,6 +17,7 @@
+ */
+
+ #include <AudioToolbox/AUGraph.h>
++#include <CoreServices/CoreServices.h>
+
+ // A macro to simplify error handling a bit.
+ #define RequireNoErr(error) \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090927/b5d5fd33/attachment.html>
More information about the macports-changes
mailing list