diff --git a/games-arcade/openclaw/openclaw-1.0.3_20190402.recipe b/games-arcade/openclaw/openclaw-1.0.3_20210607.recipe similarity index 95% rename from games-arcade/openclaw/openclaw-1.0.3_20190402.recipe rename to games-arcade/openclaw/openclaw-1.0.3_20210607.recipe index 0ac825108..db3295728 100644 --- a/games-arcade/openclaw/openclaw-1.0.3_20190402.recipe +++ b/games-arcade/openclaw/openclaw-1.0.3_20210607.recipe @@ -11,10 +11,10 @@ COPYRIGHT="2009 Peter \"Corsix\" Cawley 2012 Michael L. McShaffry and David Graham" LICENSE="MIT GNU GPL v3" -REVISION="3" -srcGitRev="083aa1971ab66efb204d4e0b7e9c0991f91f3dc3" +REVISION="1" +srcGitRev="3586dfade4a0ae9b4456d24b599c9e9b111522e2" SOURCE_URI="https://github.com/pjasicek/OpenClaw/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="6036c2985ba0aefcf2b5bffc0d941e8fe7d5cbcbe9258c7bcf91e21198825ca0" +CHECKSUM_SHA256="bb33a7d39745f050af013fcb9d444e6df17ec7c89f72648ace11038a4dc3d3ce" SOURCE_FILENAME="openclaw-$portVersion-$srcGitRev.tar.gz" SOURCE_DIR="OpenClaw-$srcGitRev" SOURCE_URI_2="https://github.com/pjasicek/OpenClaw/releases/download/v0.0/openclaw_1.0-1.deb#noarchive" diff --git a/games-arcade/openclaw/patches/openclaw-1.0.3_20190402.patchset b/games-arcade/openclaw/patches/openclaw-1.0.3_20210607.patchset similarity index 50% rename from games-arcade/openclaw/patches/openclaw-1.0.3_20190402.patchset rename to games-arcade/openclaw/patches/openclaw-1.0.3_20210607.patchset index 1c292cd7e..e4506277b 100644 --- a/games-arcade/openclaw/patches/openclaw-1.0.3_20190402.patchset +++ b/games-arcade/openclaw/patches/openclaw-1.0.3_20210607.patchset @@ -1,14 +1,14 @@ -From 3f3f89b0b576b29a0aaee27f4a2d44857574db86 Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Tue, 18 Jun 2019 23:17:52 +0200 +From fa1e3594ea1ef82f351cff9ea45c0c46626d6384 Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Thu, 11 Mar 2021 16:21:46 +1000 Subject: user directory for Haiku diff --git a/OpenClaw/Engine/GameApp/MainLoop.cpp b/OpenClaw/Engine/GameApp/MainLoop.cpp -index e66c44b..0d6c651 100644 +index f5c616e..6087cb8 100644 --- a/OpenClaw/Engine/GameApp/MainLoop.cpp +++ b/OpenClaw/Engine/GameApp/MainLoop.cpp -@@ -20,6 +20,8 @@ int RunGameEngine(int argc, char** argv) +@@ -24,6 +24,8 @@ int RunGameEngine(int argc, char** argv) userDirectory = "/sdcard/claw/"; #elif defined(__WINDOWS__) userDirectory = ""; @@ -18,17 +18,17 @@ index e66c44b..0d6c651 100644 const char* homedir; -- -2.23.0 +2.30.2 -From 337fc75e7c969f1f2b6df621cf021b80aabc4b7e Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Tue, 18 Jun 2019 23:22:40 +0200 +From 88786a5e7c5b11c6a27c8d51445fed8f6dbf6a91 Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Thu, 11 Mar 2021 16:21:57 +1000 Subject: assets folder diff --git a/Build_Release/config.xml b/Build_Release/config.xml -index 4a4d60c..29f9efa 100644 +index 36c3195..cb3b1de 100644 --- a/Build_Release/config.xml +++ b/Build_Release/config.xml @@ -22,7 +22,7 @@ @@ -41,27 +41,49 @@ index 4a4d60c..29f9efa 100644 ASSETS.ZIP 150 -- -2.23.0 +2.30.2 -From 6f62e7a6ac8eae62b64ad9656b546e63ec707631 Mon Sep 17 00:00:00 2001 +From 12a1beaeefe34d50ae3e74d0b57682692900396e Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Thu, 7 Nov 2019 13:41:10 +1000 +Date: Mon, 27 Sep 2021 09:35:24 +1000 +Subject: Set 800x600 resolution by default + + +diff --git a/Build_Release/config.xml b/Build_Release/config.xml +index cb3b1de..81b6a2e 100644 +--- a/Build_Release/config.xml ++++ b/Build_Release/config.xml +@@ -1,6 +1,6 @@ + + +- ++ + 1 + false + false +-- +2.30.2 + + +From 9767f34f2021b73b8fe4925d2e8078df5d6d7c52 Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Mon, 27 Sep 2021 09:41:56 +1000 Subject: Uninitialize SDL Audio subsystem diff --git a/OpenClaw/Engine/GameApp/BaseGameApp.cpp b/OpenClaw/Engine/GameApp/BaseGameApp.cpp -index 681b523..4b16efc 100644 +index f8c118c..dca4d8b 100644 --- a/OpenClaw/Engine/GameApp/BaseGameApp.cpp +++ b/OpenClaw/Engine/GameApp/BaseGameApp.cpp -@@ -100,6 +100,7 @@ void BaseGameApp::Terminate() +@@ -105,6 +105,7 @@ void BaseGameApp::Terminate() SDL_DestroyRenderer(m_pRenderer); SDL_DestroyWindow(m_pWindow); SAFE_DELETE(m_pAudio); + SDL_QuitSubSystem(SDL_INIT_AUDIO); - // TODO - this causes crashes - //SAFE_DELETE(m_pEventMgr); - //SAFE_DELETE(m_pResourceCache); + SAFE_DELETE(m_pTouchManager); + SAFE_DELETE(m_pEventMgr); + SAFE_DELETE(m_pResourceMgr); -- -2.23.0 +2.30.2