diff options
author | Brad House <brad_mssw@gentoo.org> | 2004-02-07 17:12:43 +0000 |
---|---|---|
committer | Brad House <brad_mssw@gentoo.org> | 2004-02-07 17:12:43 +0000 |
commit | 0262b7b00d8cc4f5d748f2fac697b60d9026dcf7 (patch) | |
tree | 1922ec537f51ff5c15913cb56a6f94337b5babad /dev-db/mysql/files | |
parent | Adding entry to ChangeLog regarding me removing this package from the tree sh... (diff) | |
download | gentoo-2-0262b7b00d8cc4f5d748f2fac697b60d9026dcf7.tar.gz gentoo-2-0262b7b00d8cc4f5d748f2fac697b60d9026dcf7.tar.bz2 gentoo-2-0262b7b00d8cc4f5d748f2fac697b60d9026dcf7.zip |
allow nptl-enabled build of mysql
Diffstat (limited to 'dev-db/mysql/files')
-rw-r--r-- | dev-db/mysql/files/mysql-gentoo-nptl.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-db/mysql/files/mysql-gentoo-nptl.diff b/dev-db/mysql/files/mysql-gentoo-nptl.diff new file mode 100644 index 000000000000..fabeb6cf423d --- /dev/null +++ b/dev-db/mysql/files/mysql-gentoo-nptl.diff @@ -0,0 +1,15 @@ +diff -ruN mysql-4.0.17/configure.in mysql-4.0.17-nptl/configure.in +--- mysql-4.0.17/configure.in 2003-12-14 16:23:49.000000000 -0500 ++++ mysql-4.0.17-nptl/configure.in 2004-02-07 12:00:00.715528784 -0500 +@@ -1191,7 +1191,10 @@ + then + # Look for LinuxThreads. + AC_MSG_CHECKING("LinuxThreads") +- res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l` ++ # res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l` ++ # All gentoo systems support this stuff, and this is an improper detection ++ # for LinuxThreads anyhow, always set the result to 1 ++ res=1 + if test "$res" -gt 0 + then + AC_MSG_RESULT("Found") |