From acc57de58972dc5c2243df53f84c961a37bd5ba3 Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 12 Aug 2012 01:15:00 +0000 Subject: emulators/openmsx: Add , fix *way* leftover file Several files needed the include for functions like memset. Additional, Tinderbox caught this error: === Checking filesystem state after all packages deleted ================================================================ list of extra files and directories in / (not present on clean system but present after everything was deinstalled) 34217227226 0 lrwxr-xr-x 1 root wheel 65 Aug 12 00:13 usr/local/bin/openmsx -> /work/emulators/openmsx/work/.destdir/usr/pkg/openmsx/bin/openmsx The package was installing a symbolic link from /usr/local/bin to the destdir! Luckily this feature is switchable with a variable. Fixed. --- emulators/openmsx/Makefile | 5 +++-- emulators/openmsx/distinfo | 7 ++++++- emulators/openmsx/patches/patch-src_MSXDevice.cc | 12 ++++++++++++ emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc | 12 ++++++++++++ emulators/openmsx/patches/patch-src_fdc_MSXtar.cc | 12 ++++++++++++ emulators/openmsx/patches/patch-src_sound_AY8910.cc | 12 ++++++++++++ emulators/openmsx/patches/patch-src_sound_MSXMixer.cc | 12 ++++++++++++ 7 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 emulators/openmsx/patches/patch-src_MSXDevice.cc create mode 100644 emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc create mode 100644 emulators/openmsx/patches/patch-src_fdc_MSXtar.cc create mode 100644 emulators/openmsx/patches/patch-src_sound_AY8910.cc create mode 100644 emulators/openmsx/patches/patch-src_sound_MSXMixer.cc (limited to 'emulators') diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile index a1629fbe583..77f4f31b27a 100644 --- a/emulators/openmsx/Makefile +++ b/emulators/openmsx/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.30 2012/06/14 07:45:18 sbd Exp $ +# $NetBSD: Makefile,v 1.31 2012/08/12 01:15:00 marino Exp $ # DISTNAME= openmsx-0.6.2 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openmsx/} @@ -43,6 +43,7 @@ post-build: INSTALLATION_DIRS+= bin INSTALL_MAKE_FLAGS+= OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx +INSTALL_MAKE_FLAGS+= SYMLINK_FOR_BINARY=false post-install: ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx diff --git a/emulators/openmsx/distinfo b/emulators/openmsx/distinfo index 70365de168f..b68d4fb66a6 100644 --- a/emulators/openmsx/distinfo +++ b/emulators/openmsx/distinfo @@ -1,11 +1,14 @@ -$NetBSD: distinfo,v 1.8 2011/11/24 14:12:21 joerg Exp $ +$NetBSD: distinfo,v 1.9 2012/08/12 01:15:00 marino Exp $ SHA1 (openmsx-0.6.2.tar.gz) = b9e2f1bf13f193618f35c0fd6820c2bd44088870 RMD160 (openmsx-0.6.2.tar.gz) = b800499248ee43de8007042d4dd0a4523f464833 Size (openmsx-0.6.2.tar.gz) = 1934469 bytes SHA1 (patch-aa) = aadad14af76af2dc97dbb3f0ab4b1b5bda4be8c1 +SHA1 (patch-src_MSXDevice.cc) = 92de13d9cc66c3367a475585d4883581074d65a2 SHA1 (patch-src_commands_Completer.cc) = b5ef6c2d59aef5d927691a638d01512fffc4a44f +SHA1 (patch-src_cpu_MSXCPUInterface.cc) = de0bf2c8a35eb2e3c862804ac224523155623132 SHA1 (patch-src_events_Socket.cc) = b64d9620bf88a0515612e5a60a87e26442b85752 +SHA1 (patch-src_fdc_MSXtar.cc) = 944893194d15e0d802986860c85286eeaca4c0af SHA1 (patch-src_fdc_TC8566AF.cc) = 418121aff79791fc4b3b8f4062014ebb6529d5ad SHA1 (patch-src_file_Date.cc) = 885ae3934fc9ab0d15c99c620a8b94703f3383eb SHA1 (patch-src_file_FileBase.cc) = 606ca7ed75dc8ac55e02b1c89e97a39480cb2044 @@ -13,6 +16,8 @@ SHA1 (patch-src_file_GZFileAdapter.cc) = 6b3c691684d7d95a78f9247be0661a4b4b07af3 SHA1 (patch-src_file_ZipFileAdapter.cc) = 1534647f8c40a44aa80cc41949609f9a855680ce SHA1 (patch-src_input_RecordedCommand.hh) = 700ccad99b5b8e23ec54ca5bc0d98081b049d9ee SHA1 (patch-src_memory_Ram.cc) = d87340931ad048417fa791c9830b95197593f326 +SHA1 (patch-src_sound_AY8910.cc) = 61c009e403945bd55f9f61d242c01ae204677021 +SHA1 (patch-src_sound_MSXMixer.cc) = d4dd0b4ba1b344ff50a465b7583303122241d5dc SHA1 (patch-src_sound_Y8950Adpcm.cc) = 564c0ea4f3783ff6873b45a7bc0b0405f5cc6160 SHA1 (patch-src_sound_YMF262.cc) = b07afcbe7dd2ced71a7e914283a9580529d8f54e SHA1 (patch-src_video_MemoryOps.cc) = 145cf13cbeb8148d0e22eea202c9085a4b501419 diff --git a/emulators/openmsx/patches/patch-src_MSXDevice.cc b/emulators/openmsx/patches/patch-src_MSXDevice.cc new file mode 100644 index 00000000000..587ef84eb78 --- /dev/null +++ b/emulators/openmsx/patches/patch-src_MSXDevice.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_MSXDevice.cc,v 1.1 2012/08/12 01:15:00 marino Exp $ + +--- src/MSXDevice.cc.orig 2007-04-14 21:25:22.000000000 +0000 ++++ src/MSXDevice.cc +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + using std::string; + using std::vector; diff --git a/emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc b/emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc new file mode 100644 index 00000000000..143554a1840 --- /dev/null +++ b/emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_cpu_MSXCPUInterface.cc,v 1.1 2012/08/12 01:15:00 marino Exp $ + +--- src/cpu/MSXCPUInterface.cc.orig 2007-04-14 21:25:23.000000000 +0000 ++++ src/cpu/MSXCPUInterface.cc +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + using std::auto_ptr; + using std::ostringstream; diff --git a/emulators/openmsx/patches/patch-src_fdc_MSXtar.cc b/emulators/openmsx/patches/patch-src_fdc_MSXtar.cc new file mode 100644 index 00000000000..cccaec40680 --- /dev/null +++ b/emulators/openmsx/patches/patch-src_fdc_MSXtar.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_fdc_MSXtar.cc,v 1.1 2012/08/12 01:15:00 marino Exp $ + +--- src/fdc/MSXtar.cc.orig 2007-04-14 21:25:24.000000000 +0000 ++++ src/fdc/MSXtar.cc +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + using std::string; + diff --git a/emulators/openmsx/patches/patch-src_sound_AY8910.cc b/emulators/openmsx/patches/patch-src_sound_AY8910.cc new file mode 100644 index 00000000000..724758d2e6e --- /dev/null +++ b/emulators/openmsx/patches/patch-src_sound_AY8910.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_sound_AY8910.cc,v 1.1 2012/08/12 01:15:00 marino Exp $ + +--- src/sound/AY8910.cc.orig 2007-04-14 21:25:28.000000000 +0000 ++++ src/sound/AY8910.cc +@@ -19,6 +19,7 @@ + #include "MSXException.hh" + #include "StringOp.hh" + #include ++#include + + using std::string; + diff --git a/emulators/openmsx/patches/patch-src_sound_MSXMixer.cc b/emulators/openmsx/patches/patch-src_sound_MSXMixer.cc new file mode 100644 index 00000000000..b05eef3a65b --- /dev/null +++ b/emulators/openmsx/patches/patch-src_sound_MSXMixer.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_sound_MSXMixer.cc,v 1.1 2012/08/12 01:15:00 marino Exp $ + +--- src/sound/MSXMixer.cc.orig 2007-04-14 21:25:28.000000000 +0000 ++++ src/sound/MSXMixer.cc +@@ -14,6 +14,7 @@ + #include "AviRecorder.hh" + #include + #include ++#include + + using std::remove; + using std::set; -- cgit v1.2.3