Skip to content

Commit 84fc7d1

Browse files
committed
unix: remove libressl patch
This patch is no longer needed as it is incorporated in the version we're now using.
1 parent 972144e commit 84fc7d1

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

cpython-unix/build-libressl.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,6 @@ tar -xf libressl-${LIBRESSL_VERSION}.tar.gz
1313

1414
pushd libressl-${LIBRESSL_VERSION}
1515

16-
# Backport of https://github.com/libressl-portable/portable/pull/529 for MUSL support.
17-
patch -p1 << EOF
18-
diff --git a/crypto/compat/getprogname_linux.c b/crypto/compat/getprogname_linux.c
19-
index 2c89743..4e7e31f 100644
20-
--- a/crypto/compat/getprogname_linux.c
21-
+++ b/crypto/compat/getprogname_linux.c
22-
@@ -26,9 +26,7 @@ getprogname(void)
23-
#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
24-
extern const char *__progname;
25-
return __progname;
26-
-#elif defined(__GLIBC__)
27-
- return program_invocation_short_name;
28-
#else
29-
-#error "Cannot emulate getprogname"
30-
+ return program_invocation_short_name;
31-
#endif
32-
}
33-
EOF
34-
3516
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" ./configure \
3617
--build=${BUILD_TRIPLE} \
3718
--host=${TARGET_TRIPLE} \

0 commit comments

Comments
 (0)