From nobody Fri Dec 10 04:42:04 2021 X-Original-To: dev-commits-ports-branches@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 56B7418DD043; Fri, 10 Dec 2021 04:42:05 +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 4J9JCc4JWsz3Ny9; Fri, 10 Dec 2021 04:42:04 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 398BA14063; Fri, 10 Dec 2021 04:42:04 +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 1BA4g4wH035860; Fri, 10 Dec 2021 04:42:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA4g4Rh035859; Fri, 10 Dec 2021 04:42:04 GMT (envelope-from git) Date: Fri, 10 Dec 2021 04:42:04 GMT Message-Id: <202112100442.1BA4g4Rh035859@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: b8efb5574051 - 2021Q4 - sysutils/reptyr: Address LLVM 13 build failure List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q4 X-Git-Reftype: branch X-Git-Commit: b8efb5574051bb451a1bbb5cc37a330529b232c6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639111324; 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=cquHTk0Gau7eWXd6PBq8BYhKY08ZXfEHrxQSC1sX/bc=; b=QVGC+U8VdWyQNYt8cH68wQH9Spo+686Tu8f6XRJChRxAGBrwHgxGFdgcUxJJVo/3HRwExL p5QFosirNGe7I9r69f2Ggoz4QC1FgWjUUq+7K/sZZZFnVpDLvFfcBsThM5gc0BJZgCUUjf LhqAq/hbc2bnVJ/XWx9Xb3K2ptaRDwUMIAC5DC+vK9zGbAjQAfb1Jbq81rJC+JSnd0ZebT hjX6BNSPeXneQ2rU9jNNUD2c0odw+gSJJFLlkucyaeAXElD4IPFPZRSo+8+GC1mAISX9oG Co+OqX8VS5/mxlzqL+csYVo0JF7T6myEO/09yT1WtMQnAtXi9W01BMBPNqdwlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639111324; a=rsa-sha256; cv=none; b=j6AMXBQMUcqEBYQipKDSYJq0q1s5GgNh2sZnXWZmVnL36BRpAMYRm8Y0l6/Rx3Q+bIoQa3 CZQK0/kbFyCcWIWmlt7acO1uMccOwpwUegbXzzgeWQgCLi1yW5j/+e6BelXUBjQ+JRRPsP +1rqc/EEa/bk2xOGW9b+BlEy2nlriqw5phO3R3ptAS8nqaV2zVD4Fu6yULZUhtW5wJupnq iez80ktyXgros70Eo261VBWF4Vt0gCinjxgrrMbXR+Qas/p3gtrYwR9U13rrfba8A4osy8 Rdnd2gaXrq05C1aJlXgwAjBi3ZPU+mCpiNXeb1SgU61+uiwUZXs1SWttU4a6fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2021Q4 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8efb5574051bb451a1bbb5cc37a330529b232c6 commit b8efb5574051bb451a1bbb5cc37a330529b232c6 Author: Cy Schubert AuthorDate: 2021-12-02 00:47:57 +0000 Commit: Cy Schubert CommitDate: 2021-12-10 04:33:38 +0000 sysutils/reptyr: Address LLVM 13 build failure Rather than create a patch, simply add -Wno-unused-but-set-variable, avoiding a maintainer to backport patches any time the port is updated. In file included from platform/freebsd/freebsd_ptrace.c:69: In file included from platform/freebsd/arch/amd64.h:23: platform/freebsd/arch/x86_common.h:45:6: error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable] int ret; ^ platform/freebsd/arch/x86_common.h:54:6: error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable] int ret; ^ 2 errors generated. (cherry picked from commit b8c4bfe660b373862165a58514f270a51e77e147) --- sysutils/reptyr/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sysutils/reptyr/Makefile b/sysutils/reptyr/Makefile index 548a66b196f1..a4895b1d59dc 100644 --- a/sysutils/reptyr/Makefile +++ b/sysutils/reptyr/Makefile @@ -15,6 +15,7 @@ GH_ACCOUNT= nelhage MAKE_ARGS= BASHCOMPDIR=${PREFIX}/share/bash-completion/completions \ MANDIR=${MANPREFIX}/man +CFLAGS+= -Wno-unused-but-set-variable USES= gmake ONLY_FOR_ARCHS= i386 amd64