From nobody Sun Feb 19 13:42:42 2023 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 4PKRZB3h9lz3r9Pg; Sun, 19 Feb 2023 13:42:42 +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 4PKRZB356Nz4WcP; Sun, 19 Feb 2023 13:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676814162; 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=Yx1w/vBraYSzcb5ku80KiaotsZyxUTmVz8QQKFvP+Ac=; b=vuKYklmfzJut1yPWZWmw7l/XDh625KOxHrB4y4yS/fZNH8kcDBnMK9bhwWDk28u9IBr1fA g/LHKf5Fb6FAhtBnK8UQ0xPOF9/8j82QIPaXqh1uQL9YCwWi/beFe0LesyeYG8DVt+hZpj 12ElbYiLSeMBfAJVyBtwv/9KtDBlwuWZrqjK5J5QbH5CTC9ij1O2D0X2fhLvVCybh/HEp2 FNi7Q9Zat1/iNOXCm17LZib/dYIDY4B2/1mgcTMtVmm2UqBd6XxVnqoI85V8UPjg4K13hQ 025D55n74bmhXGFhMxmveARQR+WK5OHXKiJBvn2xce6upeX9Qy4fSVQgZ8AQPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676814162; 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=Yx1w/vBraYSzcb5ku80KiaotsZyxUTmVz8QQKFvP+Ac=; b=jwHEfMulRApSRVQGLBAt2GmLL1IhToDCRXz+SPh6lkpIzD/m+fks3MqU73eC93aSGAA9HL 4821PN8mv6EefDsy6pbq0fcuaDe5RAcApL7yGJtkKoJXGghlTxoQpCdTu+7dOYMN3H0H3s fSmi4Pv7OQ0ij/1IvWlTJ7fb1ngr7/rVYkeXcE2IoSJRVeXZraHAfksBIgGE5EaZQAubwF Rj3ZpYV+sg7n+L77AFNkdxG/A6YYPbu4nDdtYB62tVaAQ2AgqbLM8ZbEQWghGPNEJJkaRb 4Ri21GhI59Sp2jP4J8meRsPYEKsXd88rxouyEwoljHGvxPL1ScGFF2inaBlFoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676814162; a=rsa-sha256; cv=none; b=pllWw6zOZJH5ofedxzNwmonhmYvHsIIvE6OgBiQgc96l7qu+Rwj/1QoFEFi+FYHxN46th9 f4s2ws7GhPmlEVTCTTk5Z0iwKSLnp2XlHwL7hhJ2qU0cYtGAdwLyH660GosqqMNC6GGWqJ 3Kr8WQr/3e2FGBRi533OzAn2NqGn2nvtP2OOqdE97k6OA86d9GP7oBHlhJXq0rH5wk+6/S +7GCB7NYUJJZncQmdSEYWUv3isuqXqD3eofkkWp2zzotht67sJHX0Ny8Ww0C4ZMvI9MvaY CeZjch4r8hnTc99615Jgr1gEg+YiiYUUOvgChyoCaMR8bK23sg8BfxHLubEIFg== 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 4PKRZB26Bcz148m; Sun, 19 Feb 2023 13:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31JDgg89080986; Sun, 19 Feb 2023 13:42:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31JDggHD080985; Sun, 19 Feb 2023 13:42:42 GMT (envelope-from git) Date: Sun, 19 Feb 2023 13:42:42 GMT Message-Id: <202302191342.31JDggHD080985@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: ee00fe7327a7 - main - x11-wm/fvwm3: Fix build on -CURRENT 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee00fe7327a7ef3a5ab4f237db31c0cc508c234e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee00fe7327a7ef3a5ab4f237db31c0cc508c234e commit ee00fe7327a7ef3a5ab4f237db31c0cc508c234e Author: Felix Palmen AuthorDate: 2023-02-19 08:29:24 +0000 Commit: Felix Palmen CommitDate: 2023-02-19 13:41:52 +0000 x11-wm/fvwm3: Fix build on -CURRENT Add extra compiler flag for configure when building on -CURRENT after import of llvm 15. Some warnings were promoted to errors, but the configure script expects them to be warnings. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D38669 --- x11-wm/fvwm3/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile index 775eeb1b6c8d..20ec49a24817 100644 --- a/x11-wm/fvwm3/Makefile +++ b/x11-wm/fvwm3/Makefile @@ -73,6 +73,15 @@ XCURSOR_CONFIGURE_ENABLE= xcursor XPM_USE= xorg=xpm XPM_CONFIGURE_OFF= --with-xpm-library=no +.include + +# Clang 15 promoted some warnings to errors. The upstream configure script +# expects one of them to be only a warning. Work around this by explicitly +# disabling the error here. FIXME: Check whether still needed on upgrades. +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -Wno-error=int-conversion" +.endif + post-patch: @${REINPLACE_CMD} -e 's,/etc/,${LOCALBASE}/etc/,g' \ ${WRKSRC}/bin/fvwm-menu-desktop.in