diff options
author | ijliao <ijliao@FreeBSD.org> | 2006-12-22 11:38:47 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2006-12-22 11:38:47 +0800 |
commit | 08f7d334940c914cbdb032041ba0b8705aac3b2f (patch) | |
tree | 28649c43b44f021d9f8bf5c088a82892d7fc7a42 /science/linsmith/files | |
parent | af8ae1714483c219a1a3468ca249ab100cd65a24 (diff) | |
download | freebsd-ports-gnome-08f7d334940c914cbdb032041ba0b8705aac3b2f.tar.gz freebsd-ports-gnome-08f7d334940c914cbdb032041ba0b8705aac3b2f.tar.zst freebsd-ports-gnome-08f7d334940c914cbdb032041ba0b8705aac3b2f.zip |
add linsmith 0.99.3
Smith charting program
Diffstat (limited to 'science/linsmith/files')
-rw-r--r-- | science/linsmith/files/carg.c | 20 | ||||
-rw-r--r-- | science/linsmith/files/patch-src-Makefile.in | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/science/linsmith/files/carg.c b/science/linsmith/files/carg.c new file mode 100644 index 000000000000..0e021032c0dd --- /dev/null +++ b/science/linsmith/files/carg.c @@ -0,0 +1,20 @@ +/* carg.f -- translated by f2c (version 20000817). +*/ +#include <math.h> +#include <complex.h> + +double carg(complex z__) +{ + /* System generated locals */ + double ret_val; + +/* april 1977 version. w. fullerton, c3, los alamos scientific lab. */ + + ret_val = (float)0.; + if (creal(z__) != (float)0. || cimag(z__) != (float)0.) { + ret_val = atan2(cimag(z__), creal(z__)); + } + + return ret_val; +} /* carg */ + diff --git a/science/linsmith/files/patch-src-Makefile.in b/science/linsmith/files/patch-src-Makefile.in new file mode 100644 index 000000000000..16f5bb63355e --- /dev/null +++ b/science/linsmith/files/patch-src-Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Tue Nov 7 03:27:23 2006 ++++ src/Makefile.in Fri Dec 22 11:33:11 2006 +@@ -52,7 +52,7 @@ + element.$(OBJEXT) remote.$(OBJEXT) load.$(OBJEXT) \ + load_rx.$(OBJEXT) load_nb.$(OBJEXT) log.$(OBJEXT) \ + support.$(OBJEXT) printer.$(OBJEXT) interface.$(OBJEXT) \ +- callbacks.$(OBJEXT) ++ callbacks.$(OBJEXT) carg.$(OBJEXT) + linsmith_OBJECTS = $(am_linsmith_OBJECTS) + am__DEPENDENCIES_1 = + linsmith_DEPENDENCIES = $(am__DEPENDENCIES_1) |