external/libebook: Missing include (for std::min)

...as reported now by various Windows builders after
e0f1b5bd94 "Upgrade external/boost to latest
Boost 1.75.0"

Change-Id: Ib1f4ea2ca05003b24347c7233bd06cef7d4c955f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108920
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2021-01-07 08:57:22 +01:00
parent 6bb6eb1692
commit a20a464bcf
2 changed files with 13 additions and 0 deletions

View file

@ -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:

10
external/libebook/include.patch vendored Normal file
View file

@ -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>