summaryrefslogtreecommitdiff
path: root/mail/balsa/patches/patch-aa
blob: d6b27315a36675734ef8821bc54db056919e554c (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.7 2002/02/01 17:02:18 mjl Exp $

--- configure.orig	Sun Jan 20 12:45:14 2002
+++ configure	Fri Feb  1 14:12:02 2002
@@ -6593,7 +6593,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 6599 "configure"
 #include "confdefs.h"
@@ -8131,7 +8131,7 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CATOBJEXT=.mo
-		   DATADIRNAME=lib
+		   DATADIRNAME=${PKGLOCALEDIR}
 fi
 rm -f conftest*
 		INSTOBJEXT=.mo
@@ -9137,10 +9137,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:9147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then