summaryrefslogtreecommitdiff
path: root/cad/fasthenry
diff options
context:
space:
mode:
authorminskim <minskim>2006-06-21 14:56:51 +0000
committerminskim <minskim>2006-06-21 14:56:51 +0000
commit5848d9d4b9b1b375be16cc36cefcfe55eb550861 (patch)
treeb2ec79b3e62e6ab688b0304967c340a40f90a929 /cad/fasthenry
parent720b5573e848bfc582ac6ba1fb30047903bc5230 (diff)
downloadpkgsrc-5848d9d4b9b1b375be16cc36cefcfe55eb550861.tar.gz
Make this package build with gcc-4.
Diffstat (limited to 'cad/fasthenry')
-rw-r--r--cad/fasthenry/distinfo7
-rw-r--r--cad/fasthenry/patches/patch-ay17
-rw-r--r--cad/fasthenry/patches/patch-az23
-rw-r--r--cad/fasthenry/patches/patch-ba34
-rw-r--r--cad/fasthenry/patches/patch-bb13
-rw-r--r--cad/fasthenry/patches/patch-bc13
6 files changed, 106 insertions, 1 deletions
diff --git a/cad/fasthenry/distinfo b/cad/fasthenry/distinfo
index 2d89490073d..6cb88f49188 100644
--- a/cad/fasthenry/distinfo
+++ b/cad/fasthenry/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 14:59:24 agc Exp $
+$NetBSD: distinfo,v 1.9 2006/06/21 14:56:51 minskim Exp $
SHA1 (fasthenry-3.0.19961112/fasthenry-3.0-12Nov96.tar.Z) = 7117fdbaad95929a8d98944dced48cfb3a9e39d0
RMD160 (fasthenry-3.0.19961112/fasthenry-3.0-12Nov96.tar.Z) = 7059c9642c2246abf8101658027df1c89b7cab74
@@ -27,3 +27,8 @@ SHA1 (patch-au) = 6bb6f94c221d12aeb8ea3a98f9cadfb8b813e0ce
SHA1 (patch-av) = fa677024bdb612d46c1d6dde43c677a127b77399
SHA1 (patch-aw) = f3c23565502045d21518a40981c4e3170364df54
SHA1 (patch-ax) = 0d63ac982956c51a1f731e879e3a3330fdc3e27a
+SHA1 (patch-ay) = a1bec67321d965bc28bb7ac6aa665ce736ae7960
+SHA1 (patch-az) = 0c4a7175c3623063ef1e2b45336cc17b3b294525
+SHA1 (patch-ba) = 7d123f59922c3fc2ef5e9b9d54654bfd4fc6f75d
+SHA1 (patch-bb) = e9549c67f4a0c807deb73c1284fcae7d130de0ea
+SHA1 (patch-bc) = 6a1eb5a47344e097a84754e12c80867eebf53483
diff --git a/cad/fasthenry/patches/patch-ay b/cad/fasthenry/patches/patch-ay
new file mode 100644
index 00000000000..d1e81ac205a
--- /dev/null
+++ b/cad/fasthenry/patches/patch-ay
@@ -0,0 +1,17 @@
+$NetBSD: patch-ay,v 1.1 2006/06/21 14:56:51 minskim Exp $
+
+--- src/fasthenry/sparse/spAllocate.c.orig 2004-08-03 22:17:17.000000000 +0000
++++ src/fasthenry/sparse/spAllocate.c
+@@ -106,9 +106,9 @@ static char RCSid[] =
+ #include "spMatrix.h"
+ #include "spDefs.h"
+
+-
+-
+-
++static InitializeElementBlocks(MatrixPtr, int, int);
++static RecordAllocation(MatrixPtr, char *);
++static AllocateBlockOfAllocationList(MatrixPtr);
+
+
+ /*
diff --git a/cad/fasthenry/patches/patch-az b/cad/fasthenry/patches/patch-az
new file mode 100644
index 00000000000..8c7a04c483c
--- /dev/null
+++ b/cad/fasthenry/patches/patch-az
@@ -0,0 +1,23 @@
+$NetBSD: patch-az,v 1.1 2006/06/21 14:56:51 minskim Exp $
+
+--- src/fasthenry/sparse/spBuild.c.orig 2004-08-03 22:17:18.000000000 +0000
++++ src/fasthenry/sparse/spBuild.c
+@@ -105,8 +105,8 @@ static char RCSid[] =
+ #include "spMatrix.h"
+ #include "spDefs.h"
+
+-
+-
++static void Translate(MatrixPtr, int *, int *);
++static ExpandTranslationArrays(MatrixPtr, register int);
+
+
+
+@@ -227,7 +227,6 @@ int Row, Col;
+ MatrixPtr Matrix = (MatrixPtr)eMatrix;
+ RealNumber *pElement;
+ ElementPtr spcFindElementInCol();
+-void Translate();
+
+ /* Begin `spGetElement'. */
+ ASSERT( IS_SPARSE( Matrix ) AND Row >= 0 AND Col >= 0 );
diff --git a/cad/fasthenry/patches/patch-ba b/cad/fasthenry/patches/patch-ba
new file mode 100644
index 00000000000..ce1c8acd3db
--- /dev/null
+++ b/cad/fasthenry/patches/patch-ba
@@ -0,0 +1,34 @@
+$NetBSD: patch-ba,v 1.1 2006/06/21 14:56:51 minskim Exp $
+
+--- src/fasthenry/sparse/spFactor.c.orig 2004-08-03 22:17:18.000000000 +0000
++++ src/fasthenry/sparse/spFactor.c
+@@ -104,9 +104,26 @@ static char RCSid[] =
+ #include "spMatrix.h"
+ #include "spDefs.h"
+
+-
+-
+-
++static int FactorComplexMatrix( MatrixPtr );
++static CreateInternalVectors( MatrixPtr );
++static CountMarkowitz( MatrixPtr, register RealVector, int );
++static MarkowitzProducts( MatrixPtr, int );
++static ElementPtr SearchForPivot( MatrixPtr, int, int );
++static ElementPtr SearchForSingleton( MatrixPtr, int );
++static ElementPtr QuicklySearchDiagonal( MatrixPtr, int );
++static ElementPtr SearchDiagonal( MatrixPtr, int );
++static ElementPtr SearchEntireMatrix( MatrixPtr, int );
++static RealNumber FindLargestInCol( register ElementPtr );
++static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, register int );
++static ExchangeRowsAndCols( MatrixPtr, ElementPtr, register int );
++static ExchangeColElements( MatrixPtr, int, ElementPtr, int, ElementPtr, int );
++static ExchangeRowElements( MatrixPtr, int, ElementPtr, int, ElementPtr, int );
++static RealRowColElimination( MatrixPtr, ElementPtr );
++static ComplexRowColElimination( MatrixPtr, ElementPtr );
++static UpdateMarkowitzNumbers( MatrixPtr, ElementPtr );
++static ElementPtr CreateFillin( MatrixPtr, register int, int );
++static int MatrixIsSingular( MatrixPtr, int );
++static int ZeroPivot( MatrixPtr, int );
+
+
+ /*
diff --git a/cad/fasthenry/patches/patch-bb b/cad/fasthenry/patches/patch-bb
new file mode 100644
index 00000000000..392a6923e39
--- /dev/null
+++ b/cad/fasthenry/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2006/06/21 14:56:51 minskim Exp $
+
+--- src/fasthenry/sparse/spSolve.c.orig 2004-08-03 22:17:19.000000000 +0000
++++ src/fasthenry/sparse/spSolve.c
+@@ -94,6 +94,8 @@ static char RCSid[] =
+ #include "spMatrix.h"
+ #include "spDefs.h"
+
++static void
++SolveComplexMatrix( MatrixPtr, RealVector, RealVector Solution IMAG_VECTORS );
+
+
+
diff --git a/cad/fasthenry/patches/patch-bc b/cad/fasthenry/patches/patch-bc
new file mode 100644
index 00000000000..4573fbb1aa1
--- /dev/null
+++ b/cad/fasthenry/patches/patch-bc
@@ -0,0 +1,13 @@
+$NetBSD: patch-bc,v 1.1 2006/06/21 14:56:51 minskim Exp $
+
+--- src/fasthenry/sparse/spUtils.c.orig 2004-08-03 22:17:20.000000000 +0000
++++ src/fasthenry/sparse/spUtils.c
+@@ -106,7 +106,7 @@ static char RCSid[] =
+ #include "spMatrix.h"
+ #include "spDefs.h"
+
+-
++static RealNumber ComplexCondition( MatrixPtr, RealNumber, int * );
+
+
+