Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153413738
D56078.id174283.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
D56078.id174283.diff
View Options
diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile
--- a/cad/ghdl/Makefile
+++ b/cad/ghdl/Makefile
@@ -1,11 +1,12 @@
PORTNAME= ghdl
DISTVERSIONPREFIX= v
-DISTVERSION= 5.1.1
+DISTVERSION= 6.0.0
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
COMMENT= GNU VHDL simulator
-WWW= https://github.com/ghdl/ghdl
+WWW= http://ghdl.free.fr/ \
+ https://github.com/ghdl/ghdl/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.md
@@ -39,23 +40,13 @@
LLVM_USES= llvm:lib ncurses
LLVM_CONFIGURE_ON= --with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVM_VERSION}
-SYNTH_CONFIGURE_ON= --enable-synth
+SYNTH_CONFIGURE_OFF= --disable-synth
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libghdl-${DISTVERSION:S/./_/g}.so
+ cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/ghdl bin/ghwdump lib/*.so
post-install-LLVM-on:
- @${STRIP_CMD} \
- ${STAGEDIR}${PREFIX}/bin/ghdl \
- ${STAGEDIR}${PREFIX}/bin/ghwdump \
- ${STAGEDIR}${PREFIX}/bin/ghdl1-llvm \
- ${STAGEDIR}${PREFIX}/lib/libghdlvpi.so \
- ${STAGEDIR}${PREFIX}/lib/libghw.so
-
-post-install-MCODE-on:
- @${STRIP_CMD} \
- ${STAGEDIR}${PREFIX}/bin/ghdl \
- ${STAGEDIR}${PREFIX}/lib/libghdlvpi.so
+ cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/ghdl1-llvm
do-test:
@cd ${WRKSRC}/testsuite && \
diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo
--- a/cad/ghdl/distinfo
+++ b/cad/ghdl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758491532
-SHA256 (ghdl-ghdl-v5.1.1_GH0.tar.gz) = 00cd58ec8f25e2532465aabc8705f43071f20dc1d13e03fd9dc235523186fca9
-SIZE (ghdl-ghdl-v5.1.1_GH0.tar.gz) = 7894213
+TIMESTAMP = 1774420714
+SHA256 (ghdl-ghdl-v6.0.0_GH0.tar.gz) = 2d84fbd0b238a26928e89a0256274072c6b40af1969a4f4c7be57ec3515bc622
+SIZE (ghdl-ghdl-v6.0.0_GH0.tar.gz) = 8056568
diff --git a/cad/ghdl/files/patch-Makefile.in b/cad/ghdl/files/patch-Makefile.in
--- a/cad/ghdl/files/patch-Makefile.in
+++ b/cad/ghdl/files/patch-Makefile.in
@@ -1,8 +1,8 @@
Allow setting rpath to libgnat-12.so, because it isn't added to ldconfig directories.
---- Makefile.in.orig 2025-03-01 16:49:42 UTC
+--- Makefile.in.orig 2026-03-07 17:47:40 UTC
+++ Makefile.in
-@@ -485,7 +485,7 @@ lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJ
+@@ -490,7 +490,7 @@ lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJ
lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJS) version.ads force
# Use -g for gnatlink so that the binder file is not removed. We need
# it for libghdl.a
diff --git a/cad/ghdl/files/patch-configure b/cad/ghdl/files/patch-configure
--- a/cad/ghdl/files/patch-configure
+++ b/cad/ghdl/files/patch-configure
@@ -1,4 +1,4 @@
---- configure.orig 2025-03-01 16:49:42 UTC
+--- configure.orig 2026-03-07 17:47:40 UTC
+++ configure
@@ -140,8 +140,6 @@ for opt do
--enable-coverage) build_mode="coverage";;
@@ -9,7 +9,7 @@
;;
esac
done
-@@ -437,6 +435,7 @@ if test $backend = mcode; then
+@@ -440,6 +438,7 @@ if test $backend = mcode; then
*darwin*) ortho_flags="Flags_Macosx${mcode64}" ;;
*mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
*linux*) ortho_flags="Flags_Linux${mcode64}" ;;
diff --git a/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c b/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c
--- a/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c
+++ b/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c
@@ -1,4 +1,4 @@
---- src/ortho/mcode/memsegs_c.c.orig 2022-02-28 18:46:53 UTC
+--- src/ortho/mcode/memsegs_c.c.orig 2026-03-07 17:47:40 UTC
+++ src/ortho/mcode/memsegs_c.c
@@ -26,7 +26,7 @@
set rights.
@@ -7,5 +7,5 @@
-#if defined(__APPLE__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
#define MAP_ANONYMOUS MAP_ANON
- #else
- #define HAVE_MREMAP
+ #elif defined(__NetBSD__)
+ /* none */
diff --git a/cad/ghdl/pkg-plist b/cad/ghdl/pkg-plist
--- a/cad/ghdl/pkg-plist
+++ b/cad/ghdl/pkg-plist
@@ -49,6 +49,39 @@
%%LLVM%%lib/ghdl/ieee/v08/timing_p.o
%%LLVM%%lib/ghdl/ieee/v08/upf-body.o
%%LLVM%%lib/ghdl/ieee/v08/upf.o
+%%LLVM%%lib/ghdl/ieee/v19/fixed_float_types.o
+%%LLVM%%lib/ghdl/ieee/v19/fixed_generic_pkg-body.o
+%%LLVM%%lib/ghdl/ieee/v19/fixed_generic_pkg.o
+%%LLVM%%lib/ghdl/ieee/v19/fixed_pkg.o
+%%LLVM%%lib/ghdl/ieee/v19/float_generic_pkg-body.o
+%%LLVM%%lib/ghdl/ieee/v19/float_generic_pkg.o
+%%LLVM%%lib/ghdl/ieee/v19/float_pkg.o
+lib/ghdl/ieee/v19/ieee-obj19.cf
+%%LLVM%%lib/ghdl/ieee/v19/ieee_bit_context.o
+%%LLVM%%lib/ghdl/ieee/v19/ieee_std_context.o
+%%LLVM%%lib/ghdl/ieee/v19/math_complex-body.o
+%%LLVM%%lib/ghdl/ieee/v19/math_complex.o
+%%LLVM%%lib/ghdl/ieee/v19/math_real-body.o
+%%LLVM%%lib/ghdl/ieee/v19/math_real.o
+%%LLVM%%lib/ghdl/ieee/v19/memory_b.o
+%%LLVM%%lib/ghdl/ieee/v19/memory_p.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_bit-body.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_bit.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_bit_unsigned-body.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_bit_unsigned.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_std-body.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_std.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_std_unsigned-body.o
+%%LLVM%%lib/ghdl/ieee/v19/numeric_std_unsigned.o
+%%LLVM%%lib/ghdl/ieee/v19/prmtvs_b.o
+%%LLVM%%lib/ghdl/ieee/v19/prmtvs_p.o
+%%LLVM%%lib/ghdl/ieee/v19/std_logic_1164-body.o
+%%LLVM%%lib/ghdl/ieee/v19/std_logic_1164.o
+%%LLVM%%lib/ghdl/ieee/v19/std_logic_textio.o
+%%LLVM%%lib/ghdl/ieee/v19/timing_b.o
+%%LLVM%%lib/ghdl/ieee/v19/timing_p.o
+%%LLVM%%lib/ghdl/ieee/v19/upf-body.o
+%%LLVM%%lib/ghdl/ieee/v19/upf.o
lib/ghdl/ieee/v87/ieee-obj87.cf
%%LLVM%%lib/ghdl/ieee/v87/numeric_bit-body.o
%%LLVM%%lib/ghdl/ieee/v87/numeric_bit.o
@@ -135,11 +168,15 @@
lib/ghdl/src/ieee2008/std_logic_1164-body.vhdl
lib/ghdl/src/ieee2008/std_logic_1164.vhdl
lib/ghdl/src/ieee2008/std_logic_textio.vhdl
-lib/ghdl/src/std/env-body.vhdl
-lib/ghdl/src/std/env.vhdl
+lib/ghdl/src/std/v08/env-body.vhdl
+lib/ghdl/src/std/v08/env.vhdl
lib/ghdl/src/std/v08/standard.vhdl
lib/ghdl/src/std/v08/textio-body.vhdl
lib/ghdl/src/std/v08/textio.vhdl
+lib/ghdl/src/std/v19/env-body.vhdl
+lib/ghdl/src/std/v19/env.vhdl
+lib/ghdl/src/std/v19/textio-body.vhdl
+lib/ghdl/src/std/v19/textio.vhdl
lib/ghdl/src/std/v87/standard.vhdl
lib/ghdl/src/std/v87/textio-body.vhdl
lib/ghdl/src/std/v87/textio.vhdl
@@ -172,6 +209,12 @@
%%LLVM%%lib/ghdl/std/v08/std_standard.o
%%LLVM%%lib/ghdl/std/v08/textio-body.o
%%LLVM%%lib/ghdl/std/v08/textio.o
+%%LLVM%%lib/ghdl/std/v19/env-body.o
+%%LLVM%%lib/ghdl/std/v19/env.o
+lib/ghdl/std/v19/std-obj19.cf
+%%LLVM%%lib/ghdl/std/v19/std_standard.o
+%%LLVM%%lib/ghdl/std/v19/textio-body.o
+%%LLVM%%lib/ghdl/std/v19/textio.o
lib/ghdl/std/v87/std-obj87.cf
%%LLVM%%lib/ghdl/std/v87/std_standard.o
%%LLVM%%lib/ghdl/std/v87/textio-body.o
@@ -196,7 +239,7 @@
lib/ghdl/vendors/filter.analyze.sh
lib/ghdl/vendors/shared.psm1
lib/ghdl/vendors/shared.sh
-lib/libghdl-5_1_1.so
+lib/libghdl-6_0_0.so
lib/libghdl.a
lib/libghdl.link
lib/libghdlvpi.so
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 12:54 AM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31913500
Default Alt Text
D56078.id174283.diff (6 KB)
Attached To
Mode
D56078: cad/ghdl: Update 5.1.1 => 6.0.0
Attached
Detach File
Event Timeline
Log In to Comment