pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl openssl: fix building on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4879b79a3bc7
branches:  trunk
changeset: 457441:4879b79a3bc7
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 25 15:22:05 2021 +0000

description:
openssl: fix building on Darwin

diffstat:

 security/openssl/Makefile                               |   4 ++--
 security/openssl/distinfo                               |   3 ++-
 security/openssl/patches/patch-crypto_rand_rand__unix.c |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 5c935ca79190 -r 4879b79a3bc7 security/openssl/Makefile
--- a/security/openssl/Makefile Wed Aug 25 12:57:04 2021 +0000
+++ b/security/openssl/Makefile Wed Aug 25 15:22:05 2021 +0000
@@ -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 @@
 
 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 -r 5c935ca79190 -r 4879b79a3bc7 security/openssl/distinfo
--- a/security/openssl/distinfo Wed Aug 25 12:57:04 2021 +0000
+++ b/security/openssl/distinfo Wed Aug 25 15:22:05 2021 +0000
@@ -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 @@
 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 -r 5c935ca79190 -r 4879b79a3bc7 security/openssl/patches/patch-crypto_rand_rand__unix.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openssl/patches/patch-crypto_rand_rand__unix.c   Wed Aug 25 15:22:05 2021 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index