Loading bin/ruby-build +15 −1 Original line number Diff line number Diff line Loading @@ -1163,7 +1163,21 @@ build_package_openssl() { if [[ "$1" == openssl-1.1.1q ]]; then # https://github.com/rbenv/ruby-build/discussions/2009#discussioncomment-3146585 curl -s https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.diff | patch -p1 # https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.diff patch -p1 <<EOF diff --git a/test/v3ext.c b/test/v3ext.c index 926f3884b13..a8ab64b2714 100644 --- a/test/v3ext.c +++ b/test/v3ext.c @@ -8,6 +8,7 @@ */ #include <stdio.h> +#include <string.h> #include <openssl/x509.h> #include <openssl/x509v3.h> #include <openssl/pem.h> EOF fi # Compile a shared lib with zlib dynamically linked. Loading Loading
bin/ruby-build +15 −1 Original line number Diff line number Diff line Loading @@ -1163,7 +1163,21 @@ build_package_openssl() { if [[ "$1" == openssl-1.1.1q ]]; then # https://github.com/rbenv/ruby-build/discussions/2009#discussioncomment-3146585 curl -s https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.diff | patch -p1 # https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.diff patch -p1 <<EOF diff --git a/test/v3ext.c b/test/v3ext.c index 926f3884b13..a8ab64b2714 100644 --- a/test/v3ext.c +++ b/test/v3ext.c @@ -8,6 +8,7 @@ */ #include <stdio.h> +#include <string.h> #include <openssl/x509.h> #include <openssl/x509v3.h> #include <openssl/pem.h> EOF fi # Compile a shared lib with zlib dynamically linked. Loading