From 02fc89961fb0a97ace3b5178a8edabe6c149332b Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 8 Oct 2015 05:25:19 +0100 Subject: [PATCH] libmongoclient 2.6.11 Closes Homebrew/homebrew#44724. Closes Homebrew/homebrew#44733. Signed-off-by: Dominyk Tiller --- Formula/libmongoclient.rb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Formula/libmongoclient.rb b/Formula/libmongoclient.rb index 656184aea1..53cf850cc2 100644 --- a/Formula/libmongoclient.rb +++ b/Formula/libmongoclient.rb @@ -1,11 +1,19 @@ class Libmongoclient < Formula desc "C and C++ driver for MongoDB" homepage "https://www.mongodb.org" - url "https://github.com/mongodb/mongo-cxx-driver/archive/legacy-0.0-26compat-2.6.9.tar.gz" - sha256 "fcbc8032afe7e3a45464aacf6ef34cfb7a3cf2afdd2a09d7cdaf23f6c7a24376" - head "https://github.com/mongodb/mongo-cxx-driver.git", :branch => "26compat" + stable do + url "https://github.com/mongodb/mongo-cxx-driver/archive/legacy-0.0-26compat-2.6.11.tar.gz" + sha256 "b73ffaab09dca318cf286d607fb8b8aa8ace0ab08cef77637d58d33d1c449f2c" + + # Adds recognition for OS X 10.11. + patch do + url "https://github.com/mongodb/mongo-cxx-driver/commit/3fe5139.diff" + sha256 "3ba04f8b4155ef9f06b91c077a89ae863d06959dec30d787551e30f41680c7a5" + end + end + bottle do sha256 "8a627a9d8146d29946db5c1835a38266af2e2080d947917c45d165759d5f6eb7" => :yosemite sha256 "e526f5f2cc21c7a8c7051e4cbbff0e90a3d5ae4830035d9a66b6805c40f5958a" => :mavericks @@ -39,7 +47,7 @@ class Libmongoclient < Formula # --osx-version-min is required to override --osx-version-min=10.6 added # by SConstruct which causes "invalid deployment target for -stdlib=libc++" # when using libc++ - "--osx-version-min=#{MacOS.version}" + "--osx-version-min=#{MacOS.version}", ] args << "--libc++" if MacOS.version >= :mavericks