From nobody Fri Jul 21 15:42:01 2023 X-Original-To: dev-commits-ports-main@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 4R6v1k3M2vz4p60S; Fri, 21 Jul 2023 15:42:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R6v1j5fwWz4NSd; Fri, 21 Jul 2023 15:42:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689954121; 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=wJ6tpP/U2wgkVCvhSLez9Npot7xWqNibbqe2zp4IM+k=; b=EA69s4L5MEv/oODMetD+owDWcY5EJ5bXGbUULoSQnmiummSc5XSJL8pqm8WhXvuZqyeANQ q3m4+VTbXwsgm3+GoEakvcK+xdtx1PdjFGvLLcmRFPnqS7DioNSzgwVSvaawGqM4d4bFAF 5IfmHI3vgwudMOCQwl1BrZNBEut6rl7N2h5QbWCJDgVinOnU3hLCXeke/Q2pCdMqTzgwDY 7EX0MIk0gDEuplvNlqvqLb9rUxZubAheITgAYl/b8LuERa3mdekkeNQaTOfgL0osWaeD6g 6GwaSbgx3BC3bVrDiWnUrxUK1WVvCKKwnUkNCOUVSxL/K0YyD1TspjDQbDzqwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689954121; 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=wJ6tpP/U2wgkVCvhSLez9Npot7xWqNibbqe2zp4IM+k=; b=P0BYKrl9wHIUSSZ/SUZdrrQiJBN9RubjuSf+vpxo44ZaXulG3F3UdllAH1qeSZF8mLGHWD Mjwmd9j/bgcrzwL0pEiNZuB/HxjTJbKTR50UaWfX1a/jpj4WXq3KiK2RX5A68WU56piS08 Sq8WUS75kwTUVaRklCv33dVwzbYNUf8wxcz4kuJLDDxwJ+3y5iqRtnOA3Xi6FJ09T9igSJ MseA1QtTWLMVWUcAYAaa28yz3V+p/PbNmcZ6886IHt0EOAV+CwBxWUSqhZLLIspB0ic/Q0 r0xZ5N8bOjLlQ6pwcdEAcQY1tgIQRE2c4tX0lOLPz6Pd2rRAZ5eBsvV4nslfuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689954121; a=rsa-sha256; cv=none; b=v13wtU+OuWrseqXc8YLrKM1UZoz6w7Jn3f+GMCtIiDDKAs3SNGP3zETW1yArDsh2/TpAyx QwJhiM/ZnsWKt250W0qnske9FKJfy1Jk3dC1cob7c1nCgbdZdNRt3umqCarIuP8TbKe9UH 8VzKDQFUA4PBgz/A1+o9hh5ObPwkRjtAKM9FdQ7tUYdtwskU1EKyzhseL9Sn9oBcbxwBHw ePs+XdZQRz337UQCUpXzypojkhNijZmPIxw8I2JY5Qd92OtYu+sPPf6Wh9LXAyym+SyUy2 kV6ngk+RpDuOu8ZfdKQ3+PwbmbEE1NPwqArESOSjVDLJL51Nkq8oUSYo0a432Q== 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 4R6v1j4lGczJd9; Fri, 21 Jul 2023 15:42:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36LFg1I8021816; Fri, 21 Jul 2023 15:42:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LFg1Vj021815; Fri, 21 Jul 2023 15:42:01 GMT (envelope-from git) Date: Fri, 21 Jul 2023 15:42:01 GMT Message-Id: <202307211542.36LFg1Vj021815@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 37581a9c35b1 - main - devel/csmith: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37581a9c35b1d2c13a0a647d68717387fa69a433 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=37581a9c35b1d2c13a0a647d68717387fa69a433 commit 37581a9c35b1d2c13a0a647d68717387fa69a433 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 15:37:01 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 15:41:48 +0000 devel/csmith: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- devel/csmith/Makefile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/devel/csmith/Makefile b/devel/csmith/Makefile index 926cbad8087a..d6672dde2d67 100644 --- a/devel/csmith/Makefile +++ b/devel/csmith/Makefile @@ -9,18 +9,26 @@ WWW= https://embed.cs.utah.edu/csmith/ LICENSE= BSD2CLAUSE +USES= gmake libtool localbase perl5 shebangfix +USE_CXXSTD= c++11 +USE_LDCONFIG= yes +USE_PERL5= run + +SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl + GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib + INSTALL_TARGET= install-strip -USES= gmake libtool perl5 shebangfix -USE_PERL5= run -SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl -USE_LDCONFIG= yes + +PLIST_SUB= PKGNAME="${PKGNAME}" OPTIONS_DEFINE= DOCS -PLIST_SUB= PKGNAME="${PKGNAME}" +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Wno-error=enum-constexpr-conversion +.endif .include