summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-04-17 00:58:42 +0000
committerkristerw <kristerw@pkgsrc.org>2004-04-17 00:58:42 +0000
commit7328eaf234eb4799e46b349039e5361472d0e9fe (patch)
treef94aee20b841d91152599ba280de70df53ec20c6 /emulators
parent434c919652eca3a160d33337242dae1d6b7a1ec6 (diff)
downloadpkgsrc-7328eaf234eb4799e46b349039e5361472d0e9fe.tar.gz
Make the package build when using C89 compilers (such as gcc 2.95).
Diffstat (limited to 'emulators')
-rw-r--r--emulators/raine/distinfo6
-rw-r--r--emulators/raine/patches/patch-ad17
-rw-r--r--emulators/raine/patches/patch-ae14
-rw-r--r--emulators/raine/patches/patch-af14
-rw-r--r--emulators/raine/patches/patch-ag29
5 files changed, 79 insertions, 1 deletions
diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo
index ac2f26a798e..7ca6ebbba96 100644
--- a/emulators/raine/distinfo
+++ b/emulators/raine/distinfo
@@ -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 --git a/emulators/raine/patches/patch-ad b/emulators/raine/patches/patch-ad
new file mode 100644
index 00000000000..a5278d4a69c
--- /dev/null
+++ b/emulators/raine/patches/patch-ad
@@ -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 --git a/emulators/raine/patches/patch-ae b/emulators/raine/patches/patch-ae
new file mode 100644
index 00000000000..37b8c8fb896
--- /dev/null
+++ b/emulators/raine/patches/patch-ae
@@ -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 --git a/emulators/raine/patches/patch-af b/emulators/raine/patches/patch-af
new file mode 100644
index 00000000000..31ae7f9ac19
--- /dev/null
+++ b/emulators/raine/patches/patch-af
@@ -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 --git a/emulators/raine/patches/patch-ag b/emulators/raine/patches/patch-ag
new file mode 100644
index 00000000000..94d0ab8ee6b
--- /dev/null
+++ b/emulators/raine/patches/patch-ag
@@ -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++)