aboutsummaryrefslogtreecommitdiff
path: root/www/tdom/files/patch-configure
blob: b4e5a95924c3103dbcb40ce967b63534d94675c4 (plain) (blame)
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
--- ../configure	2007-08-05 14:47:49.000000000 -0400
+++ ../configure	2008-02-14 14:16:33.000000000 -0500
@@ -6169,5 +6169,5 @@
 /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
-char $ac_func ();
+void * $ac_func ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
@@ -6176,5 +6176,5 @@
 choke me
 #else
-char (*f) () = $ac_func;
+void * (*f) () = $ac_func;
 #endif
 #ifdef __cplusplus
@@ -7263,5 +7262,5 @@
     if test "$GCC" = "yes" ; then
 	CFLAGS_OPTIMIZE=-O2
-	CFLAGS_WARNING="-Wall -Wno-implicit-int"
+	CFLAGS_WARNING="-Wall -Wno-implicit-int -Wno-uninitialized"
     else
 	CFLAGS_WARNING=""
@@ -8404,5 +8401,5 @@
 		LIBS=`echo $LIBS | sed s/-pthread//`
 		CFLAGS="$CFLAGS -pthread"
-	    	LDFLAGS="$LDFLAGS -pthread"
+	    	LDFLAGS="$LDFLAGS"
 	    fi
 	    case $system in