From nobody Mon Jul 29 12:46:03 2024 X-Original-To: dev-commits-ports-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 4WXdQ41kFtz5RwNf; Mon, 29 Jul 2024 12:46:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXdQ36vxGz4YT2; Mon, 29 Jul 2024 12:46:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722257164; 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=WDDGgRgH9MBEQ7wuEkyD7bGf7jEhW4KzwAyWe/gf7SI=; b=aWv9cBriNT7WO127UFFewdJrvrzKdLWQ625YC5DiwiLL9OmoNxHAyJCWur0IEPWxYFpX9r rKFxMuNbhJNSW3/TZoxKPjWEFHFJnO0UoIKTEsChAozRrtpWYYAwM5EZFMiLoltYUhZw4p nBmo49mf4lGopSXdml9Z9tR6QSq5ENSWtXB+vPo54wjMxJo7A17iTRB6fZSAZPvV8+mld3 cXd1e6WUiiXmSI1YdUIVo3fha/GlWozyukQCeg60kB4E0sxvCr48aarPgh3utcf/jDnMFr P1HBY7KWBACPfo4TUNnMh5RtsghfQj3uxC7qEu5h9TVkVkp02MO9VJxv2ACQPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722257164; a=rsa-sha256; cv=none; b=eAeIAdMksS+ESISIyTts2DYzb89Fn/b0hZnVmEYUTAdReSDinD7MAA239YvocCKXTDlphs Ibr5HIhW9E2m9AyqJIHDoJMS101ksCmbwi4tQ6ct0GA4c5cZ78ox2rS94v40Q8hlEKUyoA jIz4jP1RdKQ70V1vndMEKW51CJanTR8mD8pW4YiJHEb+W2vYij/8b34NAaHut5a1m1SxSn o7zwUGNwuH7VIJMNgmN8oMonMiB3CQXMsi6k6F1DHpeITx8TH5PCBiMvV8f4jqNvJZ9A+n RlYoXFNamJhbenx1vPoNPdfvVY5NB8YnhCbn3d0j0xlpokNsdqJ4w2PAvctiMQ== 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=1722257164; 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=WDDGgRgH9MBEQ7wuEkyD7bGf7jEhW4KzwAyWe/gf7SI=; b=DcmyeycGJK44wEKYy7mlSyYwVLNXHCj1A0QQijR1rPrTaWaSe3R6kYXDYIqfjb+mM2ZoOz ljiSZDgvd83IFWUuVW26dVlUhB9S66RkvwgEuaHczphvcxPX+F0aD2avri+cBjcgW+vpp4 yNyHFcn2kWhCt521GsCfs129c5OtW95iT8ZjWXOcqMconq7p2gg9tAqNwPrs85edCEjRok jjseev/+lq3BaB+S2wa14o5slJKKmDWcqrYDxw5zVvAU4fX/LzThRsvAF74hSdDMG4i61E YndSR9SI1AJ7FAtLFTIBliS0BP64l+rjIQU3G5osPjENHwoKlzH5JLS4/eqGKQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WXdQ36VCyzZyg; Mon, 29 Jul 2024 12:46:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46TCk36k009298; Mon, 29 Jul 2024 12:46:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TCk3tZ009295; Mon, 29 Jul 2024 12:46:03 GMT (envelope-from git) Date: Mon, 29 Jul 2024 12:46:03 GMT Message-Id: <202407291246.46TCk3tZ009295@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 20ef1e4298d8 - main - databases/libzdb: Fix build on FreeBSD 14.0 (Clang 16) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20ef1e4298d867617887f4b706ea051c2ee7eb40 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=20ef1e4298d867617887f4b706ea051c2ee7eb40 commit 20ef1e4298d867617887f4b706ea051c2ee7eb40 Author: Po-Chuan Hsieh AuthorDate: 2024-07-29 12:38:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-29 12:38:55 +0000 databases/libzdb: Fix build on FreeBSD 14.0 (Clang 16) Reference: https://pkg-status.freebsd.org/beefy22/data/140amd64-default/6e2f94a5f2a9/logs/libzdb-3.3.0.log --- databases/libzdb/Makefile | 2 +- databases/libzdb/files/patch-clang16 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/databases/libzdb/Makefile b/databases/libzdb/Makefile index cfdf4e6f3528..550b3260f546 100644 --- a/databases/libzdb/Makefile +++ b/databases/libzdb/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= fails to build BROKEN_powerpc= fails to build -USES= compiler:c11 gmake libtool localbase pathfix +USES= compiler:c++20-lang gmake libtool localbase pathfix GNU_CONFIGURE= yes INSTALL_TARGET= install-strip diff --git a/databases/libzdb/files/patch-clang16 b/databases/libzdb/files/patch-clang16 new file mode 100644 index 000000000000..c3df8d5a7a22 --- /dev/null +++ b/databases/libzdb/files/patch-clang16 @@ -0,0 +1,16 @@ +Workaround for FreeBSD 14.0 (Clang 16) which is expected to be EOL on 2024-09-30 + +Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255374 + https://forums.freebsd.org/threads/freebsd-release-14-0-and-clang-2020-std-format.91114/ + +--- test/Makefile.in.orig 2024-07-23 00:18:00 UTC ++++ test/Makefile.in +@@ -353,7 +353,7 @@ LDADD = ../libzdb.la + AUTOMAKE_OPTIONS = foreign no-dependencies + DEFAULT_INCLUDES = + LDADD = ../libzdb.la +-zdbpp_CXXFLAGS = -I../zdb -std=c++20 ++zdbpp_CXXFLAGS = -I../zdb -std=c++20 -fexperimental-library + unit_SOURCES = unit.c + pool_SOURCES = pool.c + select_SOURCES = select.c