summaryrefslogtreecommitdiff
path: root/math/kaskade/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/kaskade/files')
-rw-r--r--math/kaskade/files/Makefile8
-rw-r--r--math/kaskade/files/configure4
-rw-r--r--math/kaskade/files/patch-ab16
-rw-r--r--math/kaskade/files/patch-minigraph_configure11
-rw-r--r--math/kaskade/files/patch-sources::makefile.in13
-rw-r--r--math/kaskade/files/patch-sources_alloc.c63
-rw-r--r--math/kaskade/files/patch-sources_alloc.h12
-rw-r--r--math/kaskade/files/patch-sources_cmdpars.h11
-rw-r--r--math/kaskade/files/patch-sources_configure11
-rw-r--r--math/kaskade/files/patch-sources_dict.h11
-rw-r--r--math/kaskade/files/patch-sources_dlist.h11
-rw-r--r--math/kaskade/files/patch-sources_family.h11
-rw-r--r--math/kaskade/files/patch-sources_general.h.in13
-rw-r--r--math/kaskade/files/patch-sources_kvector.h32
-rw-r--r--math/kaskade/files/patch-sources_makefile.in11
-rw-r--r--math/kaskade/files/patch-sources_matrix.h35
-rw-r--r--math/kaskade/files/patch-sources_slist.h11
-rw-r--r--math/kaskade/files/patch-sources_stack.c143
-rw-r--r--math/kaskade/files/patch-sources_stack.h11
-rw-r--r--math/kaskade/files/patch-sources_utils.h15
-rw-r--r--math/kaskade/files/patch-sources_varalloc.cc11
-rw-r--r--math/kaskade/files/patch-sources_vector.c28
-rw-r--r--math/kaskade/files/patch-sources_vector.h31
23 files changed, 0 insertions, 523 deletions
diff --git a/math/kaskade/files/Makefile b/math/kaskade/files/Makefile
deleted file mode 100644
index b923e13b3175..000000000000
--- a/math/kaskade/files/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-# $FreeBSD$
-
-all:
- cd minigraph && $(MAKE)
- cd sources && $(MAKE)
-
-install:
- $(BSD_INSTALL_PROGRAM) sources/k6-freebsd-cc $(PREFIX)/bin/k6
diff --git a/math/kaskade/files/configure b/math/kaskade/files/configure
deleted file mode 100644
index 7aae54645201..000000000000
--- a/math/kaskade/files/configure
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-(cd minigraph && sh ./configure $*)
-(cd sources && sh ./configure $*)
diff --git a/math/kaskade/files/patch-ab b/math/kaskade/files/patch-ab
deleted file mode 100644
index f4c1b25e4c9d..000000000000
--- a/math/kaskade/files/patch-ab
+++ /dev/null
@@ -1,16 +0,0 @@
-$FreeBSD$
-
-*** sources/psdriv.cc.orig Tue Jul 8 23:53:37 1997
---- sources/psdriv.cc Tue Jul 8 23:53:43 1997
-***************
-*** 155,161 ****
---- 155,163 ----
- fprintf(graph->file, "%%!PS-Adobe-2.0\n"); // was 1.0
- fprintf(graph->file, "%%%%Title: %s\n", graph->fileName);
- fprintf(graph->file, "%%%%Creator: MiniGraphic\n");
-+ #ifndef __FreeBSD__
- fprintf(graph->file, "%%%%For: %s\n", cuserid(0));
-+ #endif
- time(&t);
- fprintf(graph->file, "%%%%CreationDate: %s", ctime(&t));
- fprintf(graph->file, "%%%%Pages: (atend)\n");
diff --git a/math/kaskade/files/patch-minigraph_configure b/math/kaskade/files/patch-minigraph_configure
deleted file mode 100644
index df4b2ba47621..000000000000
--- a/math/kaskade/files/patch-minigraph_configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- minigraph/configure~ Fri Apr 11 18:11:54 2003
-+++ minigraph/configure Wed Jan 17 06:48:23 2007
-@@ -2876,7 +2876,7 @@
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
--F77=f77
-+F77=%%F77%%
- AR=ar
- FFLAGS=
- CLDFLAGS=
diff --git a/math/kaskade/files/patch-sources::makefile.in b/math/kaskade/files/patch-sources::makefile.in
deleted file mode 100644
index 3c5c904e3463..000000000000
--- a/math/kaskade/files/patch-sources::makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- sources/makefile.in.orig Fri Nov 14 15:11:06 2003
-+++ sources/makefile.in Fri Nov 14 15:11:19 2003
-@@ -15,7 +15,7 @@
- CFLAGS = @CFLAGS@ -I$(INCDIR)
- CXXFLAGS = @CXXFLAGS@ -I$(INCDIR)
- FFLAGS = @FFLAGS@
--FCLIBS = @FCLIB@
-+FCLIBS = -lg2c @FCLIB@
- CLDFLAGS = @CLDFLAGS@
- FLDFLAGS = @FLDFLAGS@
- LIBS = $(FCLIBS) @X_LIBS@ @FCLIB@ @LIBS@
diff --git a/math/kaskade/files/patch-sources_alloc.c b/math/kaskade/files/patch-sources_alloc.c
deleted file mode 100644
index 4b4bd26269b9..000000000000
--- a/math/kaskade/files/patch-sources_alloc.c
+++ /dev/null
@@ -1,63 +0,0 @@
---- ./sources/alloc.c.orig Tue Dec 14 13:06:31 1999
-+++ ./sources/alloc.c Tue Aug 16 23:59:29 2005
-@@ -60,7 +60,7 @@
- ++noOfElementsInBlock;
- ++freeElement;
-
-- if (noOfElementsInBlock > maxElementsInBlock)
-+ if (noOfElementsInBlock > maxElementsInBlock)
- {
- if (noOfBlocksSinceIncrement > 100) // dynamic size extension
- {
-@@ -71,7 +71,7 @@
- MemoryBlock* newBlock = ::new MemoryBlock;
- if (newBlock == 0) allocationError();
-
-- newBlock->space = ::new T[maxElementsInBlock];
-+ newBlock->space = ::new T[maxElementsInBlock];
- if (newBlock->space == 0) allocationError();
-
- newBlock->next = lastBlock;
-@@ -97,19 +97,19 @@
- //-------------------------------------------------------------------------
-
- template<class T> Allocator<T>:: ~Allocator()
--{
-- MemoryBlock* toDel;
-+{
-+ typename StaticAllocator<T>::MemoryBlock* toDel;
-
-- while(lastBlock)
-+ while(this->lastBlock)
- {
-- toDel = lastBlock;
-- lastBlock = lastBlock->next;
-+ toDel = this->lastBlock;
-+ this->lastBlock = this->lastBlock->next;
- delete [] toDel->space;
- delete toDel;
- }
-
- int i;
-- FORALL(returnedElements,i) returnedElements[i] = 0;
-+ FORALL(this->returnedElements,i) this->returnedElements[i] = 0;
- }
- //-------------------------------------------------------------------------
-
-@@ -118,11 +118,11 @@
- {
- T* elem;
-
-- if (returnedElements.h == 0) elem = getFromBlock();
-- else
-- {
-- elem = returnedElements.pop();
-- elem->reset();
-+ if (this->returnedElements.h == 0) elem = this->getFromBlock();
-+ else
-+ {
-+ elem = this->returnedElements.pop();
-+ elem->reset();
- }
- return elem;
- }
diff --git a/math/kaskade/files/patch-sources_alloc.h b/math/kaskade/files/patch-sources_alloc.h
deleted file mode 100644
index f3cc76b829d8..000000000000
--- a/math/kaskade/files/patch-sources_alloc.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./sources/alloc.h.orig Fri Dec 10 15:19:05 1999
-+++ ./sources/alloc.h Tue Aug 16 22:42:54 2005
-@@ -3,7 +3,8 @@
- #ifndef ALLOC_H
- #define ALLOC_H
-
--#include <iostream.h>
-+#include <iostream>
-+using namespace std;
-
- #include "stack.h"
-
diff --git a/math/kaskade/files/patch-sources_cmdpars.h b/math/kaskade/files/patch-sources_cmdpars.h
deleted file mode 100644
index a2e0be5b1683..000000000000
--- a/math/kaskade/files/patch-sources_cmdpars.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/cmdpars.h.orig Fri Dec 10 15:30:27 1999
-+++ ./sources/cmdpars.h Tue Aug 16 21:40:15 2005
-@@ -3,7 +3,7 @@
- #ifndef CMDPARS_H
- #define CMDPARS_H
-
--#include <fstream.h>
-+#include <fstream>
-
- #include "dict.h"
-
diff --git a/math/kaskade/files/patch-sources_configure b/math/kaskade/files/patch-sources_configure
deleted file mode 100644
index f24519210ecf..000000000000
--- a/math/kaskade/files/patch-sources_configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- sources/configure~ Fri Apr 11 18:16:30 2003
-+++ sources/configure Wed Jan 17 06:44:26 2007
-@@ -2876,7 +2876,7 @@
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
--F77=f77
-+F77=%%F77%%
- AR=ar
- FFLAGS=
- CLDFLAGS=
diff --git a/math/kaskade/files/patch-sources_dict.h b/math/kaskade/files/patch-sources_dict.h
deleted file mode 100644
index b82c6baae94a..000000000000
--- a/math/kaskade/files/patch-sources_dict.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/dict.h.orig Tue Dec 14 12:55:24 1999
-+++ ./sources/dict.h Tue Aug 16 22:03:02 2005
-@@ -4,7 +4,7 @@
- #define DICT_H
-
-
--#include <iostream.h>
-+#include <iostream>
- #include <math.h>
-
- #include "stack.h"
diff --git a/math/kaskade/files/patch-sources_dlist.h b/math/kaskade/files/patch-sources_dlist.h
deleted file mode 100644
index 372e5a318774..000000000000
--- a/math/kaskade/files/patch-sources_dlist.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/dlist.h.orig Tue Dec 14 13:48:01 1999
-+++ ./sources/dlist.h Tue Aug 16 22:50:10 2005
-@@ -3,7 +3,7 @@
- #ifndef DLIST_H
- #define DLIST_H
-
--#include <iostream.h>
-+#include <iostream>
-
- template<class T>
-
diff --git a/math/kaskade/files/patch-sources_family.h b/math/kaskade/files/patch-sources_family.h
deleted file mode 100644
index 6dfc59aca3e2..000000000000
--- a/math/kaskade/files/patch-sources_family.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/family.h.orig Fri Aug 4 10:13:45 2000
-+++ ./sources/family.h Wed Aug 17 00:07:37 2005
-@@ -85,7 +85,7 @@
-
- virtual ~Son() { }
-
-- void* operator new(size_t /*size*/) { cout.flush(); abort(); return 0; }
-+ void* operator new(size_t /*size*/) throw() { cout.flush(); abort(); return 0; }
- void operator delete(void* /*son*/) { cout.flush(); abort(); }
-
- virtual int NoOfFathers() const = 0;
diff --git a/math/kaskade/files/patch-sources_general.h.in b/math/kaskade/files/patch-sources_general.h.in
deleted file mode 100644
index c2a2945e8174..000000000000
--- a/math/kaskade/files/patch-sources_general.h.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./sources/general.h.in.orig Tue Dec 14 15:27:41 1999
-+++ ./sources/general.h.in Tue Aug 16 21:27:57 2005
-@@ -3,8 +3,8 @@
- #ifndef GENERAL_H
- #define GENERAL_H
-
--#include <iostream.h>
--#include <stddef.h>
-+#include <iostream>
-+#include <stddef.h>
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
diff --git a/math/kaskade/files/patch-sources_kvector.h b/math/kaskade/files/patch-sources_kvector.h
deleted file mode 100644
index 52b7c3895803..000000000000
--- a/math/kaskade/files/patch-sources_kvector.h
+++ /dev/null
@@ -1,32 +0,0 @@
---- ./sources/kvector.h.orig Fri Dec 10 15:20:04 1999
-+++ ./sources/kvector.h Tue Aug 16 22:39:18 2005
-@@ -12,20 +12,21 @@
-
- //-------------------------------------------------------------------------
-
--#include <iostream.h>
--#include <stdlib.h>
-+#include <iostream>
-+using namespace std;
-+#include <stdlib.h>
-
- //----------------------------------------------------------------------------
-
- template<class T>
-
--class Vector
--{
-- public:
--
-- T* v;
-+class Vector
-+{
-+ public:
-+
-+ T* v;
- int l, h;
--
-+
- Vector(int l1, int h1) { allocate(l1, h1); }
- Vector(int h1) { allocate( 1, h1); }
- Vector() { allocate( 1, 1); }
diff --git a/math/kaskade/files/patch-sources_makefile.in b/math/kaskade/files/patch-sources_makefile.in
deleted file mode 100644
index df522578ab36..000000000000
--- a/math/kaskade/files/patch-sources_makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sources/makefile.in~ Wed Jan 17 06:49:09 2007
-+++ sources/makefile.in Wed Jan 17 09:18:46 2007
-@@ -15,7 +15,7 @@
- CFLAGS = @CFLAGS@ -I$(INCDIR)
- CXXFLAGS = @CXXFLAGS@ -I$(INCDIR)
- FFLAGS = @FFLAGS@
--FCLIBS = -lg2c @FCLIB@
-+FCLIBS = %%GCCLIBDIR%% %%FORTRANLIBS%%
- CLDFLAGS = @CLDFLAGS@
- FLDFLAGS = @FLDFLAGS@
- LIBS = $(FCLIBS) @X_LIBS@ @FCLIB@ @LIBS@
diff --git a/math/kaskade/files/patch-sources_matrix.h b/math/kaskade/files/patch-sources_matrix.h
deleted file mode 100644
index c3c7519acc87..000000000000
--- a/math/kaskade/files/patch-sources_matrix.h
+++ /dev/null
@@ -1,35 +0,0 @@
---- ./sources/matrix.h.orig Fri Dec 10 15:20:13 1999
-+++ ./sources/matrix.h Tue Aug 16 22:41:02 2005
-@@ -13,21 +13,22 @@
- //-------------------------------------------------------------------------
-
- #include <stdio.h>
--#include <iostream.h>
-+#include <iostream>
-+using namespace std;
-
-
- template<class T>
--
--class Matrix
--{
-- public:
-
-- T** row;
-- int rl, rh, cl, ch;
--
-- Matrix (int rl1, int rh1, int cl1, int ch1)
-+class Matrix
-+{
-+ public:
-+
-+ T** row;
-+ int rl, rh, cl, ch;
-+
-+ Matrix (int rl1, int rh1, int cl1, int ch1)
- { allocate (rl1,rh1,cl1,ch1); }
-- Matrix (int nr1, int nc1) { allocate (1, nr1, 1, nc1); }
-+ Matrix (int nr1, int nc1) { allocate (1, nr1, 1, nc1); }
- ~Matrix();
-
-
diff --git a/math/kaskade/files/patch-sources_slist.h b/math/kaskade/files/patch-sources_slist.h
deleted file mode 100644
index 82c45b7c78bb..000000000000
--- a/math/kaskade/files/patch-sources_slist.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/slist.h.orig Fri Dec 10 15:20:49 1999
-+++ ./sources/slist.h Tue Aug 16 23:25:00 2005
-@@ -3,7 +3,7 @@
- #ifndef SLIST_H
- #define SLIST_H
-
--#include <iostream.h>
-+#include <iostream>
-
-
- template<class T>
diff --git a/math/kaskade/files/patch-sources_stack.c b/math/kaskade/files/patch-sources_stack.c
deleted file mode 100644
index eeb7cfe387ff..000000000000
--- a/math/kaskade/files/patch-sources_stack.c
+++ /dev/null
@@ -1,143 +0,0 @@
---- ./sources/stack.c.orig Thu Oct 10 12:01:26 1996
-+++ ./sources/stack.c Tue Aug 16 23:20:18 2005
-@@ -8,77 +8,77 @@
- #include "stack.h"
-
-
--template<class T>
--Stack<T>:: Stack(int l1, int top1, int h1)
-- : Vector<T>(l1,top1) { top=top1; h=h1; }
--
--template<class T>
--Stack<T>:: Stack(int l1, int top1)
-- : Vector<T>(l1,top1) { top=top1; h=l1-1; }
-+template<class T>
-+Stack<T>:: Stack(int l1, int top1, int h1)
-+ : Vector<T>(l1,top1) { top=top1; this->h=h1; }
-+
-+template<class T>
-+Stack<T>:: Stack(int l1, int top1)
-+ : Vector<T>(l1,top1) { top=top1; this->h=l1-1; }
-
--template<class T>
--Stack<T>:: Stack(int top1) : Vector<T>(1,top1) { top=top1; h=0;}
-+template<class T>
-+Stack<T>:: Stack(int top1) : Vector<T>(1,top1) { top=top1; this->h=0;}
-
--template<class T>
--Stack<T>:: Stack() : Vector<T>(DefaultSize) { top=DefaultSize; h=0;}
-+template<class T>
-+Stack<T>:: Stack() : Vector<T>(DefaultSize) { top=DefaultSize; this->h=0;}
-
-
-
- template<class T> void Stack<T>:: push(const T a)
- {
-- if (h==top) extend();
-- v[++h] = a;
-+ if (this->h==top) extend();
-+ this->v[++this->h] = a;
- }
-
- template<class T> T Stack<T>:: pop()
- {
-- if (h < l)
-+ if (this->h < this->l)
- {
-- cout << "\n*** pop tried from empty stack \n";
-- cout.flush(); abort(); return v[l]; // dummy to avoid compiler warnings
-+ cout << "\n*** pop tried from empty stack \n";
-+ cout.flush(); abort(); return this->v[this->l]; // dummy to avoid compiler warnings
- }
-- else return v[h--];
-+ else return this->v[this->h--];
- }
-
- template<class T> T Stack<T>:: Top() const
- {
-- if (h < l)
-+ if (this->h < this->l)
- {
-- cout << "\n*** Class Stack (Top): empty stack \n";
-- cout.flush(); abort(); return v[l]; // dummy to avoid compiler warnings
-+ cout << "\n*** Class Stack (Top): empty stack \n";
-+ cout.flush(); abort(); return this->v[this->l]; // dummy to avoid compiler warnings
- }
-- else return v[h];
-+ else return this->v[this->h];
- }
-
- template<class T> T Stack<T>:: Prev() const
- {
-- if (h <= l)
-+ if (this->h <= this->l)
- {
-- cout << "\n*** Class Stack (Prev): only one element on stack \n";
-- cout.flush(); abort(); return v[l]; // dummy to avoid compiler warnings
-+ cout << "\n*** Class Stack (Prev): only one element on stack \n";
-+ cout.flush(); abort(); return this->v[this->l]; // dummy to avoid compiler warnings
- }
-- else return v[h-1];
-+ else return this->v[this->h-1];
- }
-
- template<class T> void Stack<T>:: extend()
- {
-- int stackSize = top-l+1;
-+ int stackSize = top - this->l + 1;
- stackSize = int(1.5*stackSize);
- if (stackSize <= 2) stackSize = 4;
--
-- top = l+stackSize-1;
-+
-+ top = this->l+stackSize-1;
- T* vnew = new T[stackSize];
-- if (!vnew)
-+ if (!vnew)
- {
-- cout << "\n*** stack extension failure: l=" <<l<< " top=" <<top<< "\n";
-+ cout << "\n*** stack extension failure: l=" <<this->l<< " top=" <<top<< "\n";
- cout.flush(); abort();
- }
-- vnew -= l;
-+ vnew -= this->l;
-
-- for (int i=l; i<=h; ++i) vnew[i] = v[i];
-- v = v+l;
-- delete [] v;
-- v = vnew;
-+ for (int i=this->l; i<=this->h; ++i) vnew[i] = this->v[i];
-+ this->v = this->v + this->l;
-+ delete [] this->v;
-+ this->v = vnew;
-
- if (AnnounceExtensionFlag) cout << "\n* Stack extended to " << top << "\n";
- }
-@@ -86,10 +86,10 @@
-
- template<class T> void Stack<T>:: resize(int newl, int newTop)
- {
-- v += l; delete[] v;
-- allocate (newl, newTop);
-+ this->v += this->l; delete[] this->v;
-+ this->allocate (newl, newTop);
- top = newTop;
-- h = newl-1;
-+ this->h = newl-1;
- }
-
- template<class T> void Stack<T>:: resize(int newTop) { resize (1,newTop); }
-@@ -97,11 +97,11 @@
- template<class T> void Stack<T>:: resize(int newl, int newTop, int newh)
- {
- resize(newl, newTop);
-- h = newh;
-+ this->h = newh;
- }
- //-------------------------------------------------------------------------
-
- template<class T> Stack<T>:: Stack(Stack<T>& /*vec*/)
- {
-- notImplemented("Stack:: copy constructor! Check function arguments");
-+ this->notImplemented("Stack:: copy constructor! Check function arguments");
- }
diff --git a/math/kaskade/files/patch-sources_stack.h b/math/kaskade/files/patch-sources_stack.h
deleted file mode 100644
index e69b3bbafb71..000000000000
--- a/math/kaskade/files/patch-sources_stack.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/stack.h.orig Fri Dec 10 15:20:50 1999
-+++ ./sources/stack.h Tue Aug 16 22:01:00 2005
-@@ -30,7 +30,7 @@
-
- virtual T Top() const;
-
-- int empty() const { return h < l; }
-+ int empty() const { return this->h < this->l; }
-
- virtual void resize(int newTop);
- virtual void resize(int newl, int newTop);
diff --git a/math/kaskade/files/patch-sources_utils.h b/math/kaskade/files/patch-sources_utils.h
deleted file mode 100644
index 6b8b82473958..000000000000
--- a/math/kaskade/files/patch-sources_utils.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./sources/utils.h.orig Tue Dec 14 15:57:46 1999
-+++ ./sources/utils.h Tue Aug 16 21:32:31 2005
-@@ -3,10 +3,10 @@
- #ifndef UTILS_H
- #define UTILS_H
-
--#include <stddef.h>
-+#include <stddef.h>
- #include <stdio.h>
- #include <string.h>
--#include <iostream.h>
-+#include <iostream>
- #include <stdlib.h>
- #include <ctype.h>
- #include <math.h>
diff --git a/math/kaskade/files/patch-sources_varalloc.cc b/math/kaskade/files/patch-sources_varalloc.cc
deleted file mode 100644
index 7b0d7ab389b3..000000000000
--- a/math/kaskade/files/patch-sources_varalloc.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./sources/varalloc.cc.orig Fri Dec 10 12:41:11 1999
-+++ ./sources/varalloc.cc Wed Aug 17 00:04:09 2005
-@@ -5,7 +5,7 @@
- Part of the Kaskade distribution
- */
-
--#include <iostream.h>
-+#include <iostream>
- #include <stdlib.h>
-
- #include "varalloc.h"
diff --git a/math/kaskade/files/patch-sources_vector.c b/math/kaskade/files/patch-sources_vector.c
deleted file mode 100644
index 404ff2e6d4b2..000000000000
--- a/math/kaskade/files/patch-sources_vector.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- ./sources/vector.c.orig Thu Oct 10 12:01:35 1996
-+++ ./sources/vector.c Tue Aug 16 22:37:14 2005
-@@ -5,12 +5,14 @@
- Part of the Kaskade distribution
- */
-
-+#include <iostream>
-+using namespace std;
-
- template<class T> Vector<T>:: ~Vector() { v+=l; delete[] v; }
-
- template<class T> void Vector<T>:: allocate (int l1, int h1)
--{
-- l=l1; h=h1;
-+{
-+ l=l1; h=h1;
- if (h < l) {
- cout << "\n*** Class vector: wrong indices: l,h = "
- << l << " " << h << "\n";
-@@ -23,7 +25,7 @@
- cout.flush(); abort();
- }
- v -= l;
--}
-+}
-
- template<class T> void Vector<T>:: resize(int newl, int newh)
- {
diff --git a/math/kaskade/files/patch-sources_vector.h b/math/kaskade/files/patch-sources_vector.h
deleted file mode 100644
index d7899f29e98b..000000000000
--- a/math/kaskade/files/patch-sources_vector.h
+++ /dev/null
@@ -1,31 +0,0 @@
---- ./sources/vector.h.orig Fri Dec 10 15:21:23 1999
-+++ ./sources/vector.h Tue Aug 16 22:04:53 2005
-@@ -12,20 +12,20 @@
-
- //-------------------------------------------------------------------------
-
--#include <iostream.h>
--#include <stdlib.h>
-+#include <iostream>
-+#include <stdlib.h>
-
- //----------------------------------------------------------------------------
-
- template<class T>
-
--class Vector
--{
-- public:
--
-- T* v;
-+class Vector
-+{
-+ public:
-+
-+ T* v;
- int l, h;
--
-+
- Vector(int l1, int h1) { allocate(l1, h1); }
- Vector(int h1) { allocate( 1, h1); }
- Vector() { allocate( 1, 1); }