summaryrefslogtreecommitdiff
path: root/comms/xnec2c/files/patch-src_common.h
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2014-06-18 05:22:50 +0000
committerStephen Hurd <shurd@FreeBSD.org>2014-06-18 05:22:50 +0000
commit751e34bc442dba006ec7ddf55cef8ae8e81261a3 (patch)
treeb4715aef487e8b53d3ddf2ee60bcfdb870396cd8 /comms/xnec2c/files/patch-src_common.h
parent- Update to 1.2.5 (diff)
xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates the
nec2c core which it uses for reading input files and calculating output data, but it does not need and indeed does not produce an output file by default. Graphs of frequency-related data and the current or charge distribution evolve as the frequency loop progresses, and radiation patterns (far and near field) are sequentially drawn for each frequency step. PR: ports/190815 Submitted by: shurd@FreeBSD.org Approved by: db, skreuzer (mentors)
Diffstat (limited to 'comms/xnec2c/files/patch-src_common.h')
-rw-r--r--comms/xnec2c/files/patch-src_common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/comms/xnec2c/files/patch-src_common.h b/comms/xnec2c/files/patch-src_common.h
new file mode 100644
index 000000000000..05991a06efaf
--- /dev/null
+++ b/comms/xnec2c/files/patch-src_common.h
@@ -0,0 +1,10 @@
+--- src/common.h.orig 2014-06-08 17:50:43.000000000 -0700
++++ src/common.h 2014-06-08 17:50:53.000000000 -0700
+@@ -37,6 +37,7 @@
+ #include <sys/types.h>
+ #include <sys/times.h>
+ #include <gtk/gtk.h>
++#include "cexp.h"
+
+ /* commonly used complex constants */
+ #define CPLX_00 (0.0+I*0.0)