diff options
-rw-r--r-- | emulators/raine/Makefile | 25 | ||||
-rw-r--r-- | emulators/raine/PLIST | 55 | ||||
-rw-r--r-- | emulators/raine/distinfo | 20 | ||||
-rw-r--r-- | emulators/raine/patches/patch-aa | 121 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ab | 20 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ac | 10 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ad | 26 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ae | 14 | ||||
-rw-r--r-- | emulators/raine/patches/patch-af | 14 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ag | 29 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ah | 13 | ||||
-rw-r--r-- | emulators/raine/patches/patch-ai | 14 |
12 files changed, 152 insertions, 209 deletions
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile index 2a64f0662f6..91476e3e50b 100644 --- a/emulators/raine/Makefile +++ b/emulators/raine/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:35 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2006/07/17 20:21:35 wiz Exp $ # -DISTNAME= raines-0.40.2 +DISTNAME= raines-0.43.3 PKGNAME= ${DISTNAME:S/raines/raine/} -PKGREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://www.rainemu.com/html/archive/ EXTRACT_SUFX= .tar.bz2 @@ -14,27 +13,31 @@ COMMENT= 680x0 Arcade Emulator BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm -WRKSRC= ${WRKDIR}/raine -USE_TOOLS+= gmake perl:run +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +USE_TOOLS+= gmake perl:run pkg-config MAKEFILE= makefile MAKE_ENV+= OSTYPE=linux REPLACE_PERL= makedep PTHREAD_OPTS+= require +USE_DIRS+= xdg-1.1 + # XXX Really? ONLY_FOR_PLATFORM= *-*-i386 post-build: - @( \ - ${ECHO} "#!${SH}"; \ - ${ECHO} "cd ${PREFIX}/share/raine && ./raine $$@" \ - ) > ${WRKSRC}/raine.sh + (${ECHO} "#!${SH}"; \ + ${ECHO} "cd ${PREFIX}/share/raine && ./raine $$@") \ + > ${WRKSRC}/raine.sh -pre-install: - @${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine +post-install: + ${MV} ${PREFIX}/bin/raine ${PREFIX}/share/raine + ${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine +.include "../../devel/SDL/buildlink3.mk" .include "../../devel/allegro/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/raine/PLIST b/emulators/raine/PLIST index afb2450e48e..81defa4cf25 100644 --- a/emulators/raine/PLIST +++ b/emulators/raine/PLIST @@ -1,29 +1,38 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2006/07/17 20:21:35 wiz Exp $ bin/raine -share/raine/languages/Brasil.cfg -share/raine/languages/CZECH.CFG -share/raine/languages/Catala.cfg -share/raine/languages/Dansk.cfg -share/raine/languages/Dutch.cfg -share/raine/languages/English.cfg -share/raine/languages/Espaņol.cfg -share/raine/languages/Euskera.cfg -share/raine/languages/Finnish.cfg -share/raine/languages/French.cfg -share/raine/languages/French2.cfg -share/raine/languages/German.cfg -share/raine/languages/German2.cfg -share/raine/languages/Italian.cfg -share/raine/languages/Japanese.cfg -share/raine/languages/POLISH.CFG -share/raine/languages/Portugal.cfg -share/raine/languages/Spanish.cfg -share/raine/languages/Svenska.cfg -share/raine/languages/Template.cfg -share/raine/languages/Turkish.cfg +share/applications/raine.desktop +share/pixmaps/raine.png +share/raine/cheats.cfg +share/raine/hiscore.dat +share/raine/languages/brasil.cfg +share/raine/languages/catala.cfg +share/raine/languages/czech.cfg +share/raine/languages/dansk.cfg +share/raine/languages/dutch.cfg +share/raine/languages/english.cfg +share/raine/languages/espanol.cfg +share/raine/languages/euskera.cfg +share/raine/languages/finnish.cfg +share/raine/languages/french.cfg +share/raine/languages/french2.cfg share/raine/languages/galego.cfg +share/raine/languages/german.cfg +share/raine/languages/german2.cfg +share/raine/languages/italian.cfg +share/raine/languages/japanese.cfg +share/raine/languages/polish.cfg +share/raine/languages/portugal.cfg +share/raine/languages/spanish.cfg +share/raine/languages/svenska.cfg +share/raine/languages/template.cfg +share/raine/languages/turkish.cfg share/raine/raine share/raine/raine.dat -@dirrm share/raine/languages +@exec ${MKDIR} %D/share/raine/roms @dirrm share/raine/roms +@dirrm share/raine/languages +@exec ${MKDIR} %D/share/raine/emudx +@dirrm share/raine/emudx +@exec ${MKDIR} %D/share/raine/artwork +@dirrm share/raine/artwork @dirrm share/raine diff --git a/emulators/raine/distinfo b/emulators/raine/distinfo index e854f35a13d..2254ebc1b69 100644 --- a/emulators/raine/distinfo +++ b/emulators/raine/distinfo @@ -1,14 +1,8 @@ -$NetBSD: distinfo,v 1.5 2006/01/12 21:35:09 joerg Exp $ +$NetBSD: distinfo,v 1.6 2006/07/17 20:21:35 wiz Exp $ -SHA1 (raines-0.40.2.tar.bz2) = 1fbd0c108d60f53806a03f86693faf9ffdb6e60b -RMD160 (raines-0.40.2.tar.bz2) = e2c169ebcc69f617717b68272dca203658893a70 -Size (raines-0.40.2.tar.bz2) = 1513190 bytes -SHA1 (patch-aa) = 977bf37619aac97dff4bd11c2f28726faa219154 -SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a -SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608 -SHA1 (patch-ad) = 5ad5f4f60a8f22e55100fa0604fd08594f659510 -SHA1 (patch-ae) = 6ce2adccb6bded8cd4034ad314ce1856db95871c -SHA1 (patch-af) = 4978139a0d0f0e4c92c7a3dd2084167785fdf524 -SHA1 (patch-ag) = d79a11f6162895f5ef844c60ac36e4f0a22bf544 -SHA1 (patch-ah) = 9e7296cb7619fbbecd5380d021cb319d66806ef5 -SHA1 (patch-ai) = 86f682d1ae41e75a283c8f7c0474a8b03271b2fa +SHA1 (raines-0.43.3.tar.bz2) = a6c9fa7b63aadca8f5a76ba71532c0502854188b +RMD160 (raines-0.43.3.tar.bz2) = c245930880cada5f965caf7a9f2d4d9301912b82 +Size (raines-0.43.3.tar.bz2) = 1740971 bytes +SHA1 (patch-aa) = ee9d56cfc6b157b3b4a8d77547cf093688b6079e +SHA1 (patch-ab) = 9143d9f43150ec033d7a72d288256d0c759665d6 +SHA1 (patch-ac) = 82f0bc91dc840b250ec45899306c19b56f98a7ed diff --git a/emulators/raine/patches/patch-aa b/emulators/raine/patches/patch-aa index ada9805a1c6..f12dc307efc 100644 --- a/emulators/raine/patches/patch-aa +++ b/emulators/raine/patches/patch-aa @@ -1,15 +1,19 @@ -$NetBSD: patch-aa,v 1.2 2004/06/05 17:14:14 xtraeme Exp $ +$NetBSD: patch-aa,v 1.3 2006/07/17 20:21:35 wiz Exp $ ---- makefile.orig 2004-06-05 18:53:01.000000000 +0200 -+++ makefile 2004-06-05 18:58:51.000000000 +0200 -@@ -27,30 +27,7 @@ +--- makefile.orig 2006-05-26 12:12:22.000000000 +0000 ++++ makefile +@@ -25,35 +25,6 @@ VERSION = "0.43.3" # Use asm video core ? (comment to use C core) ASM_VIDEO_CORE = 1 -# Try to detect mingw... If you want to build the dos and the mingw -# version on the same system you should unset djdir before making -# the mingw version. --ifeq ($(shell uname -o),GNU/Linux) +-ifeq ("$(shell uname)","Linux") +-OSTYPE=linux-gnu +-endif +- +-ifeq ("$(shell uname)","FreeBSD") -OSTYPE=linux-gnu -endif - @@ -24,45 +28,79 @@ $NetBSD: patch-aa,v 1.2 2004/06/05 17:14:14 xtraeme Exp $ -endif -else -ifdef VERBOSE - ASM=nasm +-ASM=nasm -else -ASM=@nasm -endif -endif -endif - +- ifdef mingdir MINGDIR=1 -@@ -176,10 +153,10 @@ - # SDL = 1 - - prefix = $(DESTDIR) -- bindir = $(prefix)/usr/games -- sharedir = $(prefix)/usr/share -- mandir = $(sharedir)/man/man6 -- rainedata = $(sharedir)/games/raine -+ bindir = $(PREFIX)/bin -+ sharedir = $(PREFIX)/share -+ mandir = $(PREFIX)/man/man6 -+ rainedata = $(sharedir)/raine - langdir = $(rainedata)/languages - romdir = $(rainedata)/roms - -@@ -202,10 +179,10 @@ + endif +@@ -123,8 +94,8 @@ RAINE32 = 1 + DEFINE = -D__RAINE__ \ + -DRAINE_WIN32 \ + +- PNG_LFLAGS = "$(shell libpng-config --ldflags)" +- PNG_STATIC_LFLAGS = "$(shell libpng-config --static --ldflags)" ++ PNG_LFLAGS = "$(shell pkg-config --libs libpng12)" ++ PNG_STATIC_LFLAGS = "$(shell pkg-config --libs --static libpng12)" + LIBS = -lz -lalleg $(PNG_LFAGS) + LIBS_STATIC = -lz -lalleg_s -lkernel32 -luser32 -lgdi32 -lcomdlg32 \ + -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound \ +@@ -153,9 +124,9 @@ endif + + AFLAGS = -f coff + +- PNG_CFLAGS = "$(shell libpng-config --cflags)" +- PNG_LFAGS = "$(shell libpng-config --ldflags)" +- PNG_STATIC_LFLAGS = "$(shell libpng-config --static --ldflags)" ++ PNG_CFLAGS = "$(shell pkg-config --cflags libpng12)" ++ PNG_LFAGS = "$(shell pkg-config --cflags libpng12)" ++ PNG_STATIC_LFLAGS = "$(shell pkg-config --cflags --static libpng12)" + INCDIR += $(PNG_CFLAGS) + DEFINE = -D__RAINE__ \ + -DRAINE_WIN32 \ +@@ -214,7 +185,7 @@ else + + AFLAGS = -f elf + +- PNG_CFLAGS = "$(shell libpng-config --cflags)" ++ PNG_CFLAGS = "$(shell pkg-config --cflags libpng12)" + ifndef SDL + ALLEGRO_CFLAGS = "$(shell allegro-config --cflags)" + endif +@@ -226,9 +197,9 @@ endif DEFINE = -D__RAINE__ \ -DRAINE_UNIX \ -- LIBS = -lz `allegro-config --libs` -lvga # -lefence -- LIBS_DEBUG = -lz -lvga `allegro-config --libs debug` -+ LIBS = -lz `allegro-config --libs` -+ LIBS_DEBUG = -lz `allegro-config --libs debug` +- LIBS = -lz `allegro-config --libs` `libpng-config --ldflags` +- LIBS_DEBUG = -lz `allegro-config --libs ` `libpng-config --ldflags` # -lefence +- LIBS_STATIC = -lz `allegro-config --static` `libpng-config --static --ldflags` ++ LIBS = -lz `allegro-config --libs` `pkg-config --libs libpng12` ++ LIBS_DEBUG = -lz `allegro-config --libs ` `pkg-config --libs libpng12` # -lefence ++ LIBS_STATIC = -lz `allegro-config --static` `pkg-config --static --libs libpng12` + + ifeq ("$(shell if [ -e /usr/include/vga.h ] || [ -e /usr/local/include/vga.h ]; then echo yes; fi)","yes") + GFX_SVGALIB=1 +@@ -838,13 +809,13 @@ LIBS += `sdl-config --libs` + endif + endif -- LIBS_STATIC = -lz -lvga `allegro-config --static` -+ LIBS_STATIC = -lz `allegro-config --static` +-all: cpuinfo message maketree depend $(RAINE_EXE) ++all: message maketree depend $(RAINE_EXE) - endif # linux / mingw32 - endif # djgpp -@@ -942,11 +919,7 @@ + depend: + @echo dependencies : if you get an error here, install the required dev package + ifndef RAINE_DOS + @echo -n libpng: +- @libpng-config --version ++ @pkg-config --version libpng12 + @echo -n sdl: + @sdl-config --version + endif +@@ -1048,11 +1019,7 @@ dep: make.dep make.dep: ./makedep $(OBJDIR) $(OBJS) > make.dep @@ -74,20 +112,29 @@ $NetBSD: patch-aa,v 1.2 2004/06/05 17:14:14 xtraeme Exp $ # create directories -@@ -984,14 +957,16 @@ - install: install_dirs $(RAINE_LNG) - ifdef RAINE_LINUX +@@ -1090,18 +1057,22 @@ vclean: + install: install_dirs $(RAINE_LNG) $(RAINE_EXE) + ifdef RAINE_UNIX - $(INSTALL_BIN) $(RAINE_EXE) $(bindir) - $(INSTALL_DATA) $(RAINE_DAT) $(rainedata) -+ $(BSD_INSTALL_PROGRAM) $(RAINE_EXE) $(rainedata) ++ $(BSD_INSTALL_PROGRAM) $(RAINE_EXE) $(bindir) + $(BSD_INSTALL_DATA) $(RAINE_DAT) $(rainedata) + sh -c "if [ -f hiscore.dat ]; then $(INSTALL_DATA) hiscore.dat $(rainedata); fi" +- $(INSTALL_DATA) config/cheats.cfg $(rainedata) +- $(INSTALL_DATA) raine.desktop $(prefix)/usr/share/applications +- $(INSTALL_DATA) raine.png $(prefix)/usr/share/pixmaps ++ $(BSD_INSTALL_DATA) config/cheats.cfg $(rainedata) ++ $(BSD_INSTALL_DATA) raine.desktop $(PREFIX)/share/applications ++ $(BSD_INSTALL_DATA) raine.png $(PREFIX)/share/pixmaps install_dirs: -- $(MD) -pv $(bindir) $(rainedata) $(langdir) $(romdir) +- $(MD) -pv $(bindir) $(rainedata) $(langdir) $(romdir) $(artdir) $(emudxdir) $(prefix)/usr/share/applications $(prefix)/usr/share/pixmaps + $(BSD_INSTALL_DATA_DIR) $(rainedata) + $(BSD_INSTALL_DATA_DIR) $(langdir) + $(BSD_INSTALL_DATA_DIR) $(romdir) ++ $(BSD_INSTALL_DATA_DIR) $(artdir) ++ $(BSD_INSTALL_DATA_DIR) $(emudxdir) $(RAINE_LNG): - $(INSTALL_DATA) config/language/$@ $(langdir) diff --git a/emulators/raine/patches/patch-ab b/emulators/raine/patches/patch-ab index 07040b05809..fc7f218e2e6 100644 --- a/emulators/raine/patches/patch-ab +++ b/emulators/raine/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ +$NetBSD: patch-ab,v 1.2 2006/07/17 20:21:35 wiz Exp $ ---- source/unzip.h.orig 2004-04-05 05:50:54.000000000 +0200 -+++ source/unzip.h 2004-04-05 05:53:19.000000000 +0200 -@@ -142,9 +142,9 @@ +--- source/unzip.h.orig 2004-08-17 16:44:40.000000000 +0200 ++++ source/unzip.h +@@ -142,9 +142,9 @@ typedef struct unz_file_info_s tm_unz tmu_date; } unz_file_info; @@ -14,7 +14,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Compare two filename (fileName1,fileName2). If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) -@@ -155,7 +155,7 @@ +@@ -155,7 +155,7 @@ extern int ZEXPORT unzStringFileNameComp */ @@ -23,7 +23,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Open a Zip file. path contain the full pathname (by example, on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer -@@ -166,24 +166,24 @@ +@@ -166,24 +166,24 @@ extern unzFile ZEXPORT unzOpen OF((const of this unzip package. */ @@ -53,7 +53,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Get the global comment string of the ZipFile, in the szComment buffer. uSizeBuf is the size of the szComment buffer. -@@ -194,22 +194,22 @@ +@@ -194,22 +194,22 @@ extern int ZEXPORT unzGetGlobalComment O /***************************************************************************/ /* Unzip package allow you browse the directory of the zipfile */ @@ -80,7 +80,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Try locate the file szFileName in the zipfile. For the iCaseSensitivity signification, see unzStringFileNameCompare -@@ -220,14 +220,14 @@ +@@ -220,14 +220,14 @@ extern int ZEXPORT unzLocateFile OF((unz */ @@ -97,7 +97,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Get Info about the current file if pfile_info!=NULL, the *pfile_info structure will contain somes info about -@@ -246,22 +246,22 @@ +@@ -246,22 +246,22 @@ extern int ZEXPORT unzGetCurrentFileInfo from it, and close it (you can close it before reading all the file) */ @@ -124,7 +124,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ /* Read bytes from the current file (opened by unzOpenCurrentFile) buf contain buffer where data must be copied -@@ -273,19 +273,19 @@ +@@ -273,19 +273,19 @@ extern int ZEXPORT unzReadCurrentFile OF (UNZ_ERRNO for IO error, or zLib error for uncompress error) */ diff --git a/emulators/raine/patches/patch-ac b/emulators/raine/patches/patch-ac index b7e33929117..c0a9279487f 100644 --- a/emulators/raine/patches/patch-ac +++ b/emulators/raine/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ +$NetBSD: patch-ac,v 1.2 2006/07/17 20:21:35 wiz Exp $ ---- source/unzip.c.orig 2004-04-05 05:55:28.000000000 +0200 -+++ source/unzip.c 2004-04-05 05:55:54.000000000 +0200 -@@ -493,7 +493,7 @@ +--- source/unzip.c.orig 2004-08-17 16:44:40.000000000 +0200 ++++ source/unzip.c +@@ -493,7 +493,7 @@ local void unzlocal_DosDateToTmuDate (ul /* Get Info about the current file in the zipfile, with internal only info */ @@ -11,7 +11,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $ unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, -@@ -502,7 +502,7 @@ +@@ -502,7 +502,7 @@ local int unzlocal_GetCurrentFileInfoInt void *extraField, uLong extraFieldBufferSize, char *szComment, diff --git a/emulators/raine/patches/patch-ad b/emulators/raine/patches/patch-ad deleted file mode 100644 index 0310a86c36a..00000000000 --- a/emulators/raine/patches/patch-ad +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2006/01/12 21:35:09 joerg Exp $ - ---- source/gui/rgui.c.orig Sat Apr 17 02:38:41 2004 -+++ source/gui/rgui.c Sat Apr 17 02:39:11 2004 -@@ -9,6 +9,8 @@ - #include <winalleg.h> - #endif - -+#include <sys/time.h> -+ - #include "raine.h" - #include "rgui.h" - #include "rguiproc.h" -@@ -1723,10 +1725,12 @@ void dialog_oxygen(void) - // 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 deleted file mode 100644 index 37b8c8fb896..00000000000 --- a/emulators/raine/patches/patch-ae +++ /dev/null @@ -1,14 +0,0 @@ -$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 deleted file mode 100644 index 31ae7f9ac19..00000000000 --- a/emulators/raine/patches/patch-af +++ /dev/null @@ -1,14 +0,0 @@ -$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 deleted file mode 100644 index 94d0ab8ee6b..00000000000 --- a/emulators/raine/patches/patch-ag +++ /dev/null @@ -1,29 +0,0 @@ -$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++) diff --git a/emulators/raine/patches/patch-ah b/emulators/raine/patches/patch-ah deleted file mode 100644 index 76a6795617f..00000000000 --- a/emulators/raine/patches/patch-ah +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2006/01/12 21:35:09 joerg Exp $ - ---- source/emumain.c.orig 2006-01-12 21:04:11.000000000 +0000 -+++ source/emumain.c -@@ -9,6 +9,8 @@ - #include <winalleg.h> - #endif - -+#include <sys/time.h> -+ - #include "raine.h" // General defines and stuff - #include "emumain.h" // main loops - #include "gui.h" // Interface stuff diff --git a/emulators/raine/patches/patch-ai b/emulators/raine/patches/patch-ai deleted file mode 100644 index b09277b3975..00000000000 --- a/emulators/raine/patches/patch-ai +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-ai,v 1.1 2006/01/12 21:35:09 joerg Exp $ - ---- source/alleg/blit.c.orig 2006-01-12 21:09:13.000000000 +0000 -+++ source/alleg/blit.c -@@ -2,6 +2,9 @@ - #include <allegro.h> - #include <winalleg.h> - #endif -+ -+#include <sys/time.h> -+ - #include "blit_x2.h" - #include "eagle.h" - #include "games.h" // current_game for save_screen |