summaryrefslogtreecommitdiff
path: root/external/zxing
diff options
context:
space:
mode:
Diffstat (limited to 'external/zxing')
-rw-r--r--external/zxing/UnpackedTarball_zxing.mk1
-rw-r--r--external/zxing/missing-include.patch.012
2 files changed, 13 insertions, 0 deletions
diff --git a/external/zxing/UnpackedTarball_zxing.mk b/external/zxing/UnpackedTarball_zxing.mk
index 012b5cefaf3a..0d81d13f6411 100644
--- a/external/zxing/UnpackedTarball_zxing.mk
+++ b/external/zxing/UnpackedTarball_zxing.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,zxing,1))
$(eval $(call gb_UnpackedTarball_add_patches,zxing, \
external/zxing/assume.__cpp_lib_string_view.patch.0 \
external/zxing/android_include.patch.0 \
+ external/zxing/missing-include.patch.0 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/zxing/missing-include.patch.0 b/external/zxing/missing-include.patch.0
new file mode 100644
index 000000000000..73bca6bdcaa1
--- /dev/null
+++ b/external/zxing/missing-include.patch.0
@@ -0,0 +1,12 @@
+--- core/src/Generator.h
++++ core/src/Generator.h
+@@ -6,7 +6,9 @@
+ #pragma once
+
+ #ifdef __cpp_impl_coroutine
++#include <concepts>
+ #include <coroutine>
++#include <iterator>
+ #include <optional>
+
+ // this code is based on https://en.cppreference.com/w/cpp/coroutine/coroutine_handle#Example