summaryrefslogtreecommitdiff
path: root/gcc11.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-17 20:57:26 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-17 20:57:26 -0700
commitd95febcd86434686f76c091282743d0c3c026b25 (patch)
treeb4aedcdeccb5e0071501814419d453cf0e1e1a6e /gcc11.patch
parentUpdate the PKGBUILD (diff)
downloadcataclysm-bn-d95febcd86434686f76c091282743d0c3c026b25.tar.xz
Add patch and seds to compile with gcc11
Diffstat (limited to 'gcc11.patch')
-rw-r--r--gcc11.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc11.patch b/gcc11.patch
new file mode 100644
index 0000000..09f20c4
--- /dev/null
+++ b/gcc11.patch
@@ -0,0 +1,9 @@
+--- a/src/units_volume.h
++++ b/src/units_volume.h
+@@ -3,6 +3,7 @@
+ #define CATA_SRC_UNITS_VOLUME_H
+
+ #include <algorithm>
++#include <limits>
+
+ #include "units_def.h"