File: fix-gcc-11-build.patch

package info (click to toggle)
openclonk 8.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 169,656 kB
  • sloc: cpp: 180,484; ansic: 108,988; xml: 31,371; python: 1,223; php: 767; makefile: 148; sh: 101; javascript: 34
file content (22 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Bo YU <tsu.yubo@gmail.com>
Date: Fri, 23 Dec 2022 21:49:46 +0800
Subject: fix ftbfs on gcc-11

Bug-Debian: https://bugs.debian.org/984274 
Last-Update: 2022-12-23
---
 src/C4Include.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/C4Include.h b/src/C4Include.h
index d4b0161..ecf0110 100644
--- a/src/C4Include.h
+++ b/src/C4Include.h
@@ -25,6 +25,7 @@ don't need to include this file or any of the files it includes. */
 #ifndef INC_C4Include
 #define INC_C4Include
 
+#include <limits>
 #include "platform/PlatformAbstraction.h"
 
 constexpr bool DEBUGREC_SCRIPT = true;