summaryrefslogtreecommitdiff
path: root/dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-01-24 00:48:30 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-01-24 00:50:46 +0100
commit8fe3cfc6ec7cb69327e17d2dcaa2015d8a5a3024 (patch)
treee55fc25b07b07549216616ce9326e170c84ef51b /dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch
parentd1d630a7b19e364a3f0bad7399de8d5b7cd8c7f3 (diff)
downloadgentoo-8fe3cfc6ec7cb69327e17d2dcaa2015d8a5a3024.tar.gz
gentoo-8fe3cfc6ec7cb69327e17d2dcaa2015d8a5a3024.tar.bz2
gentoo-8fe3cfc6ec7cb69327e17d2dcaa2015d8a5a3024.zip
dev-lua/lua-openssl: drop 0.8.3_p2-r1
Closes: https://bugs.gentoo.org/920643 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch')
-rw-r--r--dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch b/dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch
deleted file mode 100644
index 64482c97673a..000000000000
--- a/dev-lua/lua-openssl/files/lua-openssl-0.8.3-clang16.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 3451462230082e6eae9d82833a547a3a73df5ef9 Mon Sep 17 00:00:00 2001
-From: zhaozg <zhaozg@gmail.com>
-Date: Mon, 7 Aug 2023 17:47:23 +0800
-Subject: [PATCH] partially fix #265
-
----
- src/ocsp.c | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
-
-diff --git a/src/ocsp.c b/src/ocsp.c
-index 29f5b153..e1672fcf 100644
---- a/src/ocsp.c
-+++ b/src/ocsp.c
-@@ -183,8 +183,15 @@ static int openssl_ocsp_request_read(lua_State *L)
- BIO *bio = load_bio_object(L, 1);
- int pem = lua_gettop(L) > 1 ? auxiliar_checkboolean(L, 2) : 0;
-
-+#if defined(__clang__)
-+#pragma clang diagnostic push
-+#pragma clang diagnostic ignored"-Wincompatible-function-pointer-types"
-+#endif
- OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL)
- : d2i_OCSP_REQUEST_bio(bio, NULL);
-+#if defined(__clang__)
-+#pragma clang diagnostic pop
-+#endif
- BIO_free(bio);
-
- if (req)
-@@ -352,8 +359,15 @@ static int openssl_ocsp_response_read(lua_State *L)
- int pem = lua_gettop(L) > 1 ? auxiliar_checkboolean(L, 2) : 0;
- int ret = 0;
-
-+#if defined(__clang__)
-+#pragma clang diagnostic push
-+#pragma clang diagnostic ignored"-Wincompatible-function-pointer-types"
-+#endif
- OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL)
- : d2i_OCSP_RESPONSE_bio(bio, NULL);
-+#if defined(__clang__)
-+#pragma clang diagnostic pop
-+#endif
- if (res)
- {
- PUSH_OBJECT(res, "openssl.ocsp_response");