summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-09-22 11:47:14 +0000
committerwiz <wiz@pkgsrc.org>2022-09-22 11:47:14 +0000
commitf02e32fcbac8a75f50b4a95ecc3b2f4d9cc76c48 (patch)
tree5c908eb224bbdeb5b9b960fbf87ad443d9fe20fe /cad
parent44a380b80f824a18332c2c3f18830f48be6ecadd (diff)
downloadpkgsrc-f02e32fcbac8a75f50b4a95ecc3b2f4d9cc76c48.tar.gz
ghdl: fix build with llvm 14
Fix pkglint while here.
Diffstat (limited to 'cad')
-rw-r--r--cad/ghdl/Makefile4
-rw-r--r--cad/ghdl/distinfo4
-rw-r--r--cad/ghdl/patches/patch-configure14
3 files changed, 16 insertions, 6 deletions
diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile
index 6790c463920..f569a9650f3 100644
--- a/cad/ghdl/Makefile
+++ b/cad/ghdl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/05/19 16:05:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.10 2022/09/22 11:47:14 wiz Exp $
DISTNAME= ghdl-2.0.0
CATEGORIES= cad
@@ -25,7 +25,7 @@ REPLACE_BASH= scripts/vendors/*.sh
## because Ada language would not accept symbols start with '_'.
#.include "../../mk/bsd.prefs.mk"
#.if ${OPSYS} == "NetBSD"
-#SUBST_CLASSES+= time
+#SUBST_CLASSES+= time
#SUBST_STAGE.time= pre-configure
#SUBST_MESSAGE.time= Use correct functions in time.h
#SUBST_FILES.time+= src/grt/grt-vcd.adb
diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo
index 880bdf8621a..c9cc561c8ae 100644
--- a/cad/ghdl/distinfo
+++ b/cad/ghdl/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2022/05/19 16:05:11 ryoon Exp $
+$NetBSD: distinfo,v 1.7 2022/09/22 11:47:14 wiz Exp $
BLAKE2s (ghdl-2.0.0.tar.gz) = a3297be935cd7a25f9003810c2a0895162ac3ead5d83fe61b4b15fac1ff415d8
SHA512 (ghdl-2.0.0.tar.gz) = f4474a7916f9cc5cce976d0b4620d1441c377d72b749867b170397bf62d534983b37d4fc9bb31ef85e40eb7beb9b3a681a7ac32931f665934b357e97e74be6da
Size (ghdl-2.0.0.tar.gz) = 6825565 bytes
-SHA1 (patch-configure) = 6dc7a5240c3ba00be232472d1c0c417e97531fe1
+SHA1 (patch-configure) = fc358c33df2272a0bfaab9fbe334f24365da149b
SHA1 (patch-src_ortho_mcode_memsegs__c.c) = 5669dda0130ade50caf7538c3f2c6cfed061ac5b
diff --git a/cad/ghdl/patches/patch-configure b/cad/ghdl/patches/patch-configure
index 5dbb5715127..b994c3c4e4f 100644
--- a/cad/ghdl/patches/patch-configure
+++ b/cad/ghdl/patches/patch-configure
@@ -1,10 +1,20 @@
-$NetBSD: patch-configure,v 1.1 2022/05/19 16:05:12 ryoon Exp $
+$NetBSD: patch-configure,v 1.2 2022/09/22 11:47:14 wiz Exp $
+* Support llvm 14 & 15.
* Support NetBSD for mcode backend. (not used)
--- configure.orig 2022-02-28 18:46:53.000000000 +0000
+++ configure
-@@ -379,6 +379,7 @@ if test $backend = mcode; then
+@@ -281,6 +281,8 @@ if test $backend = llvm; then
+ check_version 11.1 $llvm_version ||
+ check_version 12.0 $llvm_version ||
+ check_version 13.0 $llvm_version ||
++ check_version 14.0 $llvm_version ||
++ check_version 15.0 $llvm_version ||
+ false; then
+ echo "Debugging is enabled with llvm $llvm_version"
+ else
+@@ -379,6 +381,7 @@ if test $backend = mcode; then
*mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
*linux*) ortho_flags="Flags_Linux${mcode64}" ;;
*openbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;