From: Felix Fietkau Date: Mon, 18 Apr 2005 05:41:56 +0000 (+0000) Subject: when compiling mysql, don't grep for linuxthreads in /usr/include X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13c34ded17fcd3bb3398c584751ed744f46d4c11;p=openwrt%2Fstaging%2Fadrian.git when compiling mysql, don't grep for linuxthreads in /usr/include SVN-Revision: 659 --- diff --git a/openwrt/package/mysql/patches/500-cross-compile.patch b/openwrt/package/mysql/patches/500-cross-compile.patch index 8de45b48a5..3f8a43f86b 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