diff options
author | Will Andrews <will@FreeBSD.org> | 2001-03-10 19:46:38 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-03-10 19:46:38 +0000 |
commit | 2a6b85739de7b0726e0724f4f120fb80799ec0c9 (patch) | |
tree | 92d59068dd119766bd543bd6bfb3bbf57229d17a /math/mtrxmath/files | |
parent | 4a339d3853792749c62cfa7f64ab16811b6de305 (diff) | |
download | ports-2a6b85739de7b0726e0724f4f120fb80799ec0c9.tar.gz ports-2a6b85739de7b0726e0724f4f120fb80799ec0c9.zip |
Add mtrxmath 0.9.3, a small tool for matrix mathemetics.
PR: 24202
Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Notes
Notes:
svn path=/head/; revision=39458
Diffstat (limited to 'math/mtrxmath/files')
-rw-r--r-- | math/mtrxmath/files/patch-Makefile | 17 | ||||
-rw-r--r-- | math/mtrxmath/files/patch-mtrxmath.c | 11 | ||||
-rw-r--r-- | math/mtrxmath/files/patch-mtrxmath.h | 10 | ||||
-rw-r--r-- | math/mtrxmath/files/patch-mult.c | 10 |
4 files changed, 48 insertions, 0 deletions
diff --git a/math/mtrxmath/files/patch-Makefile b/math/mtrxmath/files/patch-Makefile new file mode 100644 index 000000000000..4e9502de0bf9 --- /dev/null +++ b/math/mtrxmath/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig Sun Jan 7 23:29:11 2001 ++++ Makefile Tue Jan 9 20:43:18 2001 +@@ -1,4 +1,4 @@ +-CFLAGS=-Wall -g ++CFLAGS+=-Wall -g -I${PREFIX}/include + + SRCS=add.c mtrxmath.c mult.c sub.c inverse.c + +@@ -8,7 +8,7 @@ + all: ${EXE} + + ${EXE}: ${OBJS} +- ${CC} -o $@ ${OBJS} ++ ${CC} -o $@ ${OBJS} -L${PREFIX}/lib -lgnugetopt + + clean: + rm -f ${OBJS} ${EXE} *.orig diff --git a/math/mtrxmath/files/patch-mtrxmath.c b/math/mtrxmath/files/patch-mtrxmath.c new file mode 100644 index 000000000000..d3533f877408 --- /dev/null +++ b/math/mtrxmath/files/patch-mtrxmath.c @@ -0,0 +1,11 @@ +--- mtrxmath.c.orig Tue Jan 9 20:44:12 2001 ++++ mtrxmath.c Tue Jan 9 20:44:00 2001 +@@ -102,7 +102,7 @@ + exit(0); + } + if (cmdopt==INVERT) { +- final == inverse(foo); ++ final = inverse(foo); + show_matrix(final); + exit(0); + } diff --git a/math/mtrxmath/files/patch-mtrxmath.h b/math/mtrxmath/files/patch-mtrxmath.h new file mode 100644 index 000000000000..60c4e31b8a56 --- /dev/null +++ b/math/mtrxmath/files/patch-mtrxmath.h @@ -0,0 +1,10 @@ +--- mtrxmath.h.orig Tue Jan 9 20:33:48 2001 ++++ mtrxmath.h Tue Jan 9 20:35:02 2001 +@@ -13,7 +13,6 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <malloc.h> + #include <unistd.h> + #include <getopt.h> + diff --git a/math/mtrxmath/files/patch-mult.c b/math/mtrxmath/files/patch-mult.c new file mode 100644 index 000000000000..da4b9c88257d --- /dev/null +++ b/math/mtrxmath/files/patch-mult.c @@ -0,0 +1,10 @@ +--- mult.c.orig Tue Jan 9 20:40:21 2001 ++++ mult.c Tue Jan 9 20:40:28 2001 +@@ -11,7 +11,6 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <malloc.h> + #include "mtrxmath.h" + + MATRIX_PTR matrix_multiply( MATRIX_PTR first, MATRIX_PTR second) |