pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/apcupsd



Module Name:    pkgsrc
Committed By:   pgoyette
Date:           Sat Nov 15 17:54:00 UTC 2025

Modified Files:
        pkgsrc/sysutils/apcupsd: Makefile

Log Message:
Avoid gcc14 issues


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 pkgsrc/sysutils/apcupsd/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/apcupsd/Makefile
diff -u pkgsrc/sysutils/apcupsd/Makefile:1.102 pkgsrc/sysutils/apcupsd/Makefile:1.103
--- pkgsrc/sysutils/apcupsd/Makefile:1.102      Thu Oct 23 20:39:14 2025
+++ pkgsrc/sysutils/apcupsd/Makefile    Sat Nov 15 17:53:59 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2025/10/23 20:39:14 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2025/11/15 17:53:59 pgoyette Exp $
 
 DISTNAME=              apcupsd-3.14.14
 PKGREVISION=           9
@@ -21,6 +21,11 @@ CTF_SUPPORTED=               no # https://smartos.org
 
 BUILD_DEFS+=           VARBASE
 
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CFLAGS+=       -Wno-error=implicit-function-declaration
+.endif
+
 .include "options.mk"
 
 # Thread support is needed to compile powerflute, which has a curses



Home | Main Index | Thread Index | Old Index