pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/tree



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Sat Apr 25 09:33:56 UTC 2026

Modified Files:
        pkgsrc/sysutils/tree: Makefile

Log Message:
sysutils/tree: Fix build on Ubuntu 26.04 (gcc 15.2)

Build was failing on empty parens function declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/tree/Makefile

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

Modified files:

Index: pkgsrc/sysutils/tree/Makefile
diff -u pkgsrc/sysutils/tree/Makefile:1.14 pkgsrc/sysutils/tree/Makefile:1.15
--- pkgsrc/sysutils/tree/Makefile:1.14  Sat Feb 14 08:36:51 2026
+++ pkgsrc/sysutils/tree/Makefile       Sat Apr 25 09:33:56 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2026/02/14 08:36:51 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2026/04/25 09:33:56 sjmulder Exp $
 
 DISTNAME=      tree-1.8.0
 CATEGORIES=    sysutils
@@ -13,6 +13,8 @@ LICENSE=      gnu-gpl-v2
 USE_TOOLS+=    gmake
 NO_CONFIGURE=  yes
 
+# uses empy parens function declarations, but also C++ style comments
+CFLAGS+=       -std=c99
 CFLAGS.Linux+= -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
 MAKE_FLAGS+=   prefix=${PREFIX}



Home | Main Index | Thread Index | Old Index