pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/stunnel



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Dec 20 14:50:35 UTC 2025

Modified Files:
        pkgsrc/security/stunnel: Makefile

Log Message:
stunnel: Fix build on SunOS with recent gcc


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 pkgsrc/security/stunnel/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/stunnel/Makefile
diff -u pkgsrc/security/stunnel/Makefile:1.133 pkgsrc/security/stunnel/Makefile:1.134
--- pkgsrc/security/stunnel/Makefile:1.133      Sun Aug 31 14:59:00 2025
+++ pkgsrc/security/stunnel/Makefile    Sat Dec 20 14:50:34 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.133 2025/08/31 14:59:00 jym Exp $
+# $NetBSD: Makefile,v 1.134 2025/12/20 14:50:34 nia Exp $
 
 DISTNAME=              stunnel-5.75
 CATEGORIES=            security
@@ -46,6 +46,12 @@ SUBST_STAGE.stunnel= pre-configure
 SUBST_FILES.stunnel=   tools/stunnel.conf-sample.in
 SUBST_VARS.stunnel=    STUNNEL_USER STUNNEL_GROUP
 
+.include "../../mk/compiler.mk"
+
+.if ${CC_VERSION:Mgcc-*} || ${CC_VERSION:Mclang-*}
+CPPFLAGS.SunOS+=       -Dalloca=__builtin_alloca
+.endif
+
 TEST_TARGET=           check
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index