forked from pool/zxing-cpp
- Update to 1.1.1. No changelog available. - Drop fix-pkg-config-file.patch. Merged upstream - Add 0001-Fix-build-with-GCC-11.patch to fix GCC 11 build issues (boo#1181915) OBS-URL: https://build.opensuse.org/request/show/870409 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=17
25 lines
541 B
Diff
25 lines
541 B
Diff
From 4766de0a8e6f780a04b03776d0c0380cb85935b8 Mon Sep 17 00:00:00 2001
|
|
From: Christophe Giboudeaux <christophe@krop.fr>
|
|
Date: Tue, 9 Feb 2021 09:14:00 +0100
|
|
Subject: [PATCH] Fix build with GCC 11
|
|
|
|
---
|
|
core/src/Pattern.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/core/src/Pattern.h b/core/src/Pattern.h
|
|
index 97093f0..87f340e 100644
|
|
--- a/core/src/Pattern.h
|
|
+++ b/core/src/Pattern.h
|
|
@@ -21,6 +21,7 @@
|
|
#include <cmath>
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
+#include <limits>
|
|
#include <numeric>
|
|
#include <vector>
|
|
|
|
--
|
|
2.30.0
|
|
|