the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: dosbox
Version: 0.74
Revision: 1
Maintainer: Max Horn
BuildDepends: sdl, sdl-net, sdl-sound (>= 1.0.1-4), libpng14, fink (>= 0.24.12-1)
Depends: sdl-shlibs, sdl-net-shlibs, sdl-sound-shlibs (>= 1.0.1-4), libpng14-shlibs
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: b9b240fa87104421962d14eee71351e8
ConfigureParams: <<
--build=%m-apple-darwin`uname -r|cut -f1 -d.` \
--mandir=%p/share/man \
--disable-sdltest
<<
CompileScript: <<
#!/bin/sh -ev
if test "%m" = "powerpc"; then
CXXFLAGS="-fast -mcpu=G3" ./configure %c
else
CXXFLAGS="-fast" ./configure %c
fi
make
<<
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS COPYING NEWS README THANKS
Description: DOS emulator
DescDetail: <<
DOSBox emulates a full x86 pc with sound and dos. It's main use is to run
old dosgames on platforms which don't have dos(win2K/XP/linux/FreeBSD)
<<
DescPackaging: <<
-mdynamic-no-pic required to build on i386, okay for ppc, too.
See: http://bugzilla.opendarwin.org/show_bug.cgi?id=6856
Agressive optimizations via -fast are enabled for a huge speed
boost, esp. compared to the official OS X binary. Note that this
implies -mdynamic-no-pic.
In order to support all PowerPC macs, we add -mcpu=G3 when building
on PowerPC.
Use --build to ensure building on 64bit systems works.
<<
License: GPL
Homepage: http://www.dosbox.com/
diff -ruN dosbox-0.73/src/gui/midi_coreaudio.h dosbox-0.73-patched/src/gui/midi_coreaudio.h
--- dosbox-0.73/src/gui/midi_coreaudio.h 2009-05-25 20:44:46.000000000 +0200
+++ dosbox-0.73-patched/src/gui/midi_coreaudio.h 2010-03-03 13:53:44.000000000 +0100
@@ -17,6 +17,7 @@
*/
#include
+#include
// A macro to simplify error handling a bit.
#define RequireNoErr(error) \