File: gcc-13.patch

package info (click to toggle)
genomicsdb 1.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 25,312 kB
  • sloc: cpp: 68,637; ansic: 58,281; java: 8,230; python: 2,315; sh: 2,115; perl: 1,621; makefile: 499; xml: 496
file content (37 lines) | stat: -rw-r--r-- 983 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
31
32
33
34
35
36
37
Description: adding missing includes of cstdint to build with gcc-13
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1037672
Forwarded: https://github.com/GenomicsDB/GenomicsDB/issues/298
Last-Update: 2023-06-28

--- a/genomicsdb-tiledb/core/include/misc/utils.h
+++ b/genomicsdb-tiledb/core/include/misc/utils.h
@@ -37,6 +37,8 @@
 
 #include "storage_fs.h"
 
+#include <cstdint>
+
 #ifdef HAVE_MPI
   #include <mpi.h>
 #endif
--- a/genomicsdb-tiledb/core/src/codec/codec_filter_delta_encode.cc
+++ b/genomicsdb-tiledb/core/src/codec/codec_filter_delta_encode.cc
@@ -33,6 +33,7 @@
 #include "codec_filter_delta_encode.h"
 #include "tiledb_constants.h"
 
+#include <cstdint>
 #include <vector>
 
 template<typename T>
--- a/src/main/cpp/include/utils/headers.h
+++ b/src/main/cpp/include/utils/headers.h
@@ -23,6 +23,7 @@
 #ifndef COMMON_HEADERS_H
 #define COMMON_HEADERS_H
 
+#include <cstdint>
 #include <stdio.h>
 #include <typeinfo>
 #include <stdlib.h>