pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/fceu Convert some C99-isms to C89 to make th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/06926f5dc737
branches: trunk
changeset: 479777:06926f5dc737
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sun Aug 22 11:56:46 2004 +0000
description:
Convert some C99-isms to C89 to make this build with gcc 2.95.
diffstat:
emulators/fceu/distinfo | 3 ++-
emulators/fceu/patches/patch-ae | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 33e4a7b57337 -r 06926f5dc737 emulators/fceu/distinfo
--- a/emulators/fceu/distinfo Sun Aug 22 11:37:28 2004 +0000
+++ b/emulators/fceu/distinfo Sun Aug 22 11:56:46 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/08/15 20:24:21 wiz Exp $
+$NetBSD: distinfo,v 1.5 2004/08/22 11:56:46 kristerw Exp $
SHA1 (fceu-0.98.11.src.tar.bz2) = 60caac7bb9dd40920fd28ef3d1a823979c17692e
Size (fceu-0.98.11.src.tar.bz2) = 556643 bytes
@@ -6,3 +6,4 @@
SHA1 (patch-ab) = 593c40bfe03e8ae8835113972a58a1cf46e882a9
SHA1 (patch-ac) = 8a5297b11484c6eaf5d70a391bb486ff58475f35
SHA1 (patch-ad) = 2a253539f9103b75a09f31d51427e8849a3b0249
+SHA1 (patch-ae) = 4116f1df12b81f1a7a99b61f5aea7acaa5db0d6b
diff -r 33e4a7b57337 -r 06926f5dc737 emulators/fceu/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/patches/patch-ae Sun Aug 22 11:56:46 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ae,v 1.1 2004/08/22 11:56:46 kristerw Exp $
+
+--- src/movie.c.orig Sun Aug 22 13:44:10 2004
++++ src/movie.c Sun Aug 22 13:44:49 2004
+@@ -154,6 +154,7 @@
+
+ void FCEUMOV_AddJoy(uint8 *js)
+ {
++ int tmpfix;
+ int x,y;
+
+ if(!current) return; /* Not playback nor recording. */
+@@ -190,7 +191,7 @@
+ tmp >>= 5;
+ tmp &= 0x3;
+ ti=0;
+- int tmpfix = tmp;
++ tmpfix = tmp;
+ while(tmp--) { nextts |= fgetc(slots[-1 - current]) << (ti * 8); ti++; }
+
+ // This fixes a bug in movies recorded before version 0.98.11
Home |
Main Index |
Thread Index |
Old Index