From b78ea479a593c15b16ae697c53f77f7b2d511f48 Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Sun, 13 Sep 1998 17:23:33 +0000 Subject: link with -pthread = -nostdlib und -lc_r not only using -lc_r what would result in linking in libc and libc_r Submitted by: Dirk Froemberg Obtained from: John Birrell --- databases/mysql322-server/files/patch-ag | 11 +++++++++++ databases/mysql323-server/files/patch-ag | 11 +++++++++++ databases/mysql40-server/files/patch-configure | 11 +++++++++++ databases/mysql41-server/files/patch-configure | 11 +++++++++++ databases/mysql50-server/files/patch-configure | 11 +++++++++++ databases/mysql51-server/files/patch-configure | 11 +++++++++++ databases/mysql54-server/files/patch-configure | 11 +++++++++++ databases/mysql55-server/files/patch-configure | 11 +++++++++++ databases/mysql60-server/files/patch-configure | 11 +++++++++++ databases/percona55-server/files/patch-configure | 11 +++++++++++ 10 files changed, 110 insertions(+) create mode 100644 databases/mysql322-server/files/patch-ag create mode 100644 databases/mysql323-server/files/patch-ag create mode 100644 databases/mysql40-server/files/patch-configure create mode 100644 databases/mysql41-server/files/patch-configure create mode 100644 databases/mysql50-server/files/patch-configure create mode 100644 databases/mysql51-server/files/patch-configure create mode 100644 databases/mysql54-server/files/patch-configure create mode 100644 databases/mysql55-server/files/patch-configure create mode 100644 databases/mysql60-server/files/patch-configure create mode 100644 databases/percona55-server/files/patch-configure (limited to 'databases') diff --git a/databases/mysql322-server/files/patch-ag b/databases/mysql322-server/files/patch-ag new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql322-server/files/patch-ag @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql323-server/files/patch-ag b/databases/mysql323-server/files/patch-ag new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql323-server/files/patch-ag @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql40-server/files/patch-configure b/databases/mysql40-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql40-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql41-server/files/patch-configure b/databases/mysql41-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql41-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql50-server/files/patch-configure b/databases/mysql50-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql50-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql51-server/files/patch-configure b/databases/mysql51-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql51-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql54-server/files/patch-configure b/databases/mysql54-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql54-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql55-server/files/patch-configure b/databases/mysql55-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql55-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/mysql60-server/files/patch-configure b/databases/mysql60-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/mysql60-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 diff --git a/databases/percona55-server/files/patch-configure b/databases/percona55-server/files/patch-configure new file mode 100644 index 000000000000..f25048611287 --- /dev/null +++ b/databases/percona55-server/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Aug 31 13:09:12 1998 ++++ configure Wed Sep 9 16:33:22 1998 +@@ -3475,7 +3475,7 @@ + echo "configure:3476: checking "named thread libs:"" >&5 + if test "$with_named_thread" != "no" + then +- LIBS="$LIBS $with_named_thread" ++ LIBS="-pthread $LIBS" + with_posix_threads="yes" + with_mit_threads="no" + echo "$ac_t"""$with_named_thread"" 1>&6 -- cgit v1.2.3