diff --git a/games-action/endless_sky/endless_sky-0.9.12.recipe b/games-action/endless_sky/endless_sky-0.9.14.recipe similarity index 96% rename from games-action/endless_sky/endless_sky-0.9.12.recipe rename to games-action/endless_sky/endless_sky-0.9.14.recipe index 3b7e03c18..d4a3906d6 100644 --- a/games-action/endless_sky/endless_sky-0.9.12.recipe +++ b/games-action/endless_sky/endless_sky-0.9.14.recipe @@ -11,7 +11,7 @@ COPYRIGHT="Michael Zahniser" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/endless-sky/endless-sky/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="31f76ac11666415478678d924174d43a620a7fd1093e95131776aed12b912eb4" +CHECKSUM_SHA256="6c22571b5398a18297aa7410890c319b5cb292a833889b4e7c0cd94d831f29af" SOURCE_DIR="endless-sky-$portVersion" PATCHES="endless_sky-$portVersion.patchset" ADDITIONAL_FILES="endless-sky.rdef.in" diff --git a/games-action/endless_sky/patches/endless_sky-0.9.12.patchset b/games-action/endless_sky/patches/endless_sky-0.9.12.patchset deleted file mode 100644 index 61c268d0e..000000000 --- a/games-action/endless_sky/patches/endless_sky-0.9.12.patchset +++ /dev/null @@ -1,47 +0,0 @@ -From d6183ec99de4e362002f91ad64ed474abab9209c Mon Sep 17 00:00:00 2001 -From: Vrondir -Date: Tue, 21 Jan 2020 21:40:44 +0000 -Subject: Remove call to SDL_ShowCursor - - -diff --git a/source/main.cpp b/source/main.cpp -index 323b594..1516d3c 100644 ---- a/source/main.cpp -+++ b/source/main.cpp -@@ -329,7 +329,7 @@ int main(int argc, char *argv[]) - if(shouldShowCursor != showCursor) - { - showCursor = shouldShowCursor; -- SDL_ShowCursor(showCursor); -+ //SDL_ShowCursor(showCursor); - } - - // Tell all the panels to step forward, then draw them. --- -2.19.0 - - -From 44998bc5259f493f5c46eb2e63a36e44fe1e9052 Mon Sep 17 00:00:00 2001 -From: Vrondir -Date: Wed, 22 Jan 2020 15:29:14 +0000 -Subject: Add ifndef - - -diff --git a/source/main.cpp b/source/main.cpp -index 1516d3c..2ca3e41 100644 ---- a/source/main.cpp -+++ b/source/main.cpp -@@ -329,7 +329,9 @@ int main(int argc, char *argv[]) - if(shouldShowCursor != showCursor) - { - showCursor = shouldShowCursor; -- //SDL_ShowCursor(showCursor); -+ #ifndef __HAIKU__ -+ SDL_ShowCursor(showCursor); -+ #endif - } - - // Tell all the panels to step forward, then draw them. --- -2.19.0 - diff --git a/games-action/endless_sky/patches/endless_sky-0.9.14.patchset b/games-action/endless_sky/patches/endless_sky-0.9.14.patchset new file mode 100644 index 000000000..5e268ca54 --- /dev/null +++ b/games-action/endless_sky/patches/endless_sky-0.9.14.patchset @@ -0,0 +1,24 @@ +From 218cce1093b81875762b1490cf2e2d3cc2ac191c Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Mon, 27 Sep 2021 14:16:14 +1000 +Subject: Remove LTO + + +diff --git a/SConstruct b/SConstruct +index 3ae455a..ee9722b 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -48,8 +48,8 @@ Help(opts.GenerateHelpText(env)) + # or modify the `flags` variable: + flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"] + if env["mode"] != "debug": +- flags += ["-O3", "-flto"] +- env.Append(LINKFLAGS = ["-O3", "-flto"]) ++ flags += ["-O3"] ++ env.Append(LINKFLAGS = ["-O3"]) + if env["mode"] == "debug": + flags += ["-g"] + elif env["mode"] == "profile": +-- +2.30.2 +