pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/m17n-lib



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 20 09:12:48 UTC 2026

Modified Files:
        pkgsrc/devel/m17n-lib: Makefile

Log Message:
m17n-lib: 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.62 -r1.63 pkgsrc/devel/m17n-lib/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/m17n-lib/Makefile
diff -u pkgsrc/devel/m17n-lib/Makefile:1.62 pkgsrc/devel/m17n-lib/Makefile:1.63
--- pkgsrc/devel/m17n-lib/Makefile:1.62 Wed Jan  7 08:46:42 2026
+++ pkgsrc/devel/m17n-lib/Makefile      Sat Jun 20 09:12:48 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2026/01/07 08:46:42 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2026/06/20 09:12:48 nia Exp $
 
 DISTNAME=      m17n-lib-1.8.0
 PKGREVISION=   25
@@ -15,6 +15,11 @@ GNU_CONFIGURE=       yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+# 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
+
 PKGCONFIG_OVERRIDE+=   m17n-core.pc.in m17n-shell.pc.in m17n-flt.pc.in
 PKGCONFIG_OVERRIDE+=   m17n-gui.pc.in
 



Home | Main Index | Thread Index | Old Index