From nobody Sun May 07 18:39:38 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 4QDtWG2Lzzz49LBy; Sun, 7 May 2023 18:39:38 +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 4QDtWG1pzSz4JJb; Sun, 7 May 2023 18:39:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484778; 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=vmBI+LJ6iNoaEgfpIHBm8xQO5Rs1FGVJs6SGHZ7qrhU=; b=BKt/miczbFiE3GinPiRmM6Ue19BlttUk43QYPd7DaTJYGeoJpaRhNtgaoO1OqMJ/9Hl2Fg c9JznkZFk7POIN9lj6q2SBW2/mBaorjP5BftN/79wg9QkHbCsd156cRx+nautcfS7mtcqi xmyMa4MOAP1uMKpRQOLWp5REAN4w/RqRMQ1XKP3JqJF/9VhimoHOLhDFr3i2jwwyQr87xs sSmk9E3G3JzitGE1gW054o+sNfs6Jl7o7qS1XFrnpZ9OXhL6AOpWGBU+c1J33ay6kqf+Ww g5h4y+AjEap4ruPdXwcSOYlzPu2fgxHHMsX3a8mu5Aa5dR6Pu4iwsfBj4sparg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484778; 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=vmBI+LJ6iNoaEgfpIHBm8xQO5Rs1FGVJs6SGHZ7qrhU=; b=mpP9iQgYhhyrQQVRsdpi+8U6EcObJnCjzPer06ymlO5z9yvJD8Ioh9GJZAL5hs/sJg5Xma 7ao5ma8koEQNVmjZZZdgbCsPRgWZrNJqim9Aab+HqZE1CvjXLDeSKEd1I7wUJVTYbGSr8c 1d0hpOqbIrH1+r58wxafnB4wo9NmsmG/0pR0Q9gZXSdejXPFjSKt55+j9QzLiAI6/HDnCi jizxOAZSiC4fTVZeUOUKjPLqLkNRgwr/3X/+dS/sxjnHFgKSeINif4AxGnSPEUX/rMtJxd 6BJPYbWLsJDfSrq+OSv+7Oqdwf2tx8R8htxXCTn/cNu19FQMWWtvxIPLqcp/zA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683484778; a=rsa-sha256; cv=none; b=aAXtO/Xlje2dVy6xexAwTW/lTMpA8QHaQzu19VIdg1OTLIruPdY2oVg1ersa4DQgSW2yCK xNxvyo2e5e8LAHBR7sFqy2yzto3Fe3jP0D9ZfqlgDJJrwyple5GIt+GiyQsVHyHVZTXdxK dDE5tXJVoXD55PiW+9fFp6b6AcUka6FSh+27HBXXmUMNipb/H1rl0ENRrdEkpr2kdpaVhP lup5ox6jyYMHYqDuquwcffSAe5vtKY1zJDYMhE3fEAte1TvdIUB+YMhzvaGglqS/VDvcx1 RWqRpRtNpZ0efx9GIKNGWjjQ8Nn/nta/G5kP3qzIWZrpdG8kFbVC/FztkIcmig== 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 4QDtWG0t3vzTfc; Sun, 7 May 2023 18:39:38 +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 347IdccX074679; Sun, 7 May 2023 18:39:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 347Idcws074678; Sun, 7 May 2023 18:39:38 GMT (envelope-from git) Date: Sun, 7 May 2023 18:39:38 GMT Message-Id: <202305071839.347Idcws074678@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 9d2bf7ac7fa5 - main - textproc/html2text: fix build with clang 16 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8c commit 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8c Author: Dimitry Andric AuthorDate: 2023-04-23 19:07:29 +0000 Commit: Dimitry Andric CommitDate: 2023-05-07 18:38:47 +0000 textproc/html2text: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because textproc/html2text's Makefile does not explicitly set its C++ standard, this leads to several errors: /usr/local/lib/bison.cc:429:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int yystate; ^~~~~~~~~ /usr/local/lib/bison.cc:430:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int yyn; ^~~~~~~~~ /usr/local/lib/bison.cc:431:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register short *yyssp; ^~~~~~~~~ /usr/local/lib/bison.cc:432:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register YY_HTMLParser_STYPE *yyvsp; ^~~~~~~~~ Add USE_CXXSTD=gnu++98 to avoid these errors. PR: 271031 Approved by: maintainer timeout (2 weeks) MFH: 2023Q2 --- textproc/html2text/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile index 394feb4b7524..8a53e2dab50d 100644 --- a/textproc/html2text/Makefile +++ b/textproc/html2text/Makefile @@ -1,5 +1,6 @@ PORTNAME= html2text PORTVERSION= 1.3.2a +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc MASTER_SITES= SUNSITE/apps/www/converters \ @@ -13,6 +14,7 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING HAS_CONFIGURE= yes +USE_CXXSTD= gnu++98 PORTDOCS= CHANGES CREDITS KNOWN_BUGS README TODO PLIST_FILES= bin/html2text man/man1/html2text.1.gz man/man5/html2textrc.5.gz