summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/openssl/aps.opt.c.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2018-08-08 17:33:20 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2018-08-08 17:33:20 +0100
commit893d5d1f193af671dc30d9a023f0986932ce8e20 (patch)
tree070afc4d369e639be890fac973a578b9c182731c /sdk/recipes/patches/openssl/aps.opt.c.p
parent3da666dfb511af5c936e2f253e0ea8c3e22a7a30 (diff)
parenta6cd4d1e9f3ac2eb6e729c20b589227549eba42e (diff)
downloadtoolchains-893d5d1f193af671dc30d9a023f0986932ce8e20.tar.gz
toolchains-893d5d1f193af671dc30d9a023f0986932ce8e20.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/toolchains into chris/http2chris/http2
Diffstat (limited to 'sdk/recipes/patches/openssl/aps.opt.c.p')
-rw-r--r--sdk/recipes/patches/openssl/aps.opt.c.p14
1 files changed, 14 insertions, 0 deletions
diff --git a/sdk/recipes/patches/openssl/aps.opt.c.p b/sdk/recipes/patches/openssl/aps.opt.c.p
new file mode 100644
index 0000000..531cf76
--- /dev/null
+++ b/sdk/recipes/patches/openssl/aps.opt.c.p
@@ -0,0 +1,14 @@
+--- apps/opt.c.orig 2017-11-22 08:42:07.605882648 +0000
++++ apps/opt.c 2017-11-22 08:48:31.712843519 +0000
+@@ -353,6 +353,11 @@
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
+ defined(INTMAX_MAX) && defined(UINTMAX_MAX)
+
++#if defined(OPENSSL_SYS_AMIGAOS3) || defined(OPENSSL_SYS_AMIGAOS4)
++# define strtoimax strtol
++# define strtoumax strtoul
++#endif
++
+ /* Parse an intmax_t, put it into *result; return 0 on failure, else 1. */
+ int opt_imax(const char *value, intmax_t *result)
+ {