z26, fix reference to libSDL (#4081)

This commit is contained in:
Schrijvers Luc
2019-08-10 17:44:31 +02:00
committed by waddlesplash
parent 5c45e2506b
commit 37aa2faee0
2 changed files with 27 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
From 5d458a8a6a012c0aed108b34ad5cba0f37c530b1 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
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

View File

@@ -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