pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/babl



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jun 18 14:47:38 UTC 2026

Modified Files:
        pkgsrc/graphics/babl: Makefile

Log Message:
babl: Avoid implicit declaration of alloca(3) on SunOS.

Should help the GCC 14 builds.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/graphics/babl/Makefile

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

Modified files:

Index: pkgsrc/graphics/babl/Makefile
diff -u pkgsrc/graphics/babl/Makefile:1.73 pkgsrc/graphics/babl/Makefile:1.74
--- pkgsrc/graphics/babl/Makefile:1.73  Mon Apr 20 06:41:02 2026
+++ pkgsrc/graphics/babl/Makefile       Thu Jun 18 14:47:38 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2026/04/20 06:41:02 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2026/06/18 14:47:38 nia Exp $
 
 DISTNAME=      babl-0.1.126
 CATEGORIES=    graphics
@@ -59,6 +59,9 @@ MESON_ARGS+=  -Denable-mmx=true
 MESON_ARGS+=   -Denable-mmx=false
 .endif
 
+# Avoid implicit declaration of alloca(3).
+CFLAGS.SunOS+= -Dalloca=__builtin_alloca
+
 # Apply removals to post-wrapper transformed arguments.
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--version-script
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,babl.map



Home | Main Index | Thread Index | Old Index