From 04ef1f4276c0eab11eedb7ea7c14776022223ef0 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Mon, 4 Sep 2017 10:40:00 +0200 Subject: [PATCH] chuck: patch for Xcode 9 --- Formula/chuck.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/chuck.rb b/Formula/chuck.rb index e0595e7078..cd03a5a097 100644 --- a/Formula/chuck.rb +++ b/Formula/chuck.rb @@ -14,6 +14,15 @@ class Chuck < Formula depends_on :xcode => :build + # Fix pointer comparison error with Xcode 9 + # Reported by email to chuck-dev@lists.cs.princeton.edu on 2017-09-04 + if DevelopmentTools.clang_build_version >= 900 + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/b052485f5d/chuck/xcode9.patch" + sha256 "fa2e008c8d90321c8876a49f83d7566dead362740711442f8e983d07e98a220b" + end + end + def install # issue caused by the new macOS version, patch submitted upstream # to the chuck-dev mailing list