Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Thu May 24 17:14:53 EDT 2018

    Prevent openssl from using make/[sg]etcontext if it does not exist

Index: openssl-1.1.1k/crypto/async/arch/async_posix.h
===================================================================
--- openssl-1.1.1k.orig/crypto/async/arch/async_posix.h
+++ openssl-1.1.1k/crypto/async/arch/async_posix.h
@@ -18,7 +18,7 @@
 # include <unistd.h>
 
 # if _POSIX_VERSION >= 200112L \
-     && (_POSIX_VERSION < 200809L || defined(__GLIBC__))
+     && (_POSIX_VERSION < 200809L || defined(__GLIBC__)) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_CONTEXT_FUNCS__))
 
 # include <pthread.h>
 
