diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /media-libs/zxing-cpp/files | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'media-libs/zxing-cpp/files')
-rw-r--r-- | media-libs/zxing-cpp/files/zxing-cpp-1.1.1-gcc11.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/zxing-cpp/files/zxing-cpp-1.1.1-gcc11.patch b/media-libs/zxing-cpp/files/zxing-cpp-1.1.1-gcc11.patch new file mode 100644 index 000000000000..13adad906c0d --- /dev/null +++ b/media-libs/zxing-cpp/files/zxing-cpp-1.1.1-gcc11.patch @@ -0,0 +1,22 @@ +From 427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux <christophe@krop.fr> +Date: Tue, 9 Feb 2021 09:28:23 +0100 +Subject: [PATCH] Fix build with GCC 11 + +Starting with GCC 11, the 'limits' header is not included transitively anymore. +--- + core/src/Pattern.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/core/src/Pattern.h b/core/src/Pattern.h +index 4bbe6d26..c4a3f7c5 100644 +--- a/core/src/Pattern.h ++++ b/core/src/Pattern.h +@@ -22,6 +22,7 @@ + #include <cmath> + #include <cstddef> + #include <cstdint> ++#include <limits> + #include <numeric> + #include <vector> + |