pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/openssl



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Sep 17 11:31:52 UTC 2024

Modified Files:
        pkgsrc/security/openssl: Makefile

Log Message:
openssl: Fix build by defining USE_TIMEGM on old Darwin versions


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 pkgsrc/security/openssl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openssl/Makefile
diff -u pkgsrc/security/openssl/Makefile:1.302 pkgsrc/security/openssl/Makefile:1.303
--- pkgsrc/security/openssl/Makefile:1.302      Fri Sep  6 13:47:09 2024
+++ pkgsrc/security/openssl/Makefile    Tue Sep 17 11:31:52 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.302 2024/09/06 13:47:09 adam Exp $
+# $NetBSD: Makefile,v 1.303 2024/09/17 11:31:52 nia Exp $
 
 # Remember to upload-distfiles when updating OpenSSL -- otherwise it
 # is not possible for users who have bootstrapped without OpenSSL
@@ -57,6 +57,10 @@ CONFIGURE_ARGS+=     no-async
 # While it does check for this, it does so using a header that is only
 # available in OS X versions starting with Leopard.
 CFLAGS+=               -DOPENSSL_NO_APPLE_CRYPTO_RANDOM=1
+
+# The "timezone" mktime variable upon which OpenSSL relies
+# is only available when __DARWIN_UNIX03 is defined.
+CFLAGS+=               -DUSE_TIMEGM=1
 .endif
 
 PLIST_VARS+=           devcrypto afalg



Home | Main Index | Thread Index | Old Index