summarylogtreecommitdiffstats
path: root/gcc12.patch
diff options
context:
space:
mode:
authorKirill Isakov2023-06-12 20:09:12 +0600
committerKirill Isakov2023-06-12 20:09:12 +0600
commit835bcafc2d4d132e27b19f8e2d86348c6f75de89 (patch)
tree1780de1c1c9e8ff53cf5e92ec3f4e80bd7ca52ea /gcc12.patch
parentaa5d04346f1828a57da228e6a599db6ef6d73139 (diff)
downloadaur-flamethrower.tar.gz
Version 0.11.0
Diffstat (limited to 'gcc12.patch')
-rw-r--r--gcc12.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc12.patch b/gcc12.patch
new file mode 100644
index 000000000000..16af860bb244
--- /dev/null
+++ b/gcc12.patch
@@ -0,0 +1,27 @@
+From 5056602eb10316f4f1791ec5a7918e1ff40fe7fe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
+Date: Fri, 4 Feb 2022 19:07:02 +0100
+Subject: [PATCH] Compile under gcc 12.0.0 (#88)
+
+Add missing includes to query.cpp. It does not compile anymore on gcc 12
+without it.
+---
+ flame/query.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/flame/query.cpp b/flame/query.cpp
+index 4f7ef21..fdd5f73 100644
+--- a/flame/query.cpp
++++ b/flame/query.cpp
+@@ -5,9 +5,11 @@
+ #include <algorithm>
+ #include <cctype>
+ #include <climits>
++#include <cstring>
+ #include <fstream>
+ #include <iomanip>
+ #include <iostream>
++#include <iterator>
+ #include <regex>
+ #include <sstream>
+ #include <stdexcept>