pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/tre
Module Name: pkgsrc
Committed By: nia
Date: Sat Dec 20 12:41:47 UTC 2025
Modified Files:
pkgsrc/devel/tre: Makefile
Log Message:
tre: Enable the option to not use alloca.
Improves safety _and_ fixes the build! epic wow
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/tre/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/tre/Makefile
diff -u pkgsrc/devel/tre/Makefile:1.18 pkgsrc/devel/tre/Makefile:1.19
--- pkgsrc/devel/tre/Makefile:1.18 Wed Sep 6 09:03:01 2017
+++ pkgsrc/devel/tre/Makefile Sat Dec 20 12:41:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/09/06 09:03:01 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2025/12/20 12:41:47 nia Exp $
DISTNAME= tre-0.8.0
CATEGORIES= devel
@@ -17,6 +17,13 @@ USE_LIBTOOL= YES
CONFIGURE_ARGS+= --disable-system-abi
+# This contains some annoying legacy code that only includes <alloca.h>
+# when a non-GNU compiler is used, resulting in failures with recent gcc
+# (and probably clang too).
+#
+# Be safe, use an alloc function that returns NULL on failure.
+CONFIGURE_ARGS+= --without-alloca
+
INSTALLATION_DIRS+= share/doc/tre
post-install:
Home |
Main Index |
Thread Index |
Old Index