pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lsof



Module Name:    pkgsrc
Committed By:   kim
Date:           Fri Dec 26 08:20:59 UTC 2025

Modified Files:
        pkgsrc/sysutils/lsof: Makefile

Log Message:
Work around gcc14


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 pkgsrc/sysutils/lsof/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/lsof/Makefile
diff -u pkgsrc/sysutils/lsof/Makefile:1.142 pkgsrc/sysutils/lsof/Makefile:1.143
--- pkgsrc/sysutils/lsof/Makefile:1.142 Tue Jun 28 11:35:58 2022
+++ pkgsrc/sysutils/lsof/Makefile       Fri Dec 26 08:20:59 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.142 2022/06/28 11:35:58 wiz Exp $
+# $NetBSD: Makefile,v 1.143 2025/12/26 08:20:59 kim Exp $
 
 DISTNAME=              lsof_4.91
 PKGNAME=               ${DISTNAME:S/_/-/}
@@ -40,6 +40,11 @@ TEST_DIRS=           tests
 TEST_TARGET=           test
 INTERACTIVE_STAGE+=    test
 
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CFLAGS+=               -Wno-implicit-function-declaration
+.endif
+
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 



Home | Main Index | Thread Index | Old Index