aboutsummaryrefslogtreecommitdiff
path: root/science/cgnslib/files/patch-src_cgnstools_cgnscalc_calcwish.c
blob: f3d18ad4ce4ec74d64b63ce6c447de89a0e1aafc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/cgnstools/cgnscalc/calcwish.c.orig	2011-02-12 23:52:41.000000000 +0100
+++ src/cgnstools/cgnscalc/calcwish.c	2012-03-13 22:15:02.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));