pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/KoboDeluxe
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Oct 8 16:13:12 UTC 2019
Modified Files:
pkgsrc/games/KoboDeluxe: distinfo
Added Files:
pkgsrc/games/KoboDeluxe/patches: patch-kobo.cpp
Log Message:
Fix immediate eternal pause
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/KoboDeluxe/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/KoboDeluxe/patches/patch-kobo.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/KoboDeluxe/distinfo
diff -u pkgsrc/games/KoboDeluxe/distinfo:1.7 pkgsrc/games/KoboDeluxe/distinfo:1.8
--- pkgsrc/games/KoboDeluxe/distinfo:1.7 Tue Nov 3 20:56:42 2015
+++ pkgsrc/games/KoboDeluxe/distinfo Tue Oct 8 16:13:12 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 20:56:42 agc Exp $
+$NetBSD: distinfo,v 1.8 2019/10/08 16:13:12 ryoon Exp $
SHA1 (KoboDeluxe-0.5.1.tar.bz2) = bc49dbbae562baffd312444b373c7ebbf5e233c6
RMD160 (KoboDeluxe-0.5.1.tar.bz2) = b196054f2220fe1b479a490723b1f5da4e74aa1f
@@ -6,3 +6,4 @@ SHA512 (KoboDeluxe-0.5.1.tar.bz2) = fc10
Size (KoboDeluxe-0.5.1.tar.bz2) = 1781752 bytes
SHA1 (patch-enemies.h) = a3e9fb60581d7a7bcb079ceda5d1271f923470cd
SHA1 (patch-enemy.cpp) = dbec6a60bb6a26cac66498584b3f100c6acd5f21
+SHA1 (patch-kobo.cpp) = 958b9b40caee7dc3d67edbe3b834eed5f2af6beb
Added files:
Index: pkgsrc/games/KoboDeluxe/patches/patch-kobo.cpp
diff -u /dev/null pkgsrc/games/KoboDeluxe/patches/patch-kobo.cpp:1.1
--- /dev/null Tue Oct 8 16:13:12 2019
+++ pkgsrc/games/KoboDeluxe/patches/patch-kobo.cpp Tue Oct 8 16:13:12 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-kobo.cpp,v 1.1 2019/10/08 16:13:12 ryoon Exp $
+
+* Fix immediate pause
+ From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909244
+
+--- kobo.cpp.orig 2007-12-24 05:59:02.000000000 +0000
++++ kobo.cpp
+@@ -1691,7 +1691,7 @@ void kobo_gfxengine_t::frame()
+ break;
+ case SDL_ACTIVEEVENT:
+ // Any type of focus loss should activate pause mode!
+- if(!ev.active.gain)
++ if(!ev.active.gain && ev.active.state != SDL_APPINPUTFOCUS)
+ km.pause_game();
+ break;
+ case SDL_QUIT:
Home |
Main Index |
Thread Index |
Old Index