diff --git a/games-emulation/z26/patches/z26-2.16.00s.patchset b/games-emulation/z26/patches/z26-2.16.00s.patchset new file mode 100644 index 000000000..7dac65e8a --- /dev/null +++ b/games-emulation/z26/patches/z26-2.16.00s.patchset @@ -0,0 +1,22 @@ +From 5d458a8a6a012c0aed108b34ad5cba0f37c530b1 Mon Sep 17 00:00:00 2001 +From: begasus +Date: Sat, 10 Aug 2019 11:51:25 +0200 +Subject: Disable fullscreen on startup + + +diff --git a/globals.c b/globals.c +index 97a987c..9fdc4f4 100644 +--- a/globals.c ++++ b/globals.c +@@ -243,7 +243,7 @@ void def_LoadDefaults(void) + GameOffset = 0; + theme = 0x50; // aqua + VideoMode = 0xff; +- FullScreen = 1; ++ FullScreen = 0; + Narrow = 0; + InDesktop = 1; // ... + UserCFirst = 0xffff; +-- +2.21.0 + diff --git a/games-emulation/z26/z26-2.16.00s.recipe b/games-emulation/z26/z26-2.16.00s.recipe index 99c212141..2ed1f81df 100644 --- a/games-emulation/z26/z26-2.16.00s.recipe +++ b/games-emulation/z26/z26-2.16.00s.recipe @@ -5,12 +5,13 @@ It also supports multiload files, and a whole lot of other features." HOMEPAGE="http://whimsey.com/z26/" COPYRIGHT="1997-2004 John Saeger" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="http://whimsey.com/z26/z26v2.16.00s.zip" CHECKSUM_SHA256="fe285597543a9f562b25f11e57804c604d8226d9a6dc6dc1b9e2a4cfc5f38276" SOURCE_DIR="src" +PATCHES="z26-$portVersion.patchset" -ARCHITECTURES="!x86_gcc2 x86" +ARCHITECTURES="!x86_gcc2 ?x86" SECONDARY_ARCHITECTURES="x86" PROVIDES=" @@ -19,12 +20,12 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix - lib:libsdl$secondaryArchSuffix + lib:libSDL_1.2$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libsdl${secondaryArchSuffix} + devel:libSDL${secondaryArchSuffix} " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix