pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/emacs21
Module Name: pkgsrc
Committed By: maya
Date: Thu Mar 13 18:44:01 UTC 2025
Modified Files:
pkgsrc/editors/emacs21: Makefile.common
Log Message:
emacs21*: fix build with GCC 14, which makes some warnings fatal by default
Disable those warnings being fatal.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/editors/emacs21/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/emacs21/Makefile.common
diff -u pkgsrc/editors/emacs21/Makefile.common:1.22 pkgsrc/editors/emacs21/Makefile.common:1.23
--- pkgsrc/editors/emacs21/Makefile.common:1.22 Mon Dec 11 01:03:55 2023
+++ pkgsrc/editors/emacs21/Makefile.common Thu Mar 13 18:44:01 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2023/12/11 01:03:55 gdt Exp $
+# $NetBSD: Makefile.common,v 1.23 2025/03/13 18:44:01 maya Exp $
#
# used by editors/emacs21/Makefile
# used by editors/emacs21-nox11/Makefile
@@ -73,6 +73,11 @@ LDFLAGS.OpenBSD+= -Z
.if !empty(CC_VERSION:Mgcc-3.*)
CFLAGS+= -fno-zero-initialized-in-bss
.endif
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CFLAGS+= -Wno-error=implicit-int
+CFLAGS+= -Wno-error=implicit-function-declaration
+CFLAGS+= -Wno-error=incompatible-pointer-types
+.endif
.if !empty(PKGSRC_COMPILER:Mclang)
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
Home |
Main Index |
Thread Index |
Old Index