summaryrefslogtreecommitdiff
path: root/system/dosbox/dosbox-0.74-gcc46.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-15 08:47:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:25 -0500
commit11d0e8aa163fa48596960c0afe0e2d11aa65f0ec (patch)
treec6074d1cd6eee7794d1a5067c81ebe337b58fb1c /system/dosbox/dosbox-0.74-gcc46.patch
parent63ea1bca9e4cd63bf79eac0f922eba121a030938 (diff)
downloadslackbuilds-11d0e8aa163fa48596960c0afe0e2d11aa65f0ec.tar.gz
system/dosbox: Added a patch for gcc>=4.6
This commit also adds a "set -e" and noted SDL_sound as an optional dependency. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/dosbox/dosbox-0.74-gcc46.patch')
-rw-r--r--system/dosbox/dosbox-0.74-gcc46.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/dosbox/dosbox-0.74-gcc46.patch b/system/dosbox/dosbox-0.74-gcc46.patch
new file mode 100644
index 0000000000..16811d47d6
--- /dev/null
+++ b/system/dosbox/dosbox-0.74-gcc46.patch
@@ -0,0 +1,10 @@
+--- include/dos_inc.h.old 2011-04-28 08:46:04.505011354 +0200
++++ include/dos_inc.h 2011-04-28 08:46:27.104408178 +0200
+@@ -21,6 +21,7 @@
+ #ifndef DOSBOX_DOS_INC_H
+ #define DOSBOX_DOS_INC_H
+
++#include <cstddef>
+ #ifndef DOSBOX_DOS_SYSTEM_H
+ #include "dos_system.h"
+ #endif