From nobody Tue Nov 21 20:12:42 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 4SZbCG42llz52DC1; Tue, 21 Nov 2023 20:12:42 +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 4SZbCG2rvbz3JX0; Tue, 21 Nov 2023 20:12:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700597562; 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=BQygawgsaVaiopFiu7coWhmFSkpagB/xDk/2G4rFzzM=; b=fHR/HI5UFqKLO8nuQNRAn2zlh72xT9xA7doYu18OzrBw9btijyhc1LscVMHmAMr4Nu1Hl2 MnlsB9vv0quT3MBkTdp9TrHUH3t9X8vgEqW50ce6ZCrhfb7Qqjs1SLOmIP6ceTb5m1Hr4+ XdKJn8JYiwVV6aVQHfR0okqGSdGcLHyl/RE7Yao0sflGHf2FMgY9ybh+3lbm4/dBTJrPP1 aQ8eSLY15+6pCz2LTJC9EWPHasho9mJ4w3iieQ7I9YbuPLFQAOdatTlKFVpZjPsKi2Kz2f NOU3FSck4O6tE9T4Dv2VDN2f4Hpulx1bE6DG2IUH8082wZVbg1JITawnunJZgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700597562; 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=BQygawgsaVaiopFiu7coWhmFSkpagB/xDk/2G4rFzzM=; b=Ye6y/9OMhVwYyBrIqyTLohttjO7PmLqsC+NMNBHkLm3ocnLzWTX4oyaqSk4bHjN5KFmKD4 +IjJPXEbhN8lHCdqSpXpQsmzsJ0VkKFaSidtryWgjwQ85QZQzbEKR0Xlql3iTJqe5IADKZ k4uoCqqyG4yp1zONSiuGjEiucswiOcHZU4OLmf4mGM48PRiI/jvs9XR/FEF8ZwRrlawr2q Qm7nEu0LLLljxCDtgmip0ureSfDwGHChaWeBjKhb2HfBq6XJgFa9bSgwBEWm6oblX7EsIk Fenu2Vq+7HZbniF1qiP3SYTN0DYntR833ElxAqYxyJolhNj6V3ECCwcz1edqnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700597562; a=rsa-sha256; cv=none; b=X5F8EEc+J/FKsjj/ZBTrt9l7GIB58i7zig4G5+2hG9TmXpsU+Y1dvzB+fPl8AjYmRwSbjG iUe58ki6AmTFWwOqzzjtgLQdac8covQ3DfUN2UyQvNXwSHgA8rzIrwH3Bcd0Mubw6z8DUx 34zBSGnRshc8xibs0dIockIWNOHuFBjrpOw3qBSRGjR8AP5gPZp60xifjq3EORVHEBv6Ay il7GwRG0eVoxFObPjjiXYhZxJeRF3CPJbANyRFAHELRydWo9jSXhbxzurjGLdDO5c1Vh2u wkNgSrQY7xFahlrAZVc8UzlC6eykUYcIZv87bRIKc/cbVLF3SWL2MZI6qGQ5Zg== 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 4SZbCG1MhMzq1F; Tue, 21 Nov 2023 20:12:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ALKCg2H013060; Tue, 21 Nov 2023 20:12:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ALKCgem013058; Tue, 21 Nov 2023 20:12:42 GMT (envelope-from git) Date: Tue, 21 Nov 2023 20:12:42 GMT Message-Id: <202311212012.3ALKCgem013058@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: fd8e54173e14 - main - cad/freehdl: resurrect 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd8e54173e14fde9513249909dfe2996be413581 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd8e54173e14fde9513249909dfe2996be413581 commit fd8e54173e14fde9513249909dfe2996be413581 Author: Thierry Thomas AuthorDate: 2023-11-21 20:01:18 +0000 Commit: Thierry Thomas CommitDate: 2023-11-21 20:09:59 +0000 cad/freehdl: resurrect --- MOVED | 1 - cad/Makefile | 1 + cad/freehdl/Makefile | 26 +++++ cad/freehdl/distinfo | 3 + cad/freehdl/files/patch-freehdl_kernel-db.hh | 15 +++ cad/freehdl/files/patch-freehdl_kernel-sig-info.hh | 13 +++ cad/freehdl/files/patch-freehdl_kernel-util.hh | 15 +++ cad/freehdl/files/patch-freehdl_std-vhdl-types.hh | 11 +++ cad/freehdl/files/patch-kernel_driver__info.cc | 37 +++++++ cad/freehdl/files/patch-kernel_fhdl__stream.cc | 10 ++ cad/freehdl/files/patch-vaul_dunit.cc | 10 ++ cad/freehdl/files/patch-vaul_pool.cc | 10 ++ cad/freehdl/pkg-descr | 3 + cad/freehdl/pkg-plist | 109 +++++++++++++++++++++ 14 files changed, 263 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index a08a1865fda1..0b9f58270d96 100644 --- a/MOVED +++ b/MOVED @@ -8088,5 +8088,4 @@ devel/mingw32-bin-msvcrt||2023-11-21|Has expired: Last upstream release was in 2 devel/mingw32-zlib||2023-11-21|Has expired: Last upstream release was in 2014 and project mingw32 is defunct devel/mingw32-gcc||2023-11-21|Has expired: Upstream release was in 2015 and mingw32 project is defunct www/guile-www||2023-11-21|Has expired: Last upstream release was in 2002 and no longer relevant nowadays -cad/freehdl||2023-11-21|Has expired: Upstream vaporized and SF site do not have dists anymore x11-toolkits/wlroots-devel|x11-toolkits/wlroots|2023-11-21|Out of date: use x11-toolkits/wlroots for now diff --git a/cad/Makefile b/cad/Makefile index 756d5302933c..84e61e892167 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -33,6 +33,7 @@ SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad + SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d SUBDIR += gdscpp diff --git a/cad/freehdl/Makefile b/cad/freehdl/Makefile new file mode 100644 index 000000000000..6ba41c6d66e6 --- /dev/null +++ b/cad/freehdl/Makefile @@ -0,0 +1,26 @@ +PORTNAME= freehdl +PORTVERSION= 0.0.7 +PORTREVISION= 10 +CATEGORIES= cad +MASTER_SITES= http://freehdl.seul.org/~enaroska/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Free VHDL simulator +WWW= http://www.freehdl.seul.org/ + +USES= gmake pathfix libtool makeinfo perl5 pkgconfig +USE_LDCONFIG= yes +USE_GCC= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= SYSTEM_LIBTOOL=${FALSE} +INSTALL_TARGET= install-strip + +# Bug 219297: GCC 6 changed its default from -std=gnu++98 to -std=gnu++14, and +# this port's code is not compatible with C++11. Since the project looks +# abandoned upstream, it makes more sense to just continue building with an +# older C++ standard. +USE_CXXSTD= gnu++98 + +INFO= fire + +.include diff --git a/cad/freehdl/distinfo b/cad/freehdl/distinfo new file mode 100644 index 000000000000..ea017ab80e81 --- /dev/null +++ b/cad/freehdl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700588581 +SHA256 (freehdl-0.0.7.tar.gz) = b12f2066d856d03e8abc0d93d6ba566b9c55b18e60d47614106c64030324d2de +SIZE (freehdl-0.0.7.tar.gz) = 1394351 diff --git a/cad/freehdl/files/patch-freehdl_kernel-db.hh b/cad/freehdl/files/patch-freehdl_kernel-db.hh new file mode 100644 index 000000000000..effb1d35d4f2 --- /dev/null +++ b/cad/freehdl/files/patch-freehdl_kernel-db.hh @@ -0,0 +1,15 @@ +--- freehdl/kernel-db.hh.orig 2013-04-30 20:25:10.000000000 +0000 ++++ freehdl/kernel-db.hh +@@ -254,10 +254,10 @@ public: + + // A hash function template used tp generate a hash number from + // d +-class db_basic_key_hash : public hash { ++class db_basic_key_hash : public __gnu_cxx::hash { + public: + size_t operator()(const db_basic_key& x) const { +- return (*(hash *)this)(((unsigned long)x.value)>>2); ++ return (*(__gnu_cxx::hash *)this)(((unsigned long)x.value)>>2); + } + }; + diff --git a/cad/freehdl/files/patch-freehdl_kernel-sig-info.hh b/cad/freehdl/files/patch-freehdl_kernel-sig-info.hh new file mode 100644 index 000000000000..2c178a3c3cf3 --- /dev/null +++ b/cad/freehdl/files/patch-freehdl_kernel-sig-info.hh @@ -0,0 +1,13 @@ +--- freehdl/kernel-sig-info.hh.orig 2013-02-25 17:49:33.000000000 +0000 ++++ freehdl/kernel-sig-info.hh +@@ -164,10 +164,6 @@ templateclass sig_info : public + type_info_interface *type, char attr, sig_info_base *base_sig, + acl *aclp, vtime delay, void *sr) : + sig_info_base(iname, n, sln, type, attr, base_sig, aclp, delay, sr) {}; +- /* Constructor to instantiate a guard signal */ +- sig_info(name_stack &iname, const char *n, const char *sln, +- void *reader, void *sr) : +- sig_info_base(iname, n, sln, reader, sr) {}; + /* Constructor to instantiate an alias signal */ + sig_info(name_stack &iname, const char *n, const char *sln, + type_info_interface *ty, sig_info_base *aliased_sig, diff --git a/cad/freehdl/files/patch-freehdl_kernel-util.hh b/cad/freehdl/files/patch-freehdl_kernel-util.hh new file mode 100644 index 000000000000..e6a583c8994a --- /dev/null +++ b/cad/freehdl/files/patch-freehdl_kernel-util.hh @@ -0,0 +1,15 @@ +--- freehdl/kernel-util.hh.orig 2013-04-30 20:24:07.000000000 +0000 ++++ freehdl/kernel-util.hh +@@ -24,10 +24,10 @@ using namespace __gnu_cxx; + // A hash function template used tp generate a hash number from + // pointer values. + template +-class pointer_hash : public hash { ++class pointer_hash : public __gnu_cxx::hash { + public: + size_t operator()(const T& x) const { +- return (*(hash *)this)(((unsigned long)x)>>2); ++ return (*(__gnu_cxx::hash *)this)(((unsigned long)x)>>2); + } + }; + diff --git a/cad/freehdl/files/patch-freehdl_std-vhdl-types.hh b/cad/freehdl/files/patch-freehdl_std-vhdl-types.hh new file mode 100644 index 000000000000..86c821983761 --- /dev/null +++ b/cad/freehdl/files/patch-freehdl_std-vhdl-types.hh @@ -0,0 +1,11 @@ +--- freehdl/std-vhdl-types.hh.orig 2013-02-25 17:33:20.000000000 +0000 ++++ freehdl/std-vhdl-types.hh +@@ -1483,7 +1483,7 @@ A concat(array_info *ainfo, const A &a1, + new_array.info->add_ref(); + + /* Allocate memory for the data */ +- const int mem_size = length * ainfo->element_type->size(); ++ const int mem_size = length * ainfo->element_type->size; + new_array.data = (char*)internal_dynamic_alloc(mem_size); + + /* Note, scalar(...) can be evaluated at compile time. */ diff --git a/cad/freehdl/files/patch-kernel_driver__info.cc b/cad/freehdl/files/patch-kernel_driver__info.cc new file mode 100644 index 000000000000..8ef5a57e5276 --- /dev/null +++ b/cad/freehdl/files/patch-kernel_driver__info.cc @@ -0,0 +1,37 @@ +--- kernel/driver_info.cc.orig 2013-02-25 17:38:05.000000000 +0000 ++++ kernel/driver_info.cc +@@ -268,6 +268,7 @@ do_scalar_inertial_assignment(driver_inf + ************************************************************************* + *************************************************************************/ + ++inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &); + + // Creates transaction composite signals. Returns number of assigned scalars. + inline int +@@ -311,7 +312,6 @@ do_array_transport_assignment(driver_inf + assigned_scalars += do_array_transport_assignment(driver, (array_base&)value.data[j], i, tr_time); + break; + case RECORD: +- inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &); + assigned_scalars += do_record_transport_assignment(driver, (record_base&)value.data[j], i, tr_time); + break; + } +@@ -338,6 +338,9 @@ driver_info::transport_assign(const arra + } + + ++inline int do_record_inertial_assignment(driver_info &, const record_base &, int, ++ const vtime &, const vtime &); ++ + // Creates transaction for composite signals. Returns number of assigned scalars. + inline int + do_array_inertial_assignment(driver_info &driver, +@@ -381,8 +384,6 @@ do_array_inertial_assignment(driver_info + assigned_scalars += do_array_inertial_assignment(driver, (array_base&)value.data[j], i, tr_time, rm_time); + break; + case RECORD: +- inline int do_record_inertial_assignment(driver_info &, const record_base &, int, +- const vtime &, const vtime &); + assigned_scalars += do_record_inertial_assignment(driver, (record_base&)value.data[j], i, tr_time, rm_time); + break; + } diff --git a/cad/freehdl/files/patch-kernel_fhdl__stream.cc b/cad/freehdl/files/patch-kernel_fhdl__stream.cc new file mode 100644 index 000000000000..ad35d23f3bed --- /dev/null +++ b/cad/freehdl/files/patch-kernel_fhdl__stream.cc @@ -0,0 +1,10 @@ +--- kernel/fhdl_stream.cc.orig 2006-01-12 08:05:01.000000000 +0000 ++++ kernel/fhdl_stream.cc +@@ -2,6 +2,7 @@ + #if HAVE_UNISTD_H + #include + #endif ++#include + #include + #include + #include diff --git a/cad/freehdl/files/patch-vaul_dunit.cc b/cad/freehdl/files/patch-vaul_dunit.cc new file mode 100644 index 000000000000..0c63a18e6dd4 --- /dev/null +++ b/cad/freehdl/files/patch-vaul_dunit.cc @@ -0,0 +1,10 @@ +--- vaul/dunit.cc.orig 2005-12-14 08:23:06.000000000 +0000 ++++ vaul/dunit.cc +@@ -27,6 +27,7 @@ + + #include + #include ++#include + #if HAVE_MALLOC_H + #include + #endif diff --git a/cad/freehdl/files/patch-vaul_pool.cc b/cad/freehdl/files/patch-vaul_pool.cc new file mode 100644 index 000000000000..96ee5a642026 --- /dev/null +++ b/cad/freehdl/files/patch-vaul_pool.cc @@ -0,0 +1,10 @@ +--- vaul/pool.cc.orig 2005-12-14 08:23:06.000000000 +0000 ++++ vaul/pool.cc +@@ -24,6 +24,7 @@ + #include + #include + ++#include + #if HAVE_MALLOC_H + #include + #endif diff --git a/cad/freehdl/pkg-descr b/cad/freehdl/pkg-descr new file mode 100644 index 000000000000..12a4cc5a7155 --- /dev/null +++ b/cad/freehdl/pkg-descr @@ -0,0 +1,3 @@ +The goals of the FreeHDL project are to develop a VHDL simulator that has +a graphical waveform viewer and a source level debugger. It also aims at +VHDL-93 compliancy. The project is at a very early development stage. diff --git a/cad/freehdl/pkg-plist b/cad/freehdl/pkg-plist new file mode 100644 index 000000000000..16cc2dde07b3 --- /dev/null +++ b/cad/freehdl/pkg-plist @@ -0,0 +1,109 @@ +bin/freehdl-config +bin/freehdl-gennodes +bin/freehdl-v2cc +bin/gvhdl +include/freehdl/fire-types.h +include/freehdl/fire-chunk.t +include/freehdl/fire-chunk.h +include/freehdl/tree-supp.h +include/freehdl/fire.h +include/freehdl/vaul-creator-base.h +include/freehdl/vaul-dfile.h +include/freehdl/vaul-dunit.h +include/freehdl/vaul-dynarray.h +include/freehdl/vaul-errors.h +include/freehdl/vaul-lexer.h +include/freehdl/vaul-list.h +include/freehdl/vaul-mempool.h +include/freehdl/vaul-parser.h +include/freehdl/vaul-pool.h +include/freehdl/vaul-printer.h +include/freehdl/vaul-ref.h +include/freehdl/vaul-types.h +include/freehdl/vaul-util.h +include/freehdl/vaul-chunk.t +include/freehdl/vaul-chunk.h +include/freehdl/vaul.h +include/freehdl/FlexLexer.h +include/freehdl/cdfggen-chunk.t +include/freehdl/cdfggen-chunk.h +include/freehdl/kernel-acl.hh +include/freehdl/kernel-classes.hh +include/freehdl/kernel-driver-info.hh +include/freehdl/kernel-error.hh +include/freehdl/kernel-flags.hh +include/freehdl/kernel-global-event-queue.hh +include/freehdl/kernel-handle-info.hh +include/freehdl/kernel-handle.hh +include/freehdl/kernel-kernel-class.hh +include/freehdl/kernel-list.hh +include/freehdl/kernel-map-list.hh +include/freehdl/kernel-name-stack.hh +include/freehdl/kernel-pcounter.hh +include/freehdl/kernel-process-base.hh +include/freehdl/kernel.h +include/freehdl/kernel-delayed-procedure-base.hh +include/freehdl/kernel-reader-info.hh +include/freehdl/kernel-sig-info.hh +include/freehdl/kernel-sigacl-list.hh +include/freehdl/kernel-wait-info.hh +include/freehdl/kernel-winfo-item.hh +include/freehdl/kernel-attributes.hh +include/freehdl/kernel-dump.hh +include/freehdl/kernel-util.hh +include/freehdl/kernel-fhdl-stream.hh +include/freehdl/kernel-register.hh +include/freehdl/kernel-resolver-process.hh +include/freehdl/kernel-resolver-descriptor.hh +include/freehdl/kernel-source-descriptor.hh +include/freehdl/kernel-signal-source-list-array.hh +include/freehdl/std.h +include/freehdl/kernel-persistent-dump.hh +include/freehdl/kernel-persistent-cdfg-dump.hh +include/freehdl/kernel-Xinfo-kind.hh +include/freehdl/kernel-Xinfo-data-descriptor.hh +include/freehdl/kernel-stack-trace.hh +include/freehdl/kernel-db.hh +include/freehdl/std-memory.hh +include/freehdl/std-standard.hh +include/freehdl/std-vhdl-types.hh +lib/libfreehdl-fire.so.0.0.0 +lib/libfreehdl-fire.so.0 +lib/libfreehdl-fire.so +lib/libfreehdl-fire.a +lib/libfreehdl-vaul.so.0.0.0 +lib/libfreehdl-vaul.so.0 +lib/libfreehdl-vaul.so +lib/libfreehdl-vaul.a +lib/libfreehdl-kernel.so.0.0.0 +lib/libfreehdl-kernel.so.0 +lib/libfreehdl-kernel.so +lib/libfreehdl-kernel.a +lib/libfreehdl-std.so.0.0.0 +lib/libfreehdl-std.so.0 +lib/libfreehdl-std.so +lib/libfreehdl-std.a +lib/freehdl/libieee.so.0.0.0 +lib/freehdl/libieee.so.0 +lib/freehdl/libieee.so +lib/freehdl/libieee.a +lib/libfreehdl-cdfggen.so.0.0.0 +lib/libfreehdl-cdfggen.so.0 +lib/libfreehdl-cdfggen.so +lib/libfreehdl-cdfggen.a +man/man1/freehdl-config.1.gz +man/man1/freehdl-gennodes.1.gz +man/man1/freehdl-v2cc.1.gz +man/man1/gvhdl.1.gz +man/man5/v2cc.libs.5.gz +%%DATADIR%%/lib/std/standard.vhdl +%%DATADIR%%/lib/std/textio.vhdl +%%DATADIR%%/lib/ieee/std_logic_1164.vhdl +%%DATADIR%%/lib/ieee/numeric_std.vhdl +%%DATADIR%%/lib/ieee/numeric_bit.vhdl +%%DATADIR%%/lib/ieee/std_logic_signed.vhdl +%%DATADIR%%/lib/ieee/std_logic_unsigned.vhdl +%%DATADIR%%/lib/ieee/std_logic_arith.vhdl +%%DATADIR%%/lib/ieee/math_real.vhdl +%%DATADIR%%/lib/ieee/vital_timing.vhdl +libdata/pkgconfig/freehdl.pc