summaryrefslogtreecommitdiff
path: root/emulators/openmsx/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-12 01:15:00 +0000
committermarino <marino@pkgsrc.org>2012-08-12 01:15:00 +0000
commit1d2a4a9f9dbd3649bdfd00b0ae140a4cb99bb70a (patch)
treefa4d65212010910f7f3aae2861f7b973db797a32 /emulators/openmsx/patches
parent810919803dd704341f5bab9077a9d3dfeeac16ff (diff)
downloadpkgsrc-1d2a4a9f9dbd3649bdfd00b0ae140a4cb99bb70a.tar.gz
emulators/openmsx: Add <cstring>, fix *way* leftover file
Several files needed the <cstring> 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.
Diffstat (limited to 'emulators/openmsx/patches')
-rw-r--r--emulators/openmsx/patches/patch-src_MSXDevice.cc12
-rw-r--r--emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc12
-rw-r--r--emulators/openmsx/patches/patch-src_fdc_MSXtar.cc12
-rw-r--r--emulators/openmsx/patches/patch-src_sound_AY8910.cc12
-rw-r--r--emulators/openmsx/patches/patch-src_sound_MSXMixer.cc12
5 files changed, 60 insertions, 0 deletions
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 <set>
+ #include <algorithm>
+ #include <cassert>
++#include <cstring>
+
+ 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 <iomanip>
+ #include <algorithm>
+ #include <iostream>
++#include <cstring>
+
+ 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 <cstdlib>
+ #include <algorithm>
+ #include <cassert>
++#include <cstring>
+
+ 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 <cassert>
++#include <cstring>
+
+ 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 <algorithm>
+ #include <cassert>
++#include <cstring>
+
+ using std::remove;
+ using std::set;