pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/raine Make the package build when using C89 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/749c564e2a47
branches:  trunk
changeset: 473171:749c564e2a47
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Apr 17 00:58:42 2004 +0000

description:
Make the package build when using C89 compilers (such as gcc 2.95).

diffstat:

 emulators/raine/distinfo         |   6 +++++-
 emulators/raine/patches/patch-ad |  17 +++++++++++++++++
 emulators/raine/patches/patch-ae |  14 ++++++++++++++
 emulators/raine/patches/patch-af |  14 ++++++++++++++
 emulators/raine/patches/patch-ag |  29 +++++++++++++++++++++++++++++
 5 files changed, 79 insertions(+), 1 deletions(-)

diffs (106 lines):

diff -r 1c03fc4cb0d0 -r 749c564e2a47 emulators/raine/distinfo
--- a/emulators/raine/distinfo  Sat Apr 17 00:31:12 2004 +0000
+++ b/emulators/raine/distinfo  Sat Apr 17 00:58:42 2004 +0000
@@ -1,7 +1,11 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/04/17 00:58:42 kristerw Exp $
 
 SHA1 (raines-0.40.0.tar.bz2) = bb3fe7aa758f8081e5aa14632ddff1858dfb86bb
 Size (raines-0.40.0.tar.bz2) = 1505268 bytes
 SHA1 (patch-aa) = abee628fbe69a12a98fdc88aee96f59a7a2ec721
 SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a
 SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608
+SHA1 (patch-ad) = 2842cf825e67a5195c44c4d173feb5ffe01c2e46
+SHA1 (patch-ae) = 6ce2adccb6bded8cd4034ad314ce1856db95871c
+SHA1 (patch-af) = 4978139a0d0f0e4c92c7a3dd2084167785fdf524
+SHA1 (patch-ag) = d79a11f6162895f5ef844c60ac36e4f0a22bf544
diff -r 1c03fc4cb0d0 -r 749c564e2a47 emulators/raine/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-ad  Sat Apr 17 00:58:42 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2004/04/17 00:58:42 kristerw Exp $
+
+--- source/gui/rgui.c.orig     Sat Apr 17 02:38:41 2004
++++ source/gui/rgui.c  Sat Apr 17 02:39:11 2004
+@@ -1715,10 +1715,12 @@
+   // its sleep function has a 1ms resolution instead of 1us. Too bad...
+    Sleep(1000/60);
+ #elif defined(RAINE_UNIX)
++  {
+   struct timeval timeout;
+   timeout.tv_sec = 0;
+   timeout.tv_usec = 1000000/60;
+   select(0, NULL, NULL, NULL, &timeout);
++  }
+ #endif
+   // Nothing in dos to put the cpu in sleep mode, AFAIK
+ 
diff -r 1c03fc4cb0d0 -r 749c564e2a47 emulators/raine/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-ae  Sat Apr 17 00:58:42 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2004/04/17 00:58:42 kristerw Exp $
+
+--- source/video/c/lscroll/16_16.c.orig        Sat Apr 17 02:36:55 2004
++++ source/video/c/lscroll/16_16.c     Sat Apr 17 02:37:17 2004
+@@ -26,8 +26,8 @@
+    UINT16 *line;
+    INT16 xx,yy,dy;
+    UINT32 w;
+-   w = GameBitmap->w;
+    UINT8 *spr;
++   w = GameBitmap->w;
+ 
+ #if 1
+    for(xx=0; xx<=15; xx++){
diff -r 1c03fc4cb0d0 -r 749c564e2a47 emulators/raine/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-af  Sat Apr 17 00:58:42 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2004/04/17 00:58:42 kristerw Exp $
+
+--- source/video/c/lscroll/16_32.c.orig        Sat Apr 17 02:37:32 2004
++++ source/video/c/lscroll/16_32.c     Sat Apr 17 02:37:49 2004
+@@ -25,8 +25,8 @@
+    UINT32 *line;
+    INT16 xx,yy,dy;
+    UINT32 w;
+-   w = GameBitmap->w;
+    UINT8 *spr;
++   w = GameBitmap->w;
+ 
+ #if 1
+    for(xx=0; xx<=15; xx++){
diff -r 1c03fc4cb0d0 -r 749c564e2a47 emulators/raine/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-ag  Sat Apr 17 00:58:42 2004 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-ag,v 1.1 2004/04/17 00:58:42 kristerw Exp $
+
+--- source/games/pengo.c.orig  Sat Apr 17 02:33:38 2004
++++ source/games/pengo.c       Sat Apr 17 02:35:06 2004
+@@ -451,11 +451,11 @@
+ }
+ 
+ static void load_pengo() {
+-  RAMSize = 0x1031+0x8000;
+   UINT8 *color_prom = load_region[REGION_PROMS];
+   UINT8 *decode1,*decode2,palette[32*2];
+   UINT32 dest_size;
+   int i;
++  RAMSize = 0x1031+0x8000;
+ 
+   if(!(RAM=AllocateMem(RAMSize))) return;
+ 
+@@ -1182,10 +1182,10 @@
+ {
+   // quite different from pengo for the init : no encoding, different memory map,
+   // different palette...
+-  RAMSize = 0x1031;
+   UINT8 *color_prom = load_region[REGION_PROMS];
+   UINT8 palette[32*2];
+   int i;
++  RAMSize = 0x1031;
+ 
+   if (!strcmp(current_game->main_name,"pacplus")) {
+     for (i = 0; i < 0x4000; i++)



Home | Main Index | Thread Index | Old Index