From 0fe61cb2e4c64051c8cdcd2f9693d400be3aa9a8 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 13 Oct 2016 14:28:06 -0700 Subject: [PATCH] jemalloc: revision, make Sierra patches unconditional The Sierra patches only affects Sierra, but the bug is a particularly severe one that can be hard to diagnose. I've encountered a number of users who upgraded from previous versions of Sierra and then didn't have the ability to figure out what broke, or that jemalloc specifically was what they needed to reinstall. Since we usually tell users that they don't need to reinstall all their packages after upgrading to Sierra, a lot of users have broken jemallocs after the OS upgrade. Since these patches are upstream already, I'd like to just include them unconditionally and bump the revision so that people on older OSs get them before they upgrade. Closes #5886. Signed-off-by: Mike McQuaid --- Formula/jemalloc.rb | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Formula/jemalloc.rb b/Formula/jemalloc.rb index 1db986ea73..dcfec80d3f 100644 --- a/Formula/jemalloc.rb +++ b/Formula/jemalloc.rb @@ -3,6 +3,7 @@ class Jemalloc < Formula homepage "http://www.canonware.com/jemalloc/" url "https://github.com/jemalloc/jemalloc/releases/download/4.2.1/jemalloc-4.2.1.tar.bz2" sha256 "5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57" + revision 1 head "https://github.com/jemalloc/jemalloc.git" bottle do @@ -16,16 +17,14 @@ class Jemalloc < Formula # https://github.com/jemalloc/jemalloc/issues/420 # Should be in the next release, but please check. - if MacOS.version >= :sierra - patch do - url "https://github.com/jemalloc/jemalloc/commit/4abaee5d13.patch" - sha256 "05c754089098c4275b460b90d1f4b94e32a2c819496187e5378e460c9398a65f" - end + patch do + url "https://github.com/jemalloc/jemalloc/commit/4abaee5d13.patch" + sha256 "05c754089098c4275b460b90d1f4b94e32a2c819496187e5378e460c9398a65f" + end - patch do - url "https://github.com/jemalloc/jemalloc/commit/19c9a3e828.patch" - sha256 "b736dab20d2688d4b21b4ba4755fd19b68145b2d9ae299a1ae154e8553d9261d" - end + patch do + url "https://github.com/jemalloc/jemalloc/commit/19c9a3e828.patch" + sha256 "b736dab20d2688d4b21b4ba4755fd19b68145b2d9ae299a1ae154e8553d9261d" end def install