commit:     ae3666c3f6fe003ba4a0ca9f024c078f8042aeb5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 13 19:16:53 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 00:44:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3666c3

games-arcade/funnyboat: use windowed mode by default

Support for fullscreen (and being default) is from debian and
disabling can be unintuitive if the menus aren't displaying right.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch  | 10 ++++++++++
 ...funnyboat-1.5_p11-r2.ebuild => funnyboat-1.5_p11-r3.ebuild} |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch 
b/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch
new file mode 100644
index 00000000000..a736a43e9fb
--- /dev/null
+++ b/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch
@@ -0,0 +1,10 @@
+Fullscreen can misdisplay depending on available modes and, while there
+is a command line option to enable it (-f), there is none to disable.
+
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432693
+--- a/locals.py
++++ b/locals.py
+@@ -18,2 +18,2 @@
+     name = "Funny Boater"
+-    fullscreen = True
++    fullscreen = False

diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild 
b/games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild
similarity index 94%
rename from games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild
rename to games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild
index ee9eaef8750..1f1181187f8 100644
--- a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild
+++ b/games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild
@@ -28,7 +28,8 @@ BDEPEND="
        app-arch/unzip"
 
 PATCHES=(
-        "${WORKDIR}"/debian/patches
+       "${WORKDIR}"/debian/patches
+       "${FILESDIR}"/${P}-windowed.patch
 )
 
 src_prepare() {

Reply via email to