summaryrefslogtreecommitdiff
path: root/math/udunits/patches/patch-ac
blob: e3b8b49b8377c7420220b2d209af784e537c0e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ac,v 1.2 2006/01/03 19:21:17 joerg Exp $

--- configure.orig	2003-08-29 15:53:25.000000000 +0000
+++ configure
@@ -2094,8 +2094,9 @@ echo "configure:2093: checking for (void
 #line 2095 "configure"
 #include "confdefs.h"
 
+double val;
 int main() {
-(void)sin(0.0);
+return sin(val);
 ; return 0; }
 EOF
 if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -2141,8 +2142,9 @@ echo "configure:2140: checking for (void
 #line 2142 "configure"
 #include "confdefs.h"
 
+double val;
 int main() {
-(void)sin(0.0);
+return sin(val);
 ; return 0; }
 EOF
 if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then