summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2011-08-14 19:05:03 +0000
committerwiz <wiz>2011-08-14 19:05:03 +0000
commita82232539935a39dbff5cadbe5f140242d006efb (patch)
treef03634218fdbdf26bed3ee8ec9dedce723ab408b /emulators
parent03304cbda5ac87a6b9365b86b753593b1b37fb91 (diff)
downloadpkgsrc-a82232539935a39dbff5cadbe5f140242d006efb.tar.gz
Fix build with gcc-4.5.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gambatte/distinfo3
-rw-r--r--emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/emulators/gambatte/distinfo b/emulators/gambatte/distinfo
index 28d9c3fd7b0..a8a40830e6c 100644
--- a/emulators/gambatte/distinfo
+++ b/emulators/gambatte/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2009/01/13 11:42:36 wiz Exp $
+$NetBSD: distinfo,v 1.3 2011/08/14 19:05:03 wiz Exp $
SHA1 (gambatte_src-0.4.1.tar.gz) = 1374720b9cad35b2dace20822bf9b4b2ea0d2059
RMD160 (gambatte_src-0.4.1.tar.gz) = 2b09971498c8f474c71c5e53cbaf444df84b28f8
Size (gambatte_src-0.4.1.tar.gz) = 263391 bytes
SHA1 (patch-aa) = 96fd6b152afa1ec603864068b747ac50ec830b7d
SHA1 (patch-ab) = c9d7cf6ca8bfa98c0d970a60ecfc34812756447e
+SHA1 (patch-gambatte__sdl_src_gambatte__sdl.cpp) = 896c97289976a85c69fe291a9a7df2995809f7ca
diff --git a/emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp b/emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp
new file mode 100644
index 00000000000..21f63bcbfca
--- /dev/null
+++ b/emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-gambatte__sdl_src_gambatte__sdl.cpp,v 1.1 2011/08/14 19:05:04 wiz Exp $
+
+Fix build with gcc-4.5.
+
+--- gambatte_sdl/src/gambatte_sdl.cpp.orig 2009-01-10 22:43:34.000000000 +0000
++++ gambatte_sdl/src/gambatte_sdl.cpp
+@@ -21,6 +21,7 @@
+ #include <resample/resamplerinfo.h>
+ #include <rateest.h>
+ #include <SDL.h>
++#include <cstdio>
+ #include <cstdlib>
+ #include <cstring>
+ #include <string>