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: jperkin
Date: Tue Apr 16 15:47:25 UTC 2024
Modified Files:
pkgsrc/security/openssl: Makefile
Log Message:
openssl: Use consistent socket interfaces on SunOS.
The OpenSSL codebase is a forest of preprocessor usage so it's hard to say
exactly what's going wrong, but there's definitely inconsistent use across
the codebase, resulting in socket failures when trying to use QUIC.
Ensure recvmsg/CMSG_* interfaces are available, fixing test suite as well
as some real world regressions (e.g. devel/py-poetry) noticed by users.
To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 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.299 pkgsrc/security/openssl/Makefile:1.300
--- pkgsrc/security/openssl/Makefile:1.299 Tue Apr 16 07:19:48 2024
+++ pkgsrc/security/openssl/Makefile Tue Apr 16 15:47:25 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.299 2024/04/16 07:19:48 wiz Exp $
+# $NetBSD: Makefile,v 1.300 2024/04/16 15:47:25 jperkin Exp $
# Remember to upload-distfiles when updating OpenSSL -- otherwise it
# is not possible for users who have bootstrapped without OpenSSL
@@ -112,6 +112,9 @@ OPENSSL_HOST.SunOS-x86_64= solaris64-x86
.endif
OPENSSL_HOST.Darwin-aarch64= darwin64-arm64-cc
+# Ensure consistent socket interfaces are used across the codebase.
+CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
LDFLAGS.SunOS+= -lrt
CPPFLAGS.OpenBSD+= -D__STDC_NO_ATOMICS__
Home |
Main Index |
Thread Index |
Old Index