From 1b67272c2cb8f5e87f35198cc5e62b642b012888 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 18 Apr 2005 05:41:56 +0000 Subject: [PATCH] when compiling mysql, don't grep for linuxthreads in /usr/include git-svn-id: svn://svn.openwrt.org/openwrt/trunk@659 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/mysql/patches/500-cross-compile.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/openwrt/package/mysql/patches/500-cross-compile.patch b/openwrt/package/mysql/patches/500-cross-compile.patch index 8de45b48a..3f8a43f86 100644 --- a/openwrt/package/mysql/patches/500-cross-compile.patch +++ b/openwrt/package/mysql/patches/500-cross-compile.patch @@ -2413,3 +2413,14 @@ diff -ruN mysql-4.0.24-orig/ipkg/libmysqlclient-dev/CONTROL/control mysql-4.0.24 diff -ruN mysql-4.0.24-orig/ipkg/mysql-utils/CONTROL/control mysql-4.0.24-2/ipkg/mysql-utils/CONTROL/control diff -ruN mysql-4.0.24-orig/ipkg/rules mysql-4.0.24-2/ipkg/rules diff -ruN mysql-4.0.24-orig/ipkg/version mysql-4.0.24-2/ipkg/version +--- mysql-4.0.24/configure.old 2005-04-18 08:33:00.000000000 +0200 ++++ mysql-4.0.24/configure 2005-04-18 08:34:28.000000000 +0200 +@@ -25013,7 +25013,7 @@ + # Look for LinuxThreads. + echo "$as_me:$LINENO: checking \"LinuxThreads\"" >&5 + echo $ECHO_N "checking \"LinuxThreads\"... $ECHO_C" >&6 +- res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l` ++ res=1 + if test "$res" -gt 0 + then + echo "$as_me:$LINENO: result: \"Found\"" >&5