List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:December 12 2006 3:43pm
Subject:bk commit into 5.0 tree (cmiller:1.2326) BUG#23294
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of cmiller. When cmiller does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-12-12 09:43:12-05:00, cmiller@stripped +1 -0
  Bug#23294: Detection of sem_xxx functions on NetBSD broken and DragonflyBSD \
  	misc patches
  
  Patch from community member Juan RP.  "dragonfly" os name should be synonymous
  with netbsd and sem_* functions may also be found in librt.

  configure.in@stripped, 2006-12-12 09:43:11-05:00, cmiller@stripped +4 -2
    Detect OS name of DragonFlyBSD.
    
    Search for semaphor functions in librt also.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	cmiller
# Host:	zippy.cornsilk.net
# Root:	/home/cmiller/work/mysql/mysql-5.0-community--bug23294

--- 1.412/configure.in	2006-12-12 09:43:16 -05:00
+++ 1.413/configure.in	2006-12-12 09:43:16 -05:00
@@ -479,7 +479,7 @@ then
   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*)
@@ -756,6 +756,8 @@ AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(H
 
 # For sem_xxx functions on Solaris 2.6
 AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
+# For sem_xxx functions on NetBSD
+AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(rt, sem_init))
 MYSQL_CHECK_ZLIB_WITH_COMPRESS
 
 # For large pages support
@@ -1081,7 +1083,7 @@ case $SYSTEM_TYPE in
       MAX_C_OPTIMIZE="-O"
     fi
     ;;
-  *freebsd*)
+  *freebsd*|*dragonfly*)
     AC_MSG_WARN([Adding fix for interrupted reads])
     OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
     if test "$OSVERSION" -gt "480100" && \
Thread
bk commit into 5.0 tree (cmiller:1.2326) BUG#23294Chad MILLER12 Dec