commit:     739aa3167124d2a6afe19dd17fba26568f365b4f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 11:30:48 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 11:34:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739aa316

sci-electronics/vbs: treeclean

Bug: https://bugs.gentoo.org/725472
Bug: https://bugs.gentoo.org/878061
Bug: https://bugs.gentoo.org/879759
Bug: https://bugs.gentoo.org/880493
Bug: https://bugs.gentoo.org/882223
Bug: https://bugs.gentoo.org/888970
Bug: https://bugs.gentoo.org/900679
Bug: https://bugs.gentoo.org/934240
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 profiles/package.mask                              |   6 --
 sci-electronics/vbs/Manifest                       |   1 -
 .../vbs/files/vbs-1.4.0-const_cast.patch           |  11 ---
 sci-electronics/vbs/files/vbs-1.4.0-gcc-4.1.patch  | 105 ---------------------
 sci-electronics/vbs/files/vbs-1.4.0-gcc-4.3.patch  |  30 ------
 sci-electronics/vbs/metadata.xml                   |  13 ---
 sci-electronics/vbs/vbs-1.4.0.ebuild               |  40 --------
 7 files changed, 206 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index a611de5b108d..fd18c307232e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -285,12 +285,6 @@ sci-astronomy/predict
 # Removal on 2024-07-14.  Bugs #934242, #430816.
 net-misc/arpd
 
-# Arthur Zamarin <arthur...@gentoo.org> (2024-06-14)
-# EAPI=6, many compilation issues, upstream is gone, not maintained for
-# many years.
-# Removal on 2024-07-14.  Bugs #934240.
-sci-electronics/vbs
-
 # Arthur Zamarin <arthur...@gentoo.org> (2024-06-14)
 # EAPI=6, not maintained in Gentoo for a long time. procheck is
 # fetch restricted, and the file you download from upstream

diff --git a/sci-electronics/vbs/Manifest b/sci-electronics/vbs/Manifest
deleted file mode 100644
index 0ceb3941e1d8..000000000000
--- a/sci-electronics/vbs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST vbs-1.4.0.tar.gz 275974 BLAKE2B 
a2a3b9654edefb52e22be166650b17959a72e2b1b6c1bb25708b52c33b3f33476f10b542b553959ae2310a7adcb328d5fa129ac34c6c6b6e62ca0a8880b3ff68
 SHA512 
78320f650d8f9f558143d0c13fd47697a738f540fa5f6e8718e6e9fdef67f794189b18c214be68d19a9a745527b57abb54e94fadfc8e83289a95e1ae48e41384

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-electron...@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/.
-}

Reply via email to