summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/libebook/UnpackedTarball_libebook.mk3
-rw-r--r--external/libebook/include.patch10
2 files changed, 13 insertions, 0 deletions
diff --git a/external/libebook/UnpackedTarball_libebook.mk b/external/libebook/UnpackedTarball_libebook.mk
index 4a85ee5093be..4a6dd2bce5ce 100644
--- a/external/libebook/UnpackedTarball_libebook.mk
+++ b/external/libebook/UnpackedTarball_libebook.mk
@@ -13,8 +13,11 @@ $(eval $(call gb_UnpackedTarball_set_tarball,libebook,$(EBOOK_TARBALL)))
$(eval $(call gb_UnpackedTarball_update_autoconf_configs,libebook))
+$(eval $(call gb_UnpackedTarball_set_patchlevel,libebook,0))
+
$(eval $(call gb_UnpackedTarball_add_patches,libebook, \
external/libebook/libebook-no-icu-boolean.patch.1 \
+ external/libebook/include.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/libebook/include.patch b/external/libebook/include.patch
new file mode 100644
index 000000000000..fe6d8bdbe33c
--- /dev/null
+++ b/external/libebook/include.patch
@@ -0,0 +1,10 @@
+--- src/lib/BBeBCollector.cpp
++++ src/lib/BBeBCollector.cpp
+@@ -7,6 +7,7 @@
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
++#include <algorithm>
+ #include <unordered_map>
+
+ #include <librevenge/librevenge.h>