diff options
author | Theo Buehler <tb@openbsd.org> | 2022-11-23 12:46:44 +0100 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2022-11-23 12:46:44 +0100 |
commit | 67ab6a11877f6d1671da4afa6fbd142bf61a1ed2 (patch) | |
tree | 271d43e6fb989e75cfd0cac8fe7402d645bb4772 /patches/opensslconf.h.patch | |
parent | f015aed7a0942003e14f52a902a15551712a3ac9 (diff) | |
download | portable-67ab6a11877f6d1671da4afa6fbd142bf61a1ed2.tar.gz portable-67ab6a11877f6d1671da4afa6fbd142bf61a1ed2.tar.bz2 portable-67ab6a11877f6d1671da4afa6fbd142bf61a1ed2.zip |
Neuter namespace differently to fix Appveyor CI
Diffstat (limited to 'patches/opensslconf.h.patch')
-rw-r--r-- | patches/opensslconf.h.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/opensslconf.h.patch b/patches/opensslconf.h.patch new file mode 100644 index 0000000..e060a20 --- /dev/null +++ b/patches/opensslconf.h.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | --- include/openssl/opensslconf.h.orig Tue Nov 22 21:08:27 2022 | ||
2 | +++ include/openssl/opensslconf.h Wed Nov 23 12:38:07 2022 | ||
3 | @@ -1,6 +1,21 @@ | ||
4 | #include <openssl/opensslfeatures.h> | ||
5 | /* crypto/opensslconf.h.in */ | ||
6 | |||
7 | +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__) | ||
8 | +#define __attribute__(a) | ||
9 | +#endif | ||
10 | + | ||
11 | +#ifndef LIBRESSL_NAMESPACE | ||
12 | +# define LCRYPTO_UNUSED(x) | ||
13 | +# define LCRYPTO_USED(x) | ||
14 | +# define LCRYPTO_ALIAS1(pre, x) | ||
15 | +# define LCRYPTO_ALIAS(x) | ||
16 | + | ||
17 | +# define LSSL_UNUSED(x) | ||
18 | +# define LSSL_USED(x) | ||
19 | +# define LSSL_ALIAS(x) | ||
20 | +#endif /* !LIBRESSL_NAMESPACE */ | ||
21 | + | ||
22 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
23 | #define OPENSSLDIR "/etc/ssl" | ||
24 | #endif | ||