summaryrefslogtreecommitdiff
path: root/external/expat/expat-winapi.patch
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-25 10:44:13 +0100
committerAndras Timar <andras.timar@collabora.com>2021-05-27 11:09:31 +0200
commit2ff3ae864d1f2bd19aba3ce9e1b9e3f22bf2421f (patch)
tree7c8fdcb60eeee7d922b37e3238d2867dddd10055 /external/expat/expat-winapi.patch
parent00e7d7ab1bf801cc9a2025d53ec0a57b2bb8612a (diff)
upgrade to Expat 2.4.1
drop ubsan patch in favour of fix applied as https://github.com/libexpat/libexpat/pull/398 Change-Id: I59eb9e24206b9a4cf323b7f7d48d8df0792a1c46
Diffstat (limited to 'external/expat/expat-winapi.patch')
-rw-r--r--external/expat/expat-winapi.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/external/expat/expat-winapi.patch b/external/expat/expat-winapi.patch
index b33c12b83b4c..bd4da1472fc8 100644
--- a/external/expat/expat-winapi.patch
+++ b/external/expat/expat-winapi.patch
@@ -11,3 +11,17 @@
# endif
#endif /* not defined XML_STATIC */
+--- misc/expat-2.1.0/lib/xmlparse.c 2021-05-23 16:56:25.000000000 +0100
++++ misc/build/expat-2.1.0/lib/xmlparse.c 2021-05-25 12:42:11.997173600 +0100
+@@ -92,6 +92,11 @@
+
+ #include <expat_config.h>
+
++#ifdef _WIN32
++# undef HAVE_GETRANDOM
++# undef HAVE_SYSCALL_GETRANDOM
++#endif
++
+ #include "ascii.h"
+ #include "expat.h"
+ #include "siphash.h"