summaryrefslogtreecommitdiff
path: root/sci-misc/lttoolbox/files/lttoolbox-3.7.1-cstdint-include.patch
blob: c9fa2fda3acaa243ad0089361e82ea0003d205f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://github.com/apertium/lttoolbox/pull/173

From 8873eb40827179c821c4979563063200e144d129 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Mon, 6 Feb 2023 22:16:49 +0000
Subject: [PATCH] acx: Add missing <cstdint> include

Needed for int32_t. Fixes build w/ musl but also likely gcc 13.

Bug: https://bugs.gentoo.org/889400
--- a/lttoolbox/acx.h
+++ b/lttoolbox/acx.h
@@ -18,6 +18,7 @@
 #define _ACXPARSEUTIL_
 
 #include <lttoolbox/sorted_vector.hpp>
+#include <cstdint>
 #include <map>
 
 std::map<int32_t, sorted_vector<int32_t>> readACX(const char* file);