summaryrefslogtreecommitdiff
path: root/lang/kaffe/patches/patch-aa
blob: fa2052953f0b7e30c608d0837561e4655929fce9 (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-aa,v 1.10 2002/02/27 01:34:56 tv Exp $

--- configure.orig	Mon Jul 24 15:47:29 2000
+++ configure	Thu Feb  7 19:45:02 2002
@@ -3608,7 +3608,7 @@
 
 
 case "$Khost_os" in
-freebsd2|netbsd1|oskit)
+freebsd2|oskit)
 	KSAVE_LIBS="$LIBS"
 LIBS="$VM_LIBS $KSAVE_LIBS"
 echo $ac_n "checking for __moddi3 in -lgcc""... $ac_c" 1>&6
@@ -4045,10 +4045,10 @@
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
-char mpz_get_d();
+char __gmpz_get_d();
 
 int main() {
-mpz_get_d()
+__gmpz_get_d()
 ; return 0; }
 EOF
 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then