pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/tremor



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 20 09:17:14 UTC 2026

Modified Files:
        pkgsrc/audio/tremor: Makefile

Log Message:
tremor: 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.27 -r1.28 pkgsrc/audio/tremor/Makefile

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

Modified files:

Index: pkgsrc/audio/tremor/Makefile
diff -u pkgsrc/audio/tremor/Makefile:1.27 pkgsrc/audio/tremor/Makefile:1.28
--- pkgsrc/audio/tremor/Makefile:1.27   Mon Mar 26 19:43:30 2018
+++ pkgsrc/audio/tremor/Makefile        Sat Jun 20 09:17:14 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2018/03/26 19:43:30 dholland Exp $
+# $NetBSD: Makefile,v 1.28 2026/06/20 09:17:14 nia Exp $
 
 DISTNAME=      tremor-562307a
 PKGNAME=       tremor-1.0.2.20180316
@@ -20,6 +20,11 @@ USE_LIBTOOL=         yes
 
 PLIST_SUBST+=          DISTNAME=${DISTNAME:Q}
 
+# 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
+
 pre-configure:
        touch ${WRKSRC}/config.h.in
        cd ${WRKSRC} && aclocal



Home | Main Index | Thread Index | Old Index