git: 31941733902a - main - devel/llvm14: Update to 14.0.4

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Thu, 26 May 2022 18:18:00 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31941733902a9853e48286644ec4c8087ede67d8

commit 31941733902a9853e48286644ec4c8087ede67d8
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-05-26 18:12:46 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-05-26 18:15:49 +0000

    devel/llvm14: Update to 14.0.4
    
    For a list of changes, see:
    https://discourse.llvm.org/t/llvm-14-0-4-release/62751
    
    We skipped 14.0.3 as it contained only a version bump that was missed
    in 14.0.2 and I'd already worked around it in the port.
---
 devel/llvm14/Makefile | 7 +------
 devel/llvm14/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index f7354bb63339..5ac98f48c7da 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	llvm
-DISTVERSION=	14.0.2
+DISTVERSION=	14.0.4
 PORTREVISION=	0
 CATEGORIES=	devel lang
 MASTER_SITES=	https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
@@ -66,11 +66,6 @@ CMAKE_ARGS=	-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
 CMAKE_ARGS+=	-DLLVM_ENABLE_RTTI=ON
 CMAKE_ARGS+=	-DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET}
 CMAKE_ARGS+=	-DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET}
-.if ${DISTVERSION} == 14.0.2
-CMAKE_ARGS+=	-DLLVM_VERSION_PATCH=2
-.else
-.error update the LLVM_VERSION_PATCH hack.
-.endif
 # Following commit https://github.com/kitware/cmake/commit/956054
 # we need to either change the whole man-shuffle below, or simply
 # redefine CMAKE_INSTALL_MANDIR
diff --git a/devel/llvm14/distinfo b/devel/llvm14/distinfo
index 3c527557729c..5d5027955c3b 100644
--- a/devel/llvm14/distinfo
+++ b/devel/llvm14/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651080489
-SHA256 (llvm-project-14.0.2.src.tar.xz) = dd559ea1b02cb241def100e05b1e406521da50af87aca0f2ae309abd916177d5
-SIZE (llvm-project-14.0.2.src.tar.xz) = 105590604
+TIMESTAMP = 1653517134
+SHA256 (llvm-project-14.0.4.src.tar.xz) = f40c77ceff02ae3873d273a51b0f93cd8e6409576f771d860d75835335522052
+SIZE (llvm-project-14.0.4.src.tar.xz) = 105611808