- Add 0001-Resolve-build-failure-on-i686-linux.patch
OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=67
This commit is contained in:
parent
6c3c514319
commit
0f43b4559b
29
0001-Resolve-build-failure-on-i686-linux.patch
Normal file
29
0001-Resolve-build-failure-on-i686-linux.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 984839295b4160a5859273399254225b9967c570 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: Sat, 18 Jun 2022 22:28:20 +0200
|
||||||
|
Subject: [PATCH] Resolve build failure on i686-linux
|
||||||
|
|
||||||
|
gcc had to say:
|
||||||
|
gzdoom-g4.8.0/src/common/engine/stats.h:83:13: error: 'CPU' was not declared in this scope
|
||||||
|
83 | if (CPU.bRDTSC)
|
||||||
|
---
|
||||||
|
src/common/engine/stats.h | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/common/engine/stats.h b/src/common/engine/stats.h
|
||||||
|
index d6e976ea5..0794455d2 100644
|
||||||
|
--- a/src/common/engine/stats.h
|
||||||
|
+++ b/src/common/engine/stats.h
|
||||||
|
@@ -35,6 +35,9 @@
|
||||||
|
#define __STATS_H__
|
||||||
|
|
||||||
|
#include "zstring.h"
|
||||||
|
+#if defined __i386__
|
||||||
|
+#include "x86.h"
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#if !defined _WIN32 && !defined __APPLE__
|
||||||
|
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
@ -11,6 +11,7 @@ Mon Jun 6 21:22:12 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
|||||||
* Many MBF21 fixes.
|
* Many MBF21 fixes.
|
||||||
* Added the cutscene system from Raze.
|
* Added the cutscene system from Raze.
|
||||||
- Add gzdoom-discord.patch
|
- Add gzdoom-discord.patch
|
||||||
|
- Add 0001-Resolve-build-failure-on-i686-linux.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 23 01:04:05 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Sat Apr 23 01:04:05 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
@ -32,6 +32,7 @@ Patch3: gzdoom-asmjit.patch
|
|||||||
Patch4: gzdoom-sdlbug.patch
|
Patch4: gzdoom-sdlbug.patch
|
||||||
Patch5: gzdoom-vulkan.patch
|
Patch5: gzdoom-vulkan.patch
|
||||||
Patch6: gzdoom-discord.patch
|
Patch6: gzdoom-discord.patch
|
||||||
|
Patch7: 0001-Resolve-build-failure-on-i686-linux.patch
|
||||||
BuildRequires: cmake >= 2.8.7
|
BuildRequires: cmake >= 2.8.7
|
||||||
BuildRequires: discord-rpc-devel
|
BuildRequires: discord-rpc-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
Loading…
Reference in New Issue
Block a user