File: gcc-15.patch

package info (click to toggle)
dia2code 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,384 kB
  • sloc: cpp: 8,163; sh: 4,280; php: 289; cs: 267; java: 219; makefile: 49; ansic: 38
file content (24 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-11-04
Description: Add missing includes to build with gcc-15

--- a/src/DiaGram.hpp
+++ b/src/DiaGram.hpp
@@ -22,6 +22,7 @@ along with this program.  If not, see <h
 
 #include "config.h"
 
+#include <cstdint>
 #include <string>
 #include <list>
 
--- a/src/umlClassNode.hpp
+++ b/src/umlClassNode.hpp
@@ -24,6 +24,7 @@ along with this program.  If not, see <h
 #include "decls.hpp"
 #include "umlClass.hpp"
 #include "umlAssoc.hpp"
+#include <cstdint>
 
 class umlClassNode : public umlClass {
     private :