Date: Fri, 10 Dec 2021 04:42:04 GMT From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: b8efb5574051 - 2021Q4 - sysutils/reptyr: Address LLVM 13 build failure Message-ID: <202112100442.1BA4g4Rh035859@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2021Q4 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8efb5574051bb451a1bbb5cc37a330529b232c6 commit b8efb5574051bb451a1bbb5cc37a330529b232c6 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-12-02 00:47:57 +0000 Commit: Cy Schubert <cy@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112100442.1BA4g4Rh035859>