summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-11-05 12:16:19 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-11-06 08:23:21 +0100
commite7cbcdf86e2d49f246064e9d10229104451b1274 (patch)
tree10fb52cd9ff4b74f129130e5892698c37dc9b45e
parente1beaf844f5d6fdb0a72cdd70f2bbe29b699fe46 (diff)
external/zxing: Missing include (for std::nullptr_t)
Change-Id: I731eb3039f9f43ac05d3b60d5387ff44c5986a71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176049 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--external/zxing/UnpackedTarball_zxing.mk1
-rw-r--r--external/zxing/include.patch.010
2 files changed, 11 insertions, 0 deletions
diff --git a/external/zxing/UnpackedTarball_zxing.mk b/external/zxing/UnpackedTarball_zxing.mk
index 08a7943818be..dfc899496d24 100644
--- a/external/zxing/UnpackedTarball_zxing.mk
+++ b/external/zxing/UnpackedTarball_zxing.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,zxing,1))
$(eval $(call gb_UnpackedTarball_add_patches,zxing, \
external/zxing/0001-add-ZXVersion-h.patch \
+ external/zxing/include.patch.0 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/zxing/include.patch.0 b/external/zxing/include.patch.0
new file mode 100644
index 000000000000..77dad56b66a5
--- /dev/null
+++ b/external/zxing/include.patch.0
@@ -0,0 +1,10 @@
+--- core/src/ZXNullable.h
++++ core/src/ZXNullable.h
+@@ -5,6 +5,7 @@
+
+ #pragma once
+
++#include <cstddef>
+ #include <stdexcept>
+ #include <utility>
+