EndlessSky: bump version

This commit is contained in:
Gerasim Troeglazov
2021-09-27 14:21:50 +10:00
parent 48a054dd09
commit a9dc51007b
3 changed files with 25 additions and 48 deletions

View File

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

View File

@@ -1,47 +0,0 @@
From d6183ec99de4e362002f91ad64ed474abab9209c Mon Sep 17 00:00:00 2001
From: Vrondir <nikiporumbachanov@gmail.com>
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 <nikiporumbachanov@gmail.com>
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

View File

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