diff options
author | adam <adam@pkgsrc.org> | 2021-08-25 15:22:05 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-08-25 15:22:05 +0000 |
commit | a2c6fa7a4bbbfe75c57743e51986b94e835c476d (patch) | |
tree | 21c1d2cee73dbf7bccad355f6b9ead738696730c /security | |
parent | 065072437af53bdfa1ccefca82f106029c100351 (diff) | |
download | pkgsrc-a2c6fa7a4bbbfe75c57743e51986b94e835c476d.tar.gz |
openssl: fix building on Darwin
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/Makefile | 4 | ||||
-rw-r--r-- | security/openssl/distinfo | 3 | ||||
-rw-r--r-- | security/openssl/patches/patch-crypto_rand_rand__unix.c | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index d5031083433..3ff1a117ccb 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.275 2021/08/25 11:25:25 jperkin Exp $ +# $NetBSD: Makefile,v 1.276 2021/08/25 15:22:05 adam Exp $ # Remember to upload-distfiles when updating OpenSSL -- otherwise it # is not possible for users who have bootstrapped without OpenSSL @@ -14,7 +14,7 @@ LICENSE= openssl USE_GCC_RUNTIME= yes -USE_TOOLS+= fgrep gmake makedepend perl +USE_TOOLS+= fgrep gmake perl USE_TOOLS.SunOS+= gm4 BUILD_TARGET= depend all TEST_TARGET= tests diff --git a/security/openssl/distinfo b/security/openssl/distinfo index 7056b4b6265..b39a0f80881 100644 --- a/security/openssl/distinfo +++ b/security/openssl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.151 2021/08/25 11:25:25 jperkin Exp $ +$NetBSD: distinfo,v 1.152 2021/08/25 15:22:05 adam Exp $ SHA1 (openssl-1.1.1l.tar.gz) = f8819dd31642eebea6cc1fa5c256fc9a4f40809b RMD160 (openssl-1.1.1l.tar.gz) = aa470eea95b127e7ea389c39610a7568579d6b86 @@ -7,3 +7,4 @@ Size (openssl-1.1.1l.tar.gz) = 9834044 bytes SHA1 (patch-Configurations_shared-info.pl) = 0e835f6e343b5d05ef9a0e6ef2a195201262d15c SHA1 (patch-Configurations_unix-Makefile.tmpl) = cf6b46c6e10e84100beb468bbe6f85c5e62cbe7a SHA1 (patch-Configure) = 479f1bc826f7721f6b44d6b5a6cf460432924bf2 +SHA1 (patch-crypto_rand_rand__unix.c) = 758489083f8698cb725e4c2b93a21cfa650c715c diff --git a/security/openssl/patches/patch-crypto_rand_rand__unix.c b/security/openssl/patches/patch-crypto_rand_rand__unix.c new file mode 100644 index 00000000000..70e18621107 --- /dev/null +++ b/security/openssl/patches/patch-crypto_rand_rand__unix.c @@ -0,0 +1,14 @@ +$NetBSD: patch-crypto_rand_rand__unix.c,v 1.3 2021/08/25 15:22:05 adam Exp $ + +Fix building on older Darwin. + +--- crypto/rand/rand_unix.c.orig 2021-08-25 15:07:06.000000000 +0000 ++++ crypto/rand/rand_unix.c +@@ -35,6 +35,7 @@ + # include <sys/param.h> + #endif + #if defined(__APPLE__) ++# include <CommonCrypto/CommonCryptoError.h> + # include <CommonCrypto/CommonRandom.h> + #endif + |