pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/gens Fix build with gcc4 by declaring a func...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd5b00cb1ed6
branches:  trunk
changeset: 515131:fd5b00cb1ed6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 25 18:36:28 2006 +0000

description:
Fix build with gcc4 by declaring a function.

diffstat:

 emulators/gens/distinfo         |   4 ++--
 emulators/gens/patches/patch-aj |  25 ++++++++++++++-----------
 2 files changed, 16 insertions(+), 13 deletions(-)

diffs (86 lines):

diff -r 83c79055cc6e -r fd5b00cb1ed6 emulators/gens/distinfo
--- a/emulators/gens/distinfo   Sun Jun 25 18:02:38 2006 +0000
+++ b/emulators/gens/distinfo   Sun Jun 25 18:36:28 2006 +0000
@@ -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-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 -r 83c79055cc6e -r fd5b00cb1ed6 emulators/gens/patches/patch-aj
--- a/emulators/gens/patches/patch-aj   Sun Jun 25 18:02:38 2006 +0000
+++ b/emulators/gens/patches/patch-aj   Sun Jun 25 18:36:28 2006 +0000
@@ -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 @@
 +
  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 @@
            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 @@
                {
                  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 @@
    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 @@
 +  MoviePlaying = 0;
 +  free(MovieData);
 +  MovieData = NULL;
- }
++}



Home | Main Index | Thread Index | Old Index