summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/patches/patch-af
blob: 06bb5dc80a35e68e5b7583895aa42604b68746a5 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
$NetBSD: patch-af,v 1.9 2007/05/23 08:11:49 martti Exp $

--- configure.orig	2006-11-03 04:19:18.000000000 +0200
+++ configure	2007-05-23 08:20:46.000000000 +0300
@@ -20547,7 +20547,7 @@
   FIND_PROC="$PS \$\$PID | grep -v grep | grep mysqld > /dev/null"
 else
   case $SYSTEM_TYPE in
-    *freebsd*)
+    *freebsd* | *dragonfly*)
       FIND_PROC="$PS p \$\$PID | grep -v grep | grep mysqld > /dev/null"
       ;;
     *darwin*)
@@ -24736,6 +24736,10 @@
       MAX_C_OPTIMIZE="-O"
     fi
     ;;
+  *dragonfly*)
+    CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000"
+    ;;
+    
   *freebsd*)
     echo "Adding fix for interrupted reads"
     OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
@@ -36636,30 +36640,10 @@
 fi;
 
 
-echo "$as_me:$LINENO: checking for ORBit" >&5
-echo $ECHO_N "checking for ORBit... $ECHO_C" >&6
-orbit_config_path=`which orbit-config`
-if test -n "$orbit_config_path" -a $? = 0
-then
-  orbit_exec_prefix=`orbit-config --exec-prefix`
-  orbit_includes=`orbit-config --cflags server`
-  orbit_libs=`orbit-config --libs server`
-  orbit_idl="$orbit_exec_prefix/bin/orbit-idl"
-  echo "$as_me:$LINENO: result: found!" >&5
-echo "${ECHO_T}found!" >&6
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_ORBIT 1
-_ACEOF
-
-else
   orbit_exec_prefix=
   orbit_includes=
   orbit_libs=
   orbit_idl=
-  echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-fi
 
 
 
@@ -36954,7 +36938,7 @@
 else
   bench_dirs=""
 fi
-bench_dirs="$bench_dirs mysql-test"
+#bench_dirs="$bench_dirs mysql-test"
 
 
 # Don't build readline, i have it already
@@ -37071,7 +37055,7 @@
 main ()
 {
 
-		char res= *(*rl_completion_entry_function)(0,0);
+		char res=(*rl_completion_entry_function)(0,0);
 		completion_matches(0,0);
 
   ;