pkgsrc/emulators/fceu/patches/patch-ac
wiz c2f557623f Initial import of FCE Ultra, a Nintendo Entertainment System and
Famicom emulator.

FCE Ultra is an NTSC and PAL Famicom/NES emulator for various
platforms. It is based upon Bero's original FCE source code. Current
features include good PPU, CPU, pAPU, expansion chip, and joystick
emulation. Also a feature unique to this emulator (at the current
time) is authentic Game Genie emulation. Save states and snapshot
features also have been implemented.
2004-07-19 18:37:14 +00:00

16 lines
383 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
NetBSD's zlib.h does not define OF().
--- src/unzip.h.orig 2004-01-21 21:50:00.000000000 +0100
+++ src/unzip.h
@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
typedef voidp unzFile;
#endif
+#ifndef OF
+#define OF(a) a
+#endif
#define UNZ_OK (0)
#define UNZ_END_OF_LIST_OF_FILE (-100)