pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/srm
Module Name: pkgsrc
Committed By: nia
Date: Sat Jun 20 10:22:16 UTC 2026
Modified Files:
pkgsrc/security/srm: Makefile
Log Message:
srm: build fix for lethal combination of SunOS & GCC 14
doesn't include <alloca.h> which is needed on SunOS,
just define the function to the compiler builtin to avoid
needing a patch.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/srm/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/srm/Makefile
diff -u pkgsrc/security/srm/Makefile:1.10 pkgsrc/security/srm/Makefile:1.11
--- pkgsrc/security/srm/Makefile:1.10 Mon Nov 17 11:01:24 2025
+++ pkgsrc/security/srm/Makefile Sat Jun 20 10:22:15 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2025/11/17 11:01:24 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2026/06/20 10:22:15 nia Exp $
#
DISTNAME= srm-1.2.15
@@ -14,6 +14,11 @@ GNU_CONFIGURE= yes
CONFLICTS+= sr-[0-9]* # bin/srm
+# doesn't include <alloca.h> which is needed on SunOS,
+# just define the function to the compiler builtin to avoid
+# needing a patch.
+CFLAGS.SunOS+= -Dalloca=__builtin_alloca
+
do-test:
${RUN} cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./test.sh
Home |
Main Index |
Thread Index |
Old Index