summaryrefslogtreecommitdiff
path: root/science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2012-07-07 15:15:13 +0000
committerThierry Thomas <thierry@FreeBSD.org>2012-07-07 15:15:13 +0000
commit00f93e050ce4d2785514defdff37ad159b3c0e51 (patch)
tree473b698650f6f9077d65381c09e258bb60fa1cf9 /science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c
parentMEI stands for Mathematical Expression Interpreter. (diff)
Upgrade to 3.1.3-4.
Diffstat (limited to 'science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c')
-rw-r--r--science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c b/science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c
new file mode 100644
index 000000000000..54f1ec429816
--- /dev/null
+++ b/science/cgnslib/files/patch-src_cgnstools_cgnsview_cgiowish.c
@@ -0,0 +1,13 @@
+--- ./src/cgnstools/cgnsview/cgiowish.c.orig 2011-02-12 23:47:39.000000000 +0100
++++ ./src/cgnstools/cgnsview/cgiowish.c 2012-03-13 22:04:59.000000000 +0100
+@@ -20,8 +20,10 @@
+ * Sun shared libraries to be used for Tcl.
+ */
+
++#ifndef __FreeBSD__
+ extern int matherr();
+ int *tclDummyMathPtr = (int *) matherr;
++#endif /* FreeBSD test */
+
+ #ifdef TK_TEST
+ extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));