diff options
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/Manifest.gz | bin | 8876 -> 8714 bytes | |||
-rw-r--r-- | sci-electronics/vbs/Manifest | 6 | ||||
-rw-r--r-- | sci-electronics/vbs/files/vbs-1.4.0-const_cast.patch | 11 | ||||
-rw-r--r-- | sci-electronics/vbs/files/vbs-1.4.0-gcc-4.1.patch | 105 | ||||
-rw-r--r-- | sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch | 30 | ||||
-rw-r--r-- | sci-electronics/vbs/metadata.xml | 13 | ||||
-rw-r--r-- | sci-electronics/vbs/vbs-1.4.0.ebuild | 40 |
7 files changed, 0 insertions, 205 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz Binary files differindex c5e68a6f2cb4..0dfa2c0c163e 100644 --- a/sci-electronics/Manifest.gz +++ b/sci-electronics/Manifest.gz diff --git a/sci-electronics/vbs/Manifest b/sci-electronics/vbs/Manifest deleted file mode 100644 index c5044d0320fb..000000000000 --- a/sci-electronics/vbs/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX vbs-1.4.0-const_cast.patch 295 BLAKE2B 446553c415a05df0d4fc94fd50145d47fd56af215f4dd6b00175e260ee12e854c7f0c272e052ad1ab6cfd63fc511e52f6b7cd2ce808c2ae58659ab98c1b23c59 SHA512 4ea4545d1e6c19c0648f9cff426c8af7aed22af59998c47e8bd4d23cbfdc09534b017ad996143ee079ca34c712afcecc2fc7b2ad706e684b017d6737175905e9 -AUX vbs-1.4.0-gcc-4.1.patch 2606 BLAKE2B f5bf38ba6a943011847cedc9a6a5f1a36c12839f9e29648052066380e796a92585122fb88552d120bea1e6645b1adbffda2ae31f24a67244c622da1f0f1b6f60 SHA512 e6c59f855b88a2f2057c4409824ba6febd58473f1ddf7a9390b030dabbab53f8ce67d3c8e8b1f551a6cc219634649f542a740b7c5bafeaa7c46a92feef1e254b -AUX vbs-1.4.0-gcc-4.3.patch 512 BLAKE2B d5b6a7123446db98cf3b31bc49b2e567e8c0a4804add662f87f68d84d15fd85031144cf536c33f6dcd628e3bd16eab137cee84efbe0d1f4eaf7db6948124cf3c SHA512 49e76e1cccbbe2171f0b821aa2c8a45666388331c5a8df378a255556bd534654e3c6135b77237ec734ab0a130c2db754166a367dd538860dd9ecf1ca8a057cfd -DIST vbs-1.4.0.tar.gz 275974 BLAKE2B a2a3b9654edefb52e22be166650b17959a72e2b1b6c1bb25708b52c33b3f33476f10b542b553959ae2310a7adcb328d5fa129ac34c6c6b6e62ca0a8880b3ff68 SHA512 78320f650d8f9f558143d0c13fd47697a738f540fa5f6e8718e6e9fdef67f794189b18c214be68d19a9a745527b57abb54e94fadfc8e83289a95e1ae48e41384 -EBUILD vbs-1.4.0.ebuild 730 BLAKE2B 459719b0d29c80cfe3ebc3b57caa33d1710c164faba0b8f386cdd1e6b610391075bbc5b543cc50343d079528eb26d2c46d88e736f120413b92118b3ea2f01396 SHA512 40a8f7bd0a318bd10656dbe6eb034b22c9c091f8189711c782d33375b867697ba619feddcea17244c37b65e008d27a68719f289c9c3434566053cdb345ae85a4 -MISC metadata.xml 528 BLAKE2B 39f6531a355025c6428edc273194aff3947ad275499f50bf6563cc9650576511341856b874fd6008ce146a1c276fd489f2330d8d6c76beba38d1d2121707addf SHA512 208b4f63d4e14b22123203b2806da6a91215bc5fd899dfd0ecfabadc55bdd4ba9c391a0b138ee4083c84723b9e8a41694a4c1ddbf6a108032c1073464c8385d3 diff --git a/sci-electronics/vbs/files/vbs-1.4.0-const_cast.patch b/sci-electronics/vbs/files/vbs-1.4.0-const_cast.patch deleted file mode 100644 index 796aba52bb76..000000000000 --- a/sci-electronics/vbs/files/vbs-1.4.0-const_cast.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/common/scp_tab.cc -+++ b/common/scp_tab.cc -@@ -148,7 +148,7 @@ - nm.replace(0,top.length()+1,""); - const char * n = nm.c_str(); - size_t full, sub,diff; -- char * last_dot = strrchr(n,'.'); -+ char * last_dot = const_cast<char*>(strrchr(n,'.')); - char * ret = 0; - if (last_dot != 0) - { diff --git a/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.1.patch b/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.1.patch deleted file mode 100644 index b017e9e05dcf..000000000000 --- a/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.1.patch +++ /dev/null @@ -1,105 +0,0 @@ ---- a/common/bvector.h -+++ b/common/bvector.h -@@ -90,9 +90,9 @@ - size_type _size; // Size of this sub-bit vector. - - // Only bit_vector can create a sub_bit_vector object. -+ public: - sub_bit_vector(bit_vector &, const position_type, const position_type); - sub_bit_vector(const sub_bit_vector &); -- public: - sub_bit_vector &operator=(const sub_bit_vector &); - sub_bit_vector &operator=(const const_sub_bit_vector &); - sub_bit_vector &operator=(const bit_vector &); -@@ -116,8 +116,8 @@ - - // Only bit_vector can create a sub_bit_vector object. - const_sub_bit_vector(const bit_vector &, const position_type, const position_type); -- const_sub_bit_vector(const const_sub_bit_vector &); - public: -+ const_sub_bit_vector(const const_sub_bit_vector &); - size_type size() const - { return _size; } - ostream_type &info(ostream_type &) const; ---- a/common/logic.h -+++ b/common/logic.h -@@ -44,6 +44,10 @@ - { return (_state == HI) ? true : false; } - operator int() const - { return _state; } -+ -+ operator long int() const -+ { return _state; } -+ - operator char() const - { - switch (_state) ---- a/common/st_net.h -+++ b/common/st_net.h -@@ -133,4 +133,7 @@ - const st_net &_net; - }; - -+void entry_iovars(st_net::io_list &, st_net::arg_list &); -+void exit_iovars(st_net::io_list &, st_net::arg_list &); -+ - #endif // _ST_NET_H ---- a/expr/erdwr.cc -+++ b/expr/erdwr.cc -@@ -25,8 +25,9 @@ - expr_base * - read_expr::operator()() const - { -- VBSOBJ_EXPR_TYPE type; -- _in >> (int &) type; -+ int type_num = 0; -+ _in >> type_num; -+ VBSOBJ_EXPR_TYPE type = VBSOBJ_EXPR_TYPE(type_num); - long ln; - _in >> ln; - expr_base *expr = 0; ---- a/Makefile.in -+++ b/Makefile.in -@@ -329,13 +329,15 @@ - rm -f *.o - rm -f *.a - rm -f *.so -+ rm -f vbs - - clean-repo: - if test -d ptrepository; then rm -rf ptrepository; fi - rm -f *.rpo - - install: -- $(INSTALL) vbs $(bindir) -+ $(INSTALL) -d $(DESTDIR)$(bindir) -+ $(INSTALL) vbs $(DESTDIR)$(bindir) - - tarball: - @echo "===== Tar ball ======" ---- a/misc/mrdwr.cc -+++ b/misc/mrdwr.cc -@@ -21,8 +21,9 @@ - module * - read_module::operator()() const - { -- VBSOBJ_MISC_TYPE type; -- _in >> (int &) type; -+ int type_num = 0; -+ _in >> type_num; -+ VBSOBJ_MISC_TYPE type = VBSOBJ_MISC_TYPE(type_num); - if (type != VBSOBJ_MISC_MODULE) - { - vbs_err.set_data(vbs_error::SE_VBSOBJ, -1); -@@ -129,8 +130,9 @@ - port * - read_port::operator()() const - { -- VBSOBJ_MISC_TYPE type; -- _in >> (int &) type; -+ int type_num = 0; -+ _in >> type_num; -+ VBSOBJ_MISC_TYPE type = VBSOBJ_MISC_TYPE(type_num); - if (type != VBSOBJ_MISC_PORT) - { - vbs_err.set_data(vbs_error::SE_VBSOBJ, -1); diff --git a/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch b/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch deleted file mode 100644 index 1bb55d824e7a..000000000000 --- a/sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/common/dumpstrm.cc -+++ b/common/dumpstrm.cc -@@ -13,6 +13,7 @@ - - #include <cstdio> // sprintf - #include <iostream> -+#include <cstdlib> - #include "dumpstrm.h" - - using std::cerr; ---- a/common/logic.h -+++ b/common/logic.h -@@ -18,6 +18,7 @@ - - #ifndef _LOGIC_H - #define _LOGIC_H -+#include <cstdlib> - - class logic - { ---- a/common/bvector.h -+++ b/common/bvector.h -@@ -30,6 +30,7 @@ - #include <string> - #include <utility> - #include <iostream> -+#include <cstring> - #include "common/logic.h" - - class bit_vector diff --git a/sci-electronics/vbs/metadata.xml b/sci-electronics/vbs/metadata.xml deleted file mode 100644 index 400878cd0df2..000000000000 --- a/sci-electronics/vbs/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-electronics@gentoo.org</email> - <name>Gentoo Electronics Project</name> - </maintainer> - <longdescription> - This program is a simple implementation of a Verilog simulator. VBS tries to - implement all of the Verilog behavioral constructs that are synthesizable, but - still allow complex test vectors for simulation. - </longdescription> -</pkgmetadata> diff --git a/sci-electronics/vbs/vbs-1.4.0.ebuild b/sci-electronics/vbs/vbs-1.4.0.ebuild deleted file mode 100644 index 708c167a2fcf..000000000000 --- a/sci-electronics/vbs/vbs-1.4.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="vbs - the Verilog Behavioral Simulator" -HOMEPAGE="http://www.geda.seul.org/tools/vbs/index.html" -SRC_URI="http://www.geda.seul.org/dist/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - app-alternatives/lex - app-alternatives/yacc" -RDEPEND="" - -S="${WORKDIR}/${P}/src" -PATCHES=( - "${FILESDIR}"/${P}-gcc-4.1.patch - "${FILESDIR}"/${P}-gcc-4.3.patch - "${FILESDIR}"/${P}-const_cast.patch -) - -src_compile() { - emake -j1 vbs -} - -src_install() { - dobin vbs - cd .. || die - - einstalldocs - dodoc CHANGELOG* CONTRIBUTORS vbs.txt - - insinto /usr/share/${PF}/examples - doins -r EXAMPLES/. -} |