summaryrefslogtreecommitdiff
path: root/emulators/gens
diff options
context:
space:
mode:
authorwiz <wiz>2006-06-25 18:36:28 +0000
committerwiz <wiz>2006-06-25 18:36:28 +0000
commit8b7117301315271d31f0a969c923820f4a478fae (patch)
tree879feccc3f5587d1d2b3ecd80b3e3eba79bc8cd7 /emulators/gens
parent45223f5140c69359680483d013d193c3a1a4dc08 (diff)
downloadpkgsrc-8b7117301315271d31f0a969c923820f4a478fae.tar.gz
Fix build with gcc4 by declaring a function.
Diffstat (limited to 'emulators/gens')
-rw-r--r--emulators/gens/distinfo4
-rw-r--r--emulators/gens/patches/patch-aj25
2 files changed, 16 insertions, 13 deletions
diff --git a/emulators/gens/distinfo b/emulators/gens/distinfo
index 9d7b5d7f40f..178707773bf 100644
--- a/emulators/gens/distinfo
+++ b/emulators/gens/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/04/28 13:09:38 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/06/25 18:36:28 wiz Exp $
SHA1 (gens-rc3.tar.gz) = 6057564665007686c9ea8df364be3220499f9917
RMD160 (gens-rc3.tar.gz) = d2a36a5bdca8948b12624cba15dab0c5b527a688
@@ -12,7 +12,7 @@ SHA1 (patch-af) = 6e641ec6c0ae7fad6997ce70b48d417e2ec7dfd7
SHA1 (patch-ag) = 8b91c6f85528ab2ef2fedf6d24b90a0f3a744e9d
SHA1 (patch-ah) = e8a6264b351c4a7fb3fb1bd4dd5a482dcef763ae
SHA1 (patch-ai) = 596fe718e5c38091a06198413bcf29b3c668571f
-SHA1 (patch-aj) = e550c0708e664b9138d5310cb7aeee6917919c89
+SHA1 (patch-aj) = a046754c4734f5270c0c6d5bfb55dc8442991b36
SHA1 (patch-ak) = fbf85318880857783cd98348af627b7c6e444382
SHA1 (patch-am) = 3e49691329cdfaf60f89136d104ec5e87cd6e255
SHA1 (patch-an) = 94a6a857238edbf3db0daea59400f5b13fc1ed2f
diff --git a/emulators/gens/patches/patch-aj b/emulators/gens/patches/patch-aj
index 5e584b3e632..de76552e7f2 100644
--- a/emulators/gens/patches/patch-aj
+++ b/emulators/gens/patches/patch-aj
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
+$NetBSD: patch-aj,v 1.4 2006/06/25 18:36:28 wiz Exp $
---- src/gens/emulator/g_main.c.orig Tue May 18 22:34:00 2004
-+++ src/gens/emulator/g_main.c Sun Aug 22 13:28:23 2004
-@@ -55,6 +55,23 @@
+--- src/gens/emulator/g_main.c.orig 2004-05-18 20:34:00.000000000 +0000
++++ src/gens/emulator/g_main.c
+@@ -55,8 +55,27 @@ int Intro_Style = 2;
int SegaCD_Accurate = 0;
int Kaillera_Client_Running = 0;
@@ -25,8 +25,12 @@ $NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
+
static int Gens_Running = 0;
++static int Build_Language_String (void);
++
void
-@@ -394,6 +411,13 @@
+ SetWindowText (const char *s)
+ {
+@@ -394,6 +413,13 @@ update_SDL_events ()
break;
@@ -40,7 +44,7 @@ $NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
case SDLK_v:
if (KMOD_CTRL & mod)
{
-@@ -429,14 +453,14 @@
+@@ -429,14 +455,14 @@ update_SDL_events ()
case SDL_JOYAXISMOTION:
if (event.jaxis.axis < 2)
{
@@ -57,7 +61,7 @@ $NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
{
joystate[0x100 * event.jaxis.which +
((event.jaxis.axis == 0) ? 0x4 : 0x2)] = 1;
-@@ -661,11 +685,11 @@
+@@ -661,11 +687,11 @@ idle_loop (gpointer data)
int
main (int argc, char *argv[])
{
@@ -71,11 +75,10 @@ $NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
add_pixmap_directory (DATADIR);
gtk_init (&argc, &argv);
gens_window = create_gens_window ();
-@@ -849,4 +873,84 @@
- }
+@@ -850,3 +876,83 @@ Build_Language_String (void)
return (0);
-+}
+ }
+
+void PlayMovie()
+{
@@ -155,4 +158,4 @@ $NetBSD: patch-aj,v 1.3 2004/08/22 11:37:28 kristerw Exp $
+ MoviePlaying = 0;
+ free(MovieData);
+ MovieData = NULL;
- }
++}