summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-14 08:08:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-14 08:08:30 +0000
commita6260e849c1647731b1b373bab66146c8428dc76 (patch)
tree223d993c0a61b8c27b8c368910fcf5dcfa5f8001 /games-emulation/tuxnes/files
parentupdated music version pointed out by Tim O'Kelly in bug #261544 (diff)
downloadhistorical-a6260e849c1647731b1b373bab66146c8428dc76.tar.gz
historical-a6260e849c1647731b1b373bab66146c8428dc76.tar.bz2
historical-a6260e849c1647731b1b373bab66146c8428dc76.zip
fix open call (patch from Magnus Granberg via bug #261676)
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-emulation/tuxnes/files')
-rw-r--r--games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch b/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch
new file mode 100644
index 000000000000..ba035ef57b78
--- /dev/null
+++ b/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch
@@ -0,0 +1,11 @@
+--- emu.c 2009-03-11 23:10:09.000000000 +0000
++++ emu.c 2009-03-11 23:17:13.000000000 +0000
+@@ -1271,7 +1271,7 @@
+ gamegenie = 0;
+
+ /* check for the default output device */
+- if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND)) < 0)
++ if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND, 0666)) < 0)
+ sound_config.audiofile = NULL;
+ else {
+ sound_config.audiofile = DSP;