From nobody Sat Jun 24 04:38:10 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 4Qp1ZB6nqLz4gfH1; Sat, 24 Jun 2023 04:38:10 +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 4Qp1ZB4kCWz4N7K; Sat, 24 Jun 2023 04:38:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687581490; 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=EGE+h1MbGO16ILyk1Q9P3KA1cWHGWwFxVYm+H5f7lNM=; b=sCddMx+A0QCFuxPH3mlkHnW/GFHVh1i1R8ydY7+HRUKegWYKG4vRZVXrkyU2K67WR4diP7 uYrGGdic7X8KjwD4ORopojZMuy3w/cdIOPNO2KQpTp1i7EI9XBqlvRCvIvQjXLOpWXqj7p FADpyCGJHmOjOetStQgWMtpHopKS1zMm5o5gFVnVvi8I7OVxVUCxhGVA/hdP6iqwzVAcW6 iht0m4DMtn+7N/GTN3glX2GyXcsvPQTPBynb4NuDiXSPQaJ+iGhcdOvTPRwdAGdEIEZmUB Bt8iDVEiHJgYI/EVQIaHW7PLmFku8P0rfbmk6ox7rdRmVYxbqKcYF8APgulolw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687581490; 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=EGE+h1MbGO16ILyk1Q9P3KA1cWHGWwFxVYm+H5f7lNM=; b=O9zqGU+ypNr3UEUPSZm0cSfVoogcrlhiUessOLYPpmQIqA09AVp6t6SOhqVzz3meUcfD1t 7R5Fsxh07mqwCXgOXkwXdsdYfvtDRG1HZP41yy9OqaLX4DkkrTn76Nel/nYCguqS4fLvk9 GTgusjxsJjMdcj+8sRlU344xUUWxU2m/1Yt3u+dHBKFelpBtfhwkKuaMMZU0FpJnSSMfph bs195UPE3erAviLR3crsoRIi0WOLH2NgQ24CLC/3Lfjw8x8N7jtZFggDNI4sd8liCTqBRu KyX0dQr3KQ5egR8zsXvmTiycb1HS1ryz+VyHgT1TYgdQYPZSZkERIGVHT8gU5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687581490; a=rsa-sha256; cv=none; b=fFCgEC87NAmxyaXwSjGzkaY0nXK5kUJIckHaBEclpmz5dF5z1IlE9J28UswI0c5hOYA1Qw vJb1eNQmT0wzS4LXrgyHeRZ1eh9EcwD8ZTWKnRCTT+dlTBRiX9JdySdDHqQHqdEgbpnZaK NTytZR/YDyQz3LGdZKvy/F1/MOHXzmTK1HV5Ob08FoOuvSOWoF4psLKOerHFCgRATdo2ih OIivftudsBUcHduF5ghdFvyssV1wO1ZwF0GVmaCSsMjGKmoI9ubWZUcFX23aTl+iDwupqL 5Zl5xEWXaH37j4YuNKpAguVP1Lo0JFRBusI1dJIh3A/+oU6wE7qB09+ql0rjSA== 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 4Qp1ZB3Z0DzXlD; Sat, 24 Jun 2023 04:38:10 +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 35O4cASA073750; Sat, 24 Jun 2023 04:38:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35O4cAOM073749; Sat, 24 Jun 2023 04:38:10 GMT (envelope-from git) Date: Sat, 24 Jun 2023 04:38:10 GMT Message-Id: <202306240438.35O4cAOM073749@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 716b4773afee - main - textproc/lttoolbox: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 716b4773afee57ad52cc66f4c12411fee61c931e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=716b4773afee57ad52cc66f4c12411fee61c931e commit 716b4773afee57ad52cc66f4c12411fee61c931e Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 04:35:50 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 04:37:53 +0000 textproc/lttoolbox: Fix build with llvm16 - Add LICENSE_FILE - Use upstream release archive [1] PR: 267591 [1] Reported by: diizzy [1] Sponsored by: The FreeBSD Foundation --- textproc/lttoolbox/Makefile | 15 ++++++++++----- textproc/lttoolbox/distinfo | 6 +++--- textproc/lttoolbox/files/extra-patch-llvm16 | 10 ++++++++++ 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile index b2e9a6b96fb4..f4cc9306869d 100644 --- a/textproc/lttoolbox/Makefile +++ b/textproc/lttoolbox/Makefile @@ -1,22 +1,21 @@ PORTNAME= lttoolbox -PORTVERSION= 3.7.1 -DISTVERSIONPREFIX= v +DISTVERSION= 3.7.1 PORTREVISION= 1 CATEGORIES= textproc +MASTER_SITES= https://github.com/apertium/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for lexical, morphological analysis and generation of words WWW= https://wiki.apertium.org/wiki/Lttoolbox LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp LIB_DEPENDS= libicuio.so:devel/icu \ libxml2.so:textproc/libxml2 -USES= autoreconf compiler:c++14-lang libtool pathfix pkgconfig -USE_GITHUB= yes -GH_ACCOUNT= apertium +USES= autoreconf compiler:c++14-lang libtool pathfix pkgconfig tar:bz2 USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -26,4 +25,10 @@ INSTALL_TARGET= install-strip CFLAGS+= -I${LOCALBASE}/include/utf8cpp LDFLAGS+= -lpthread +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-llvm16 +.endif + .include diff --git a/textproc/lttoolbox/distinfo b/textproc/lttoolbox/distinfo index 7d021e8e12dd..cc084105e8f0 100644 --- a/textproc/lttoolbox/distinfo +++ b/textproc/lttoolbox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667647908 -SHA256 (apertium-lttoolbox-v3.7.1_GH0.tar.gz) = 3ad20ca4c1d15522623062c77a0966ea4d81fc2c44045d96fa86eb79c7325bf1 -SIZE (apertium-lttoolbox-v3.7.1_GH0.tar.gz) = 213791 +TIMESTAMP = 1687577649 +SHA256 (lttoolbox-3.7.1.tar.bz2) = 8157a6ec15c17c5e8a22e03fca036f5563a97926d5071c53e81b4c3c7cb7a3e3 +SIZE (lttoolbox-3.7.1.tar.bz2) = 174427 diff --git a/textproc/lttoolbox/files/extra-patch-llvm16 b/textproc/lttoolbox/files/extra-patch-llvm16 new file mode 100644 index 000000000000..28aae7c9810b --- /dev/null +++ b/textproc/lttoolbox/files/extra-patch-llvm16 @@ -0,0 +1,10 @@ +--- lttoolbox/sorted_vector.hpp.orig 2023-06-24 03:28:58 UTC ++++ lttoolbox/sorted_vector.hpp +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + namespace detail { + template