From b7733ec8bae7e15ab5897dd5c5f34506f247e1c5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 19 Mar 2022 01:49:38 -0400 Subject: games/odamex: Fix 32-bit build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/odamex/odamex.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'games') diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild index 11784389deb67..244daa0c53779 100644 --- a/games/odamex/odamex.SlackBuild +++ b/games/odamex/odamex.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220319 bkw: fix build on 32-bit. # 20220208 bkw: BUILD=3, add the missing .diff... # 20211231 bkw: BUILD=2. # - the SDL2 segfault will likely be fixed soon (reported to PV, along @@ -106,6 +107,10 @@ sed -i 's,OdaGetInstallDir(),"/usr/games",g' \ odalaunch/src/dlg_main.cpp \ odalaunch/src/dlg_config.cpp +# 20220319 bkw: cmake brokenness, fix manually. +sed -i '/-march=pentium-m/d' client/CMakeLists.txt +SLKCFLAGS+=" -msse -msse2" + rm -rf build mkdir -p build cd build -- cgit v1.2.3