diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-08-22 11:56:46 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-08-22 11:56:46 +0000 |
commit | 7aac302d4f55ae0e67e6e1f2c2608d25e95c9568 (patch) | |
tree | 73b2b3f1d9b6ab145c52c14a4a30a82e73c61dd1 /emulators/fceu | |
parent | 1d9f8a50486b0c71f247aa235fddbde69e0c7099 (diff) | |
download | pkgsrc-7aac302d4f55ae0e67e6e1f2c2608d25e95c9568.tar.gz |
Convert some C99-isms to C89 to make this build with gcc 2.95.
Diffstat (limited to 'emulators/fceu')
-rw-r--r-- | emulators/fceu/distinfo | 3 | ||||
-rw-r--r-- | emulators/fceu/patches/patch-ae | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/emulators/fceu/distinfo b/emulators/fceu/distinfo index 7ce2b4c1e2a..1d2f7b28068 100644 --- a/emulators/fceu/distinfo +++ b/emulators/fceu/distinfo @@ -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-aa) = df9e098102d4c22c2699d5c5bdec79d72b8bac0c SHA1 (patch-ab) = 593c40bfe03e8ae8835113972a58a1cf46e882a9 SHA1 (patch-ac) = 8a5297b11484c6eaf5d70a391bb486ff58475f35 SHA1 (patch-ad) = 2a253539f9103b75a09f31d51427e8849a3b0249 +SHA1 (patch-ae) = 4116f1df12b81f1a7a99b61f5aea7acaa5db0d6b diff --git a/emulators/fceu/patches/patch-ae b/emulators/fceu/patches/patch-ae new file mode 100644 index 00000000000..260e0ccc9e8 --- /dev/null +++ b/emulators/fceu/patches/patch-ae @@ -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 |