summaryrefslogtreecommitdiff
path: root/mail/balsa/patches/patch-aa
blob: a97cfc8e4b08bca737a693446d6f428579df8b4b (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
27
28
29
30
31
32
33
34
35
$NetBSD: patch-aa,v 1.9 2002/08/21 01:49:10 mjl Exp $

--- configure.orig	Mon Aug 19 20:05:07 2002
+++ configure	Wed Aug 21 02:57:45 2002
@@ -6888,7 +6888,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS"
+LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS -lm"
 cat > conftest.$ac_ext <<EOF
 #line 6894 "configure"
 #include "confdefs.h"
@@ -6922,7 +6922,7 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lpspell $LIBS"
+  LIBS="-lpspell -lm $LIBS"
 
 else
   echo "$ac_t""no" 1>&6
@@ -10111,10 +10111,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 iconv_open();
+char libiconv_open();
 
 int main() {
-iconv_open()
+libiconv_open()
 ; return 0; }
 EOF
 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then