From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5BA621387D2 for ; Sat, 18 Oct 2014 00:15:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB272E08A0; Sat, 18 Oct 2014 00:15:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66FCBE08A0 for ; Sat, 18 Oct 2014 00:15:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D87D134042A for ; Sat, 18 Oct 2014 00:15:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96F398208 for ; Sat, 18 Oct 2014 00:15:20 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1413591225.41e22794bda04788b5d39e2b8e1f13603523e2ad.grknight@gentoo> Subject: [gentoo-commits] proj/mysql-extras:master commit in: / X-VCS-Repository: proj/mysql-extras X-VCS-Files: 00000_index.txt 01050_all_mysql_config_cleanup-5.6.patch X-VCS-Directories: / X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 41e22794bda04788b5d39e2b8e1f13603523e2ad X-VCS-Branch: master Date: Sat, 18 Oct 2014 00:15:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc02d45c-63aa-4f23-ae97-570f0172a300 X-Archives-Hash: 1d6fc162ed49bdbc30137de93c60d69a commit: 41e22794bda04788b5d39e2b8e1f13603523e2ad Author: Brian Evans tuffmail com> AuthorDate: Sat Oct 18 00:13:45 2014 +0000 Commit: Brian Evans gentoo org> CommitDate: Sat Oct 18 00:13:45 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/mysql-extras.git;a=commit;h=41e22794 Respin mysql_config cleanup for 5.6 --- 00000_index.txt | 6 ++++ 01050_all_mysql_config_cleanup-5.6.patch | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/00000_index.txt b/00000_index.txt index 610392e..0027586 100644 --- a/00000_index.txt +++ b/00000_index.txt @@ -251,6 +251,12 @@ @pn mysql @@ fix bug #156301 mysql_config wrongly retains too much info from CFLAGS +@patch 01050_all_mysql_config_cleanup-5.6.patch +@ver 5.06.00.00 to 5.06.99.99 +@pn mysql +@pn percona-server +@@ fix bug #156301 mysql_config wrongly retains too much info from CFLAGS + @patch 02000_all_query-logging-bypass-4.1.19.patch @ver 4.01.14.00 to 4.01.99.99 @pn mysql diff --git a/01050_all_mysql_config_cleanup-5.6.patch b/01050_all_mysql_config_cleanup-5.6.patch new file mode 100644 index 0000000..183f164 --- /dev/null +++ b/01050_all_mysql_config_cleanup-5.6.patch @@ -0,0 +1,58 @@ +diff -aurN mysql.orig/scripts/mysql_config.sh mysql/scripts/mysql_config.sh +--- mysql.orig/scripts/mysql_config.sh 2014-10-17 19:37:06.511549907 -0400 ++++ mysql/scripts/mysql_config.sh 2014-10-17 19:53:44.458132867 -0400 +@@ -125,22 +125,42 @@ + cxxflags="-I$pkgincludedir @CXXFLAGS@ " #note: end space! + include="-I$pkgincludedir" + +-# Remove some options that a client doesn't have to care about +-for remove in DDBUG_OFF DSAFE_MUTEX DFORCE_INIT_OF_VARS \ +- DEXTRA_DEBUG DHAVE_purify O 'O[0-9]' 'xO[0-9]' 'W[-A-Za-z]*' \ +- 'mtune=[-A-Za-z0-9]*' 'mcpu=[-A-Za-z0-9]*' 'march=[-A-Za-z0-9]*' \ +- unroll2 ip mp restrict ++tmpcflags="" ++for f in $cflags + do +- # The first option we might strip will always have a space before it because +- # we set -I$pkgincludedir as the first option +- cflags=`echo "$cflags"|sed -e "s/ -$remove */ /g"` +- cxxflags=`echo "$cxxflags"|sed -e "s/ -$remove */ /g"` ++ case "${f}" in ++ -DDBUG_OFF) f="" ;; ++ -DSAFE_MUTEX) f="" ;; ++ -DUNIV_MUST_NOT_INLINE) f="" ;; ++ -DFORCE_INIT_OF_VARS) f="" ;; ++ -DEXTRA_DEBUG) f="" ;; ++ -DHAVE_purify) f="" ;; ++ -[ID]*) tmpcflags="${tmpcflags} ${f}" ;; ++ -[Ll]*) ++ libs="${libs} ${f}" ++ libs_r="${libs_r} ${f}" ++ embedded_libs="${embedded_libs} ${f}" ++ ;; ++ esac + done +-cflags=`echo "$cflags"|sed -e 's/ *\$//'` +-cxxflags=`echo "$cxxflags"|sed -e 's/ *\$//'` ++cflags="${tmpcflags# }" ++tmpcxxflags="" ++for f in $cxxflags ++do ++ case "${f}" in ++ -DDBUG_OFF) f="" ;; ++ -DSAFE_MUTEX) f="" ;; ++ -DUNIV_MUST_NOT_INLINE) f="" ;; ++ -DFORCE_INIT_OF_VARS) f="" ;; ++ -DEXTRA_DEBUG) f="" ;; ++ -DHAVE_purify) f="" ;; ++ -[ID]*) tmpcxxflags="${tmpcxxflags} ${f}" ;; ++ esac ++done ++cxxflags="${tmpcxxflags# }" + + # Same for --libs(_r) +-for remove in lmtmalloc static-libcxa i-static static-intel ++for remove in lmtmalloc static-libcxa i-static static-intel lprobes_mysql + do + # We know the strings starts with a space + libs=`echo "$libs"|sed -e "s/ -$remove */ /g"`