aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChun-wei Kuo2013-07-23 18:02:42 +0800
committerAdam Vandenberg2013-07-23 10:29:03 -0700
commit7cd21ba8a10aea32bf712b20b0ce2eec152bc2b3 (patch)
tree03f466618923dc13e8222cd67875fd5cf90a9166
parent6f5897ae9687faf792a66c5beeaea4c4725ce841 (diff)
downloadhomebrew-7cd21ba8a10aea32bf712b20b0ce2eec152bc2b3.tar.bz2
percona-server: workaround for 5.6.12's mysql_config
Apply the same fix as per #21011 and #21324. Closes #21399. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/percona-server.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb
index 622d9aa8b..048f640bc 100644
--- a/Library/Formula/percona-server.rb
+++ b/Library/Formula/percona-server.rb
@@ -88,6 +88,9 @@ class PerconaServer < Formula
system "cmake", *args
system "make"
+ # Reported upstream:
+ # http://bugs.mysql.com/bug.php?id=69645
+ inreplace "scripts/mysql_config", / +-Wno[\w-]+/, ""
system "make install"
# Don't create databases inside of the prefix!