diff options
author | Mitchell Richters | 2022-01-10 20:34:41 +1100 |
---|---|---|
committer | Mitchell Richters | 2022-01-10 20:34:41 +1100 |
commit | 8e56f18d9f8a2d7c7f405c91d4b91236f2756072 (patch) | |
tree | dd14a02c7cbb5c312d49c6f6b27f7a0f622ede50 | |
parent | 8db8f8e86282b4e30b28c518f21ccdbfabf6b2cd (diff) | |
download | aur-8e56f18d9f8a2d7c7f405c91d4b91236f2756072.tar.gz |
raze-git-1.4pre+1256+g3c54495c5-1
-rw-r--r-- | 0001-Fix-file-paths.patch | 36 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 14 insertions, 26 deletions
diff --git a/0001-Fix-file-paths.patch b/0001-Fix-file-paths.patch index d862910407a1..9f026a8cb274 100644 --- a/0001-Fix-file-paths.patch +++ b/0001-Fix-file-paths.patch @@ -1,19 +1,8 @@ -From 59d406377474990b43356132a7157eb23ccdcef4 Mon Sep 17 00:00:00 2001 -From: Jan Cholasta <jan@cholasta.net> -Date: Thu, 6 Feb 2020 07:59:18 +0100 -Subject: [PATCH] Fix file paths - ---- - source/common/platform/posix/sdl/i_main.cpp | 14 +------------- - source/core/gameconfigfile.cpp | 15 ++------------- - source/core/gamecontrol.cpp | 2 +- - 3 files changed, 4 insertions(+), 27 deletions(-) - diff --git a/source/common/platform/posix/sdl/i_main.cpp b/source/common/platform/posix/sdl/i_main.cpp -index a984721fc..ddc209e34 100644 +index a28b90f01..3bd907336 100644 --- a/source/common/platform/posix/sdl/i_main.cpp +++ b/source/common/platform/posix/sdl/i_main.cpp -@@ -129,19 +129,7 @@ int main (int argc, char **argv) +@@ -175,19 +175,7 @@ int main (int argc, char **argv) Args = new FArgs(argc, argv); // Should we even be doing anything with progdir on Unix systems? @@ -31,16 +20,18 @@ index a984721fc..ddc209e34 100644 - progdir = "./"; - } + progdir = "/usr/lib/raze/"; - + I_StartupJoysticks(); diff --git a/source/core/gameconfigfile.cpp b/source/core/gameconfigfile.cpp -index 115c737be..c83ce70ed 100644 +index 68e63b9c9..9ece4fe78 100644 --- a/source/core/gameconfigfile.cpp +++ b/source/core/gameconfigfile.cpp -@@ -100,15 +100,10 @@ FGameConfigFile::FGameConfigFile () - // Debian likes them in /usr/share/games/doom +@@ -103,17 +103,11 @@ FGameConfigFile::FGameConfigFile () // I assume other distributions don't do anything radically different + SetValueForKey ("Path", "/opt/raze", true); + SetValueForKey ("Path", "/usr/share/games/raze", true); +- SetValueForKey ("Path", "/usr/local/share/games/raze", true); SetValueForKey ("Path", "/usr/share/games/jfduke3d", true); - SetValueForKey ("Path", "/usr/local/share/games/jfduke3d", true); SetValueForKey ("Path", "/usr/share/games/eduke32", true); @@ -54,7 +45,7 @@ index 115c737be..c83ce70ed 100644 #endif SetValueForKey ("Path", "$STEAM", true); // also covers GOG. -@@ -128,13 +123,10 @@ FGameConfigFile::FGameConfigFile () +@@ -133,13 +127,10 @@ FGameConfigFile::FGameConfigFile () SetValueForKey ("Path", "$GAMEDIR", true); #else SetValueForKey ("Path", "$HOME/" GAME_DIR, true); @@ -69,7 +60,7 @@ index 115c737be..c83ce70ed 100644 #endif } -@@ -151,10 +143,7 @@ FGameConfigFile::FGameConfigFile () +@@ -156,10 +147,7 @@ FGameConfigFile::FGameConfigFile () SetValueForKey("Path", "$PROGDIR/soundfonts", true); #else SetValueForKey("Path", "$HOME/" GAME_DIR "/soundfonts", true); @@ -82,10 +73,10 @@ index 115c737be..c83ce70ed 100644 } diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp -index c034ff152..1ba99a14b 100644 +index d70e20584..0c5322464 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp -@@ -823,7 +823,7 @@ int RunGame() +@@ -929,7 +929,7 @@ int RunGame() FString logfile = Args->TakeValue("+logfile"); // As long as this engine is still in prerelease mode let's always write a log file. @@ -94,6 +85,3 @@ index c034ff152..1ba99a14b 100644 if (logfile.IsNotEmpty()) { --- -2.30.0 - @@ -1,7 +1,7 @@ # Maintainer: Jan Cholasta <grubber at grubber cz> pkgname=raze-git -pkgver=1.1.0pre+380+g24b567313 +pkgver=1.4pre+1256+g3c54495c5 pkgrel=1 pkgdesc='Build engine port backed by GZDoom tech (git version)' arch=('x86_64') @@ -27,7 +27,7 @@ source=("Raze::git+https://github.com/coelckers/Raze" '0001-Fix-file-paths.patch' 'raze.desktop') sha256sums=('SKIP' - '5655c8685ebebf8ac7491dda3b4c8efd3b06f979111315df3fd87674dacfa963' + 'd8960cba3a0596a6e52072b9bd8f38e92d51be0315fcb53f3cb9c72da4e87081' 'ffc02d8f6f0d4464a74e025d41063f2441d9423d4ed605a0290eb266ae9531c8') pkgver() { |