diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-26 09:20:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-26 09:20:02 +0000 |
commit | 191836bf2a26e0ad5bf6204ed6ea6aa67e31e9be (patch) | |
tree | 5384af29d49cf81b70e1eb9505c9ad40f629461e | |
parent | ecc16f287f94f681b17394676e1579716c4778e0 (diff) | |
download | pkgsrc-191836bf2a26e0ad5bf6204ed6ea6aa67e31e9be.tar.gz |
Make a number of copy constructors public and use C++.
-rw-r--r-- | cad/vipec/Makefile | 3 | ||||
-rw-r--r-- | cad/vipec/distinfo | 4 | ||||
-rw-r--r-- | cad/vipec/patches/patch-ab | 20 | ||||
-rw-r--r-- | cad/vipec/patches/patch-ac | 20 | ||||
-rw-r--r-- | cad/vipec/patches/patch-ad | 23 |
5 files changed, 68 insertions, 2 deletions
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile index e942742aee5..5b823aedeba 100644 --- a/cad/vipec/Makefile +++ b/cad/vipec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2006/04/17 13:46:18 wiz Exp $ +# $NetBSD: Makefile,v 1.47 2006/05/26 09:20:02 joerg Exp $ # DISTNAME= ViPEC-3.2.0 @@ -10,6 +10,7 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://vipec.sourceforge.net/ COMMENT= Network analyser for electrical networks +USE_LANGUAGES= c++ USE_TOOLS+= gmake UNLIMIT_RESOURCES+= datasize diff --git a/cad/vipec/distinfo b/cad/vipec/distinfo index 61d6119177c..beb7927390c 100644 --- a/cad/vipec/distinfo +++ b/cad/vipec/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.8 2005/02/23 14:59:26 agc Exp $ +$NetBSD: distinfo,v 1.9 2006/05/26 09:20:02 joerg Exp $ SHA1 (ViPEC-3.2.0.tar.gz) = 022bdd49effb22a64bf3da25ec1e48a072228ddf RMD160 (ViPEC-3.2.0.tar.gz) = b2452324b78e29bf7a33c7e5cf83116bf9a0550c Size (ViPEC-3.2.0.tar.gz) = 191819 bytes SHA1 (patch-aa) = 55ddfbddc0c7206961ed16a3ea242c1e0d285ec6 +SHA1 (patch-ab) = 6158ee0b5f767065828be8582cdcc574d729a132 +SHA1 (patch-ac) = 4a8dcc7bc73e56b5cf79e0b9f9e205b03c9c2263 diff --git a/cad/vipec/patches/patch-ab b/cad/vipec/patches/patch-ab new file mode 100644 index 00000000000..b7a582f36f5 --- /dev/null +++ b/cad/vipec/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.5 2006/05/26 09:20:03 joerg Exp $ + +--- include/Schematic.h.orig 2006-05-26 08:07:40.000000000 +0000 ++++ include/Schematic.h +@@ -41,6 +41,7 @@ public: + Schematic(); + virtual ~Schematic(); + Schematic& operator=( const Schematic& ); ++ Schematic( const Schematic& ); + + void setName(const QString& name); + const QString& getName() const; +@@ -92,7 +93,6 @@ public: + TComplex getPortImpedance( uint port ); + + private: +- Schematic( const Schematic& ); + + int distanceFromLine( const QPoint& point, + const CircuitLine& line, diff --git a/cad/vipec/patches/patch-ac b/cad/vipec/patches/patch-ac new file mode 100644 index 00000000000..761287b46a2 --- /dev/null +++ b/cad/vipec/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.8 2006/05/26 09:20:03 joerg Exp $ + +--- include/Component.h.orig 2006-05-26 08:12:35.000000000 +0000 ++++ include/Component.h +@@ -44,6 +44,7 @@ class QTextStream; + class Component : public SchematicElement + { + public: ++ Component( const Component& c ); + Component( const QPoint& center ); + virtual ~Component(); + +@@ -107,7 +108,6 @@ protected: + + private: + //Not implemented +- Component( const Component& c ); + Component& operator=( const Component& c ); + + void drawAttributes(QPainter* painter); diff --git a/cad/vipec/patches/patch-ad b/cad/vipec/patches/patch-ad new file mode 100644 index 00000000000..e957fda0269 --- /dev/null +++ b/cad/vipec/patches/patch-ad @@ -0,0 +1,23 @@ +$NetBSD: patch-ad,v 1.3 2006/05/26 09:20:03 joerg Exp $ + +--- include/DataVector.h.orig 2006-05-26 08:16:56.000000000 +0000 ++++ include/DataVector.h +@@ -34,6 +34,7 @@ public: + + DataVector(); + DataVector(uint Size); ++ DataVector(const DataVector& vector); + virtual ~DataVector(); + + DataVector& operator= (const DataVector& vector); +@@ -44,10 +45,6 @@ public: + void addPoint(TComplex value); + + private: +- DataVector(const DataVector& vector); +- +- +-private: + TComplex *vector_; + uint vectorSize_; + uint pointer_; |