vcpkg/ports/qt5-webengine/build_3.with_missing_stdbool_include.patch
Carsten Grimm 668bf87fc5
[qt5-webengine] fix issue 30006 missing includes for msvc (#30612)
* [qt5-webengine] add missing includes in third party libraries

This fixes issue #30006. Newer versions of msvc require more includes than previous versions. To accommodate this change, two missing includes are added to the third party libraries chromium and libxml.

* [qt5-webengine] update port number

* [qt5-webengine] restore LF line endings on patch

* [qt5-webengine] re-run vcpkg x-add-version for qt5-webengine port-version 3
2023-04-06 17:27:42 -07:00

20 lines
621 B
Diff

--- a/src/3rdparty/chromium/third_party/libxml/src/encoding.c
+++ b/src/3rdparty/chromium/third_party/libxml/src/encoding.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <limits.h>
+#include <stdbool.h>
#ifdef HAVE_CTYPE_H
#include <ctype.h>
@@ -2004,7 +2005,7 @@ xmlEncOutputChunk(xmlCharEncodingHandler *handler, unsigned char *out,
#ifdef LIBXML_ICU_ENABLED
else if (handler->uconv_out != NULL) {
ret = xmlUconvWrapper(handler->uconv_out, 0, out, outlen, in, inlen,
- TRUE);
+ true);
}
#endif /* LIBXML_ICU_ENABLED */
else {