From nobody Sat Feb 25 16:43:21 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 4PPCHs4Yj1z3tcS9; Sat, 25 Feb 2023 16:43:21 +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 4PPCHs43bgz3jYW; Sat, 25 Feb 2023 16:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677343401; 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=h0G5kAp8E6bMpVZaK0DrCzX+27xJmMPLyZCgUTh4JGQ=; b=SqlveXTjJi/uJhQhFHyEoBpPNpukM2lOPc+bNpA+9CDNtM65NfSEpGSkcsHZDfHXjdEp08 h3nHogcd/traU77SXg7RPgDtg38e7pPeu9LLaHHaIZxUqF5jsrhR0t8TrUUR5SVj+AerNk 3B1LT3ZX9tyhfbrt/Vc7UhNDozsf6+4CoV5eGeE1v0cfoxExY6LSU+E8BP+7mGOO6AJgxH VhRkyDPTOKCFMrCVWVqUAuyMUaHEgTfyRfz3vNLEfVktoiCheZ+KF39NuIJc2C/lhB5ba6 NLX1woBVcjJnn4Gmgwek7vy4iyjIFMGimrrjkwOKC9ln+13DBBRdhHiqJGEu+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677343401; 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=h0G5kAp8E6bMpVZaK0DrCzX+27xJmMPLyZCgUTh4JGQ=; b=B9v9n74f22GdRtigThxRsHPVNaNNvJQ/GURWY+fdMiLs21SiYQN67kxKWa7roDZUJP7oCQ kCXE6cHjuG+H+PpOjhRifvlLZ9CLkmJ9b5wrOX1mJpzx1kJMPdkzH5M+8dr5m1BZrP6Zup lR9neQb3boxQWaOUZV6TwMo90qaFKo/UQ1sEGNrYNlVnZ6YNA+s8CztbmEgEsH0At2PuoJ ng5mI9sOx3shJsuSUtZRujPFyzk/heoKlv+7jSB9z9+JkAgtkk7YOULXj58FV9UWvHD8YN HEtau1zFlnM2Ge5gqz4DQwpjaAMiEjKQ6hsN4UQcERSR3TCZWDi8jzfpXQy07w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677343401; a=rsa-sha256; cv=none; b=GQUGyRXlsej7oLtkEaRxGh/MEeOW8BzwKO6lmgl6A1Eol4dLhdn0v0i3UyHj6oDFfQ7+n/ 0fN5oSGYAYnQYd9/oMtHM+KVcStieyy7GC5EUcY0Ee4ziuX5c+y6+xSCfUJAbqOk8HvZH4 j3nK8JAGUFZzQFwJRoFKpn9Dntn4a44DjtSjX9GpgwY+oTNOjnq/WPUjEyHwBCnspUNREL O31uX4DxgXIJBmrm4CN/JsUmTS75cQ54QPu/89+CxOkBq3Y07QAcofGkbF1HtWiaCz4dUc BVIEQQwDnek/vZdq7tQkCWmo2OH5PYXmYwpLGMqm+7W+NVG/CnkWcpxbHDOakw== 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 4PPCHs36bmz1BPN; Sat, 25 Feb 2023 16:43:21 +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 31PGhL75092002; Sat, 25 Feb 2023 16:43:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31PGhL1P092001; Sat, 25 Feb 2023 16:43:21 GMT (envelope-from git) Date: Sat, 25 Feb 2023 16:43:21 GMT Message-Id: <202302251643.31PGhL1P092001@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: 5111b40cb9eb - main - databases/mdbtools: Workaround breakage from llvm15 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: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5111b40cb9eb3a6b9cea4467145893fd7caa4e86 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=5111b40cb9eb3a6b9cea4467145893fd7caa4e86 commit 5111b40cb9eb3a6b9cea4467145893fd7caa4e86 Author: Rainer Hurling AuthorDate: 2023-02-25 10:53:53 +0000 Commit: Rainer Hurling CommitDate: 2023-02-25 16:42:53 +0000 databases/mdbtools: Workaround breakage from llvm15 parser.c:1035:9: error: variable 'yynerrs' set but not used [-Werror,-Wunused-but-set-variable] int yynerrs = 0; The parser code is created at build time. llvm15 complains about the not used variable. Avoiding llvm15 is just a workaround, until a better solution is around. Reported by: pkg-fallout --- databases/mdbtools/Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile index fd144aefbed7..3da1f8d445f1 100644 --- a/databases/mdbtools/Makefile +++ b/databases/mdbtools/Makefile @@ -18,14 +18,13 @@ RUN_DEPENDS= bash-completion>=0:shells/bash-completion USES= bison cpe gnome iconv:wchar_t libtool pathfix \ pkgconfig readline +CPE_VENDOR= mdbtools_project USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ --with-unixodbc=${LOCALBASE} -CPE_VENDOR= mdbtools_project - INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS MANPAGES LIBMSWSTR NLS @@ -41,8 +40,21 @@ NLS_USES= gettext DOCS= AUTHORS HACKING.md NEWS README.md +.include + +.if ${LLVM_DEFAULT} >= 15 +# With LLVM15: parser.c:1053:9: error: +# variable 'yynerrs' set but not used [-Werror,-Wunused-but-set-variable] +BUILD_DEPENDS+= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} +LLVM_VER= 14 +#CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm +CC= clang${LLVM_VER} +CPP= clang-cpp${LLVM_VER} +CXX= clang++${LLVM_VER} +.endif + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include