Skip to content

Commit

Permalink
mariadb 10.1.9
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#46313.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
makigumo authored and MikeMcQuaid committed Nov 25, 2015
1 parent 5106dda commit bd7828d
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions Formula/mariadb.rb
@@ -1,19 +1,15 @@
class Mariadb < Formula
desc "Drop-in replacement for MySQL"
homepage "https://mariadb.org/"
url "http://ftp.osuosl.org/pub/mariadb/mariadb-10.1.8/source/mariadb-10.1.8.tar.gz"
sha256 "7cbf6a4649aa6dc9cd1dc24424ade7b994de78582ce4d47ca0f4cd1c4c003bfa"
url "http://ftp.osuosl.org/pub/mariadb/mariadb-10.1.9/source/mariadb-10.1.9.tar.gz"
sha256 "8e9c5826722cedb4209bf06ae61069664513149479a6634e3d8115961edfe110"

bottle do
sha256 "a369229d2063de79b1e1f55a69b4777b28160f66ddc276c8e94641e88a389780" => :el_capitan
sha256 "6a89f3dc372591100980b9999dd9b405f97c7da5b0a5c36a371a03cbd73d91d7" => :yosemite
sha256 "0dbf52e1cd9ff451957f102964fd52723127b01ebca656463f6e6d2fe6073647" => :mavericks
end

# fix compilation failure with clang in mroonga storage engine
# https://mariadb.atlassian.net/projects/MDEV/issues/MDEV-8551
patch :DATA

option :universal
option "with-tests", "Keep test when installing"
option "with-bench", "Keep benchmark app when installing"
Expand Down Expand Up @@ -200,19 +196,3 @@ def plist; <<-EOS.undent
end
end
end
__END__
diff --git a/storage/mroonga/vendor/groonga/CMakeLists.txt b/storage/mroonga/vendor/groonga/CMakeLists.txt
index ebe7f6b..609f77d 100644
--- a/storage/mroonga/vendor/groonga/CMakeLists.txt
+++ b/storage/mroonga/vendor/groonga/CMakeLists.txt
@@ -192,6 +192,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
check_build_flag("-Wno-clobbered")
endif()

+if(CMAKE_COMPILER_IS_CLANGCXX)
+ MY_CHECK_AND_SET_COMPILER_FLAG("-fexceptions")
+endif()
+
if(NOT DEFINED CMAKE_C_COMPILE_OPTIONS_PIC)
# For old CMake
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)

0 comments on commit bd7828d

Please sign in to comment.