summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libexpat
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 18:18:23 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 18:18:23 +0000
commit3bbbb9cfe0c2b2d22986bbf4455f0e772f64bbb2 (patch)
tree14c9dc2829b2b30decb3da42d1a139b6bce0873b /sdk/recipes/patches/libexpat
parent9077b37964481083fad09377e2d7cb391b3ba85c (diff)
downloadtoolchains-3bbbb9cfe0c2b2d22986bbf4455f0e772f64bbb2.tar.gz
toolchains-3bbbb9cfe0c2b2d22986bbf4455f0e772f64bbb2.tar.bz2
libexpat/m68k-unknown-amigaos: patch out strtoull
For whatever reason the libc in the toolchain does not provide this (despite there being an implementation available). This results in the xmlwf too failing to link. Work around this by replacing strtoull with strtoul.
Diffstat (limited to 'sdk/recipes/patches/libexpat')
-rw-r--r--sdk/recipes/patches/libexpat/m68k-unknown-amigaos/xmlwf.xmltchar.h.p9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libexpat/m68k-unknown-amigaos/xmlwf.xmltchar.h.p b/sdk/recipes/patches/libexpat/m68k-unknown-amigaos/xmlwf.xmltchar.h.p
new file mode 100644
index 0000000..c9da0e8
--- /dev/null
+++ b/sdk/recipes/patches/libexpat/m68k-unknown-amigaos/xmlwf.xmltchar.h.p
@@ -0,0 +1,9 @@
+--- xmlwf/xmltchar.h.orig 2017-10-10 15:19:45.611896396 +0100
++++ xmlwf/xmltchar.h 2017-10-17 15:42:25.304921197 +0100
+@@ -75,5 +75,5 @@
+ # define tremove remove
+ # define tchar char
+ # define tcstof strtof
+-# define tcstoull strtoull
++# define tcstoull strtoul
+ #endif /* not XML_UNICODE */