From nobody Sun Aug 06 21:53:18 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 4RJtVl1s8Pz4mTQ5; Sun, 6 Aug 2023 21:53:19 +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 4RJtVl0qy4z3GTm; Sun, 6 Aug 2023 21:53:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691358799; 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=GIIcAjBQJTbZ5oq5WJ1DadTRM/k1nkVQj4htSMFUDwg=; b=FngYRUpKsJCe2DREph73cHnTmEYWTD6Uu02vuCS6fmgSqUO3aCJnXCi0ge+fCv9NhKI2ik cgtbfuNT/PaAAlv7mKqMQjIWNmWO5cediXu51H9MZ2x21U2Qai2/ONQF+2D9VPMMl41QlS Y6yx1TMw/EbMIPmHCMi+cVKGvLkOKKq097XRIlKyouCjjmP0viOTrTB/3hW2V8kfEfE7hd yq8iEB5lmO8iOSz4YFOo4kKhrceiXINA5I0geYiWbc3L/Q6KlQkvXvP1gUrR+YTFEd+e70 EBEdR3rfetCaM+8pVJckoB8+iw59rCnXcZDFYsDXqfX9TmxZFXWbC7KX06xm5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691358799; 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=GIIcAjBQJTbZ5oq5WJ1DadTRM/k1nkVQj4htSMFUDwg=; b=eSDtY8Ypb81mDd0AqPBwYs17SeNcMuFgpwfMcjIP0xn3KHUT98r7r9k7g9BQ+SueLyTu0/ 2jL9qOU6Fqp23/OdGp10Ixn/d6My0ga0ZmqVn5nb8/LIzruU6avMDt82nsLJkZp3x7ni3B yNSge9lqjHp9eT7iBYEaVWrykGgnQeNv72q22NZ67TRR1MCVnD4hWC3aizztVnMQlAMnLT /IZhnjJhqbJH2PPk94GyD9jfsw6KD2Ed1fZC243QG2lWYi4WX9FVicSferbLKMtZR/G27I fZ35xIPVrwYUWForTr6oqFYF7fuuQSgd1R2pntbwmyaQ4PVh/lB5FhES685Azg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691358799; a=rsa-sha256; cv=none; b=vtxrPk/+HRLXjo1NRRvRBXFRVuP3lcu52xwEtpnlWZQIvfFxhVM17ZsGtVBxv97ExsnfKh P2FBAoJC6VlFKDBe42zuKfsanRvqTuUcvus63q7h1SOoqmAh74hHoERjlDu0OUnrYvU6HN GfbaxiJ4a48v1naFW7HSe+Is/Up3mzX0LBRgTzzLUQu946F/FSXbaujZk1MVW08jRV3N7D KBrFTbL/OO6A4n96MxlZmr543Tz25VMcg0TvnoZxOxwYKrtgLRUk8Xn3BlNFNGhNpcm159 3KRcrMLCjskNK9fXsTDur3yW3/laRQX5rGL5yDbJLIR32EQOKOztT4BvkYZoWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJtVk73L7zCFl; Sun, 6 Aug 2023 21:53:18 +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 376LrIJY075726; Sun, 6 Aug 2023 21:53:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376LrIZW075725; Sun, 6 Aug 2023 21:53:18 GMT (envelope-from git) Date: Sun, 6 Aug 2023 21:53:18 GMT Message-Id: <202308062153.376LrIZW075725@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: a79ba32c2ce9 - main - x11-wm/subtle: 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: a79ba32c2ce95911b11dbb6e8143f74dd355444f Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a79ba32c2ce95911b11dbb6e8143f74dd355444f commit a79ba32c2ce95911b11dbb6e8143f74dd355444f Author: Muhammad Moinur Rahman AuthorDate: 2023-08-06 21:39:08 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-06 21:53:05 +0000 x11-wm/subtle: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-wm/subtle/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x11-wm/subtle/Makefile b/x11-wm/subtle/Makefile index 8b3515300900..3b0689645b29 100644 --- a/x11-wm/subtle/Makefile +++ b/x11-wm/subtle/Makefile @@ -19,14 +19,21 @@ MAKE_CMD= rake -v MAKEFILE= Rakefile ALL_TARGET= build +.include + post-patch: @${REINPLACE_CMD} -e 1d ${WRKSRC}/data/subtler/runner.rb @${REINPLACE_CMD} -e 's,File\.exists\?,File.exist?,' \ ${WRKSRC}/data/sur/server.rb @${REINPLACE_CMD} -e 's,/etc/xdg,${LOCALBASE}&,' \ ${WRKSRC}/src/subtle/ruby.c +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 + @${REINPLACE_CMD} -e '/cflags/s/-Wall/-Wall -Wno-error=incompatible-function-pointer-types /g' \ + ${WRKSRC}/Rakefile +.endif + do-configure: @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} config -.include +.include