Ticket #21516: dosbox-0.73.patch
File dosbox-0.73.patch, 4.7 KB (added by sava.chankov@…, 15 years ago) |
---|
-
emulators/dosbox/Portfile
From 74b3aafb99a7a8ea92c1b95dcf6700741fa1e4a1 Mon Sep 17 00:00:00 2001 From: Sava Chankov <sava@tutuf.com> Date: Sun, 20 Sep 2009 13:46:47 +0300 Subject: [PATCH] Upgraded dosbox to 0.73 --- emulators/dosbox/Portfile | 64 ++++++++++++------------- emulators/dosbox/files/patch-midi_coreaudio.h | 10 ---- emulators/dosbox/files/patch-nullmodem.cpp | 11 ---- 3 files changed, 30 insertions(+), 55 deletions(-) delete mode 100644 emulators/dosbox/files/patch-midi_coreaudio.h delete mode 100644 emulators/dosbox/files/patch-nullmodem.cpp diff --git a/emulators/dosbox/Portfile b/emulators/dosbox/Portfile index bccc809..eadfa99 100644
a b 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 55037 2009-08-06 08:44:31Z jeremyhu@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 5 name 6 version 0.727 categories 8 platforms 9 maintainers 10 description DOS-emulator featuring 386 realmode, filesystem, XMS, EMS11 long_description DOSBox is a DOS-emulator that uses the SDL-library.\12 It also emulates CPU:286/386 realmode, directory\13 file system/XMS/EMS, a SoundBlaster card for excellent\14 sound compatibility with older games.15 16 homepage 17 master_sites 18 patchfiles patch-nullmodem.cpp 19 checksums sha1 c49fba00187cd871ffdcbcd87ab82a23ea2d5e7d 20 21 depends_lib port:libsdl port:libsdl_net port:libsdl_sound\22 port:libpng port:zlib 23 24 # SDL isn't universal 25 universal_variant no 26 27 configure.args --mandir=${prefix}/share/man--disable-sdltest \28 29 configure.cxxflags-append 6 name dosbox 7 version 0.73 8 categories emulators 9 platforms darwin 10 maintainers nomaintainer 11 description DOS emulator featuring 386 realmode, filesystem, XMS, EMS 12 long_description DOSBox is a DOS emulator supporting 286/386 realmode, directory \ 13 file system, XMS/EMS and many sound cards. \ 14 It can be configured to run a wide range of DOS games, from \ 15 CGA/Tandy/PCjr classics up to games from the Quake era. 16 17 homepage http://dosbox.sourceforge.net/ 18 master_sites sourceforge 19 checksums sha1 e87682f8f468f3822d2f79e38e5ddb73825fa8c1 20 21 depends_lib port:libsdl \ 22 port:libsdl_net \ 23 port:libsdl_sound \ 24 port:libpng \ 25 port:zlib 26 27 configure.args --mandir=${prefix}/share/man \ 28 --disable-sdltest \ 29 --disable-alsatest 30 configure.cxxflags-append "-O2 -mdynamic-no-pic" 30 31 31 32 post-destroot { 32 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 33 xinstall -W ${worksrcpath} README NEWS AUTHORS COPYING ChangeLog INSTALL \ 34 THANKS ${destroot}${prefix}/share/doc/${name} 35 } 36 37 platform darwin 9 { 38 patchfiles-append patch-midi_coreaudio.h 33 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 34 xinstall -W ${worksrcpath} README AUTHORS COPYING ChangeLog INSTALL \ 35 THANKS ${destroot}${prefix}/share/doc/${name} 39 36 } 40 37 41 38 platform powerpc { 42 39 configure.args-append --disable-dynamic-x86 43 40 } 44 -
deleted file emulators/dosbox/files/patch-midi_coreaudio.h
diff --git a/emulators/dosbox/files/patch-midi_coreaudio.h b/emulators/dosbox/files/patch-midi_coreaudio.h deleted file mode 100644 index bd9f245..0000000
+ - 1 --- src/gui/midi_coreaudio.h.orig 2007-12-10 20:52:24.000000000 +00002 +++ src/gui/midi_coreaudio.h 2007-12-10 20:52:42.000000000 +00003 @@ -17,6 +17,7 @@4 */5 6 #include <AudioUnit/AudioUnit.h>7 +#include <AudioUnit/AUNTComponent.h>8 9 class MidiHandler_coreaudio : public MidiHandler {10 private: -
deleted file emulators/dosbox/files/patch-nullmodem.cpp
diff --git a/emulators/dosbox/files/patch-nullmodem.cpp b/emulators/dosbox/files/patch-nullmodem.cpp deleted file mode 100644 index 56c2f8d..0000000
+ - 1 --- src/hardware/serialport/nullmodem.cpp.bak 2007-03-18 00:28:32.000000000 +01002 +++ src/hardware/serialport/nullmodem.cpp 2007-03-18 00:29:18.000000000 +01003 @@ -99,7 +99,7 @@4 // custom connect5 Bit8u peernamebuf[16];6 LOG_MSG("inheritance port: %d",sock);7 - clientsocket = new TCPClientSocket(sock);8 + clientsocket = new TCPClientSocket((TCPsocket)sock);9 if(!clientsocket->isopen) {10 LOG_MSG("Serial%d: Connection failed.",COMNUMBER);11 delete clientsocket;