From nobody Sat Apr 25 19:16:45 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g301n602kz6NPY1 for ; Sat, 25 Apr 2026 19:16:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g301n31nXz3dYg for ; Sat, 25 Apr 2026 19:16:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777144605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lUqIS5WP1gILPMcnQ9oF85niGsB+rdmZYzgC/kgz1Q4=; b=IKr9yl+W0WNj477Az4m9kbleaHIyk73D5lb+lNCeiCG0w6npC4lJ0XGaGRdG0Xn7qTTggq KOfG5gyAlmVFdIgM3QUdBIYn+eZ00jmz0syDjQmMNWen+ZNtaqp14WQ47tqg7N+CzO3Xua o5qTg6W7JF5PJDJ0No7heNKDyOaaUjhAj6rmWn3ViF28JOlUsnZ2dTcytJZpSo9VzwTNMD cBAykvTuFEPJxXee5Rkw9wI7imV7DC0sJxV73MVXdL1t/pRU+3RPdSf16Mo8p1xM4EnUJ6 AbZ9QRZ+acRJdR4OhLYmwJsAzCWERhRMzT1Vaolp009KkSkadxvB0CCbOPXLxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777144605; a=rsa-sha256; cv=none; b=eZ28gtt8TrRXUvxZVBWknDVMgMVGF80Z8lVcfdKdifreW5nMjPv4gz6ZEdm1P/zB17c88H sUOQGTvRhChn0W7+4F8BotmPfye1ETXJ79JvVK9MvYhSgcV4dg8ZkmK34i0wqL+N9UApL4 CpwdHnJGITFVv2YWeoBCKSqLj0fbjDIfqqndI7a6+Rjeh0p6G/RMR0GEXIpVJHNowu/buF yBFCxh0PBCjOqRpGbUqlx4ZZcyQiQdm4ziKRLbSAyr0PbzVSfCsApGYBae05zAhjAKEIri Vf/zGm/y4m2MWixqgqxsng+vY3TAQbo/bXB5kJ51ZbdKLOfDW4L7JdQpQdas1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777144605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lUqIS5WP1gILPMcnQ9oF85niGsB+rdmZYzgC/kgz1Q4=; b=am9FXZaoYwCYURDRlIdt8tG1RjUxCKl3afT2s57WvPTlN51TCoAqN1lanAEXv2hU8JcVTr 5fDihU3rh297EWBhXduUCGWXiSjHXHi8jrTjikeirXkEbm+GusmSfFvWdHJnqvRZb0LyVT /XMqlgjQnsdgYj1Fh+DvzAqzCG/HKrWWAFuXuyoId74Ng37YFKivnJ5Mstw1ctuY04x3p4 85JiKkw2sp0FUlxiUUVh5bb0mgHgTxNcArFY2KPYC0VrcyvlpRubumEQo2sBhYHJLdXhfx j1FZJuEe+eW8YzPJ6vyyOHxYAIW75DxbekeZz6XqfarK5rBfQlYx0pESQ60MbQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g301n2ZD6zmhn for ; Sat, 25 Apr 2026 19:16:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2742a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 25 Apr 2026 19:16:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Pierre Pronchery Subject: git: 1342eb5a832f - main - pkgconf: fix the build with GCC 14 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khorben X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1342eb5a832fa10e689a29faab3acb6054e4778c Auto-Submitted: auto-generated Date: Sat, 25 Apr 2026 19:16:45 +0000 Message-Id: <69ed131d.2742a.1793d717@gitrepo.freebsd.org> The branch main has been updated by khorben: URL: https://cgit.FreeBSD.org/src/commit/?id=1342eb5a832fa10e689a29faab3acb6054e4778c commit 1342eb5a832fa10e689a29faab3acb6054e4778c Author: Pierre Pronchery AuthorDate: 2026-04-22 23:42:43 +0000 Commit: Pierre Pronchery CommitDate: 2026-04-25 19:13:57 +0000 pkgconf: fix the build with GCC 14 Building pkgconf with GCC 14 currently fails with: no option '-Wincompatible-pointer-types-discards-qualifiers' This relaxes warnings for libpkgconf, pkgconf(1), and bomtool(1) until the improvements are published upstream (see PR #444). Co-authored-by: ngie Approved by: ngie Sponsored by: The FreeBSD Foundation Event: Wiesbaden Hackathon 202604 Differential Revision: https://reviews.freebsd.org/D56591 --- lib/libpkgconf/Makefile | 5 ++--- usr.bin/bomtool/Makefile | 5 ++--- usr.bin/pkgconf/Makefile | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/libpkgconf/Makefile b/lib/libpkgconf/Makefile index 8686103aa826..fee7f275d9ff 100644 --- a/lib/libpkgconf/Makefile +++ b/lib/libpkgconf/Makefile @@ -12,9 +12,8 @@ SRCS+= argvsplit.c fileio.c tuple.c dependency.c queue.c SRCS+= path.c personality.c parser.c INCS= bsdstubs.h iter.h libpkgconf-api.h libpkgconf.h stdinc.h -CFLAGS+= -Wno-error=cast-align -CFLAGS+= -Wno-error=cast-qual -CFLAGS+= -Wno-error=incompatible-pointer-types-discards-qualifiers +WARNS?= 3 + CFLAGS+= -DPERSONALITY_PATH=\"/usr/share/pkgconfig/personality.d:/etc/pkgconfig/personality.d:${LOCALBASE:U}/etc/pkgconfig/personality.d\" CFLAGS+= -DPKG_DEFAULT_PATH=\"${LOCALBASE:U}/libdata/pkgconfig:/usr/libdata/pkgconfig:${LOCALBASE:U}/share/pkgconfig\" CFLAGS+= -DSYSTEM_INCLUDEDIR=\"/usr/include\" diff --git a/usr.bin/bomtool/Makefile b/usr.bin/bomtool/Makefile index f9471f35801b..6074c0817756 100644 --- a/usr.bin/bomtool/Makefile +++ b/usr.bin/bomtool/Makefile @@ -8,9 +8,8 @@ LIBADD= pkgconf PKGCONFDIR= ${SRCTOP}/contrib/pkgconf -CFLAGS+= -Wno-error=missing-variable-declarations -CFLAGS+= -Wno-error=incompatible-pointer-types-discards-qualifiers -CFLAGS+= -Wno-error=cast-qual +WARNS?= 3 + CFLAGS+= -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR} -I${PKGCONFDIR}/cli .PATH: ${PKGCONFDIR}/cli/bomtool diff --git a/usr.bin/pkgconf/Makefile b/usr.bin/pkgconf/Makefile index 2155201ac883..448e7047e116 100644 --- a/usr.bin/pkgconf/Makefile +++ b/usr.bin/pkgconf/Makefile @@ -11,9 +11,8 @@ SYMLINKS= pkgconf ${BINDIR}/pkg-config PKGCONFDIR= ${SRCTOP}/contrib/pkgconf -CFLAGS+= -Wno-error=missing-variable-declarations -CFLAGS+= -Wno-error=incompatible-pointer-types-discards-qualifiers -CFLAGS+= -Wno-error=cast-qual +WARNS?= 3 + CFLAGS+= -DSYSTEM_INCLUDEDIR=\"/usr/include\" -DSYSTEM_LIBDIR=\"/usr/lib\" CFLAGS+= -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR}