From c8835afead119761caa3e38193166387bb5a79f7 Mon Sep 17 00:00:00 2001
From: Xu Cheng <xucheng@me.com>
Date: Wed, 4 Mar 2015 11:12:48 +0800
Subject: [PATCH] move formula_specialties to compat

Closes Homebrew/homebrew#37365.

Signed-off-by: Xu Cheng <xucheng@me.com>
---
 Library/Homebrew/compat.rb                           | 1 +
 Library/Homebrew/{ => compat}/formula_specialties.rb | 0
 Library/Homebrew/formula.rb                          | 1 -
 Library/Homebrew/test/test_formula_install.rb        | 1 +
 4 files changed, 2 insertions(+), 1 deletion(-)
 rename Library/Homebrew/{ => compat}/formula_specialties.rb (100%)

diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb
index a5c28e46bd..4343f4bc3f 100644
--- a/Library/Homebrew/compat.rb
+++ b/Library/Homebrew/compat.rb
@@ -1,5 +1,6 @@
 require 'compat/fails_with_llvm'
 require 'compat/formula'
+require 'compat/formula_specialties'
 require 'compat/hardware'
 require 'compat/macos'
 require 'compat/md5'
diff --git a/Library/Homebrew/formula_specialties.rb b/Library/Homebrew/compat/formula_specialties.rb
similarity index 100%
rename from Library/Homebrew/formula_specialties.rb
rename to Library/Homebrew/compat/formula_specialties.rb
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2edb44f595..218fb9b7c4 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1009,4 +1009,3 @@ class Formula
   end
 end
 
-require 'formula_specialties'
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb
index 3995716203..c9357e8ce2 100644
--- a/Library/Homebrew/test/test_formula_install.rb
+++ b/Library/Homebrew/test/test_formula_install.rb
@@ -1,5 +1,6 @@
 require 'testing_env'
 require 'formula'
+require 'compat/formula_specialties'
 require 'testball'
 require 'keg'
 
-- 
GitLab