File: gcc13.patch

package info (click to toggle)
pingus 0.7.6-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,684 kB
  • sloc: cpp: 42,080; xml: 2,319; lisp: 521; ruby: 455; ansic: 365; objc: 248; sh: 247; makefile: 66; python: 15
file content (30 lines) | stat: -rw-r--r-- 930 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
23
24
25
26
27
28
29
30
From: Alexandre Detiste <alexandre.detiste@gmail.com>
Date: Fri Jun 23 20:39:45 CEST 2023
Subject: gcc12

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037820

diff --git a/src/engine/display/font_description.hpp b/src/engine/display/font_description.hpp
index a283875..9f80faa 100644
--- a/src/engine/display/font_description.hpp
+++ b/src/engine/display/font_description.hpp
@@ -18,6 +18,7 @@
 #define HEADER_PINGUS_ENGINE_DISPLAY_FONT_DESCRIPTION_HPP
 
 #include <vector>
+#include <cstdint>
 
 #include "math/rect.hpp"
 #include "util/pathname.hpp"
diff --git a/src/util/pathname.hpp b/src/util/pathname.hpp
index c30df0a..c7d1c7c 100644
--- a/src/util/pathname.hpp
+++ b/src/util/pathname.hpp
@@ -19,6 +19,7 @@
 
 #include <string>
 #include <vector>
+#include <cstdint>
 
 /** Simple class to allow a distinction of paths that refer to the
  *  filesystem and paths that refer to the datadir, it also hides