From 117eae974636b6090fae4dc6ff935bc5994726ba Mon Sep 17 00:00:00 2001 From: Brian Jensen Date: Tue, 19 Nov 2013 11:46:25 +0100 Subject: [PATCH] assimp: add --HEAD Closes Homebrew/homebrew#24482. Signed-off-by: Mike McQuaid --- Formula/assimp.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Formula/assimp.rb b/Formula/assimp.rb index ddde95735c..e6f1a84e2d 100644 --- a/Formula/assimp.rb +++ b/Formula/assimp.rb @@ -4,14 +4,17 @@ class Assimp < Formula homepage 'http://assimp.sourceforge.net/' url 'http://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip' sha1 'e80a3a4326b649ed6585c0ce312ed6dd68942834' + head 'https://github.com/assimp/assimp.git' depends_on 'cmake' => :build depends_on 'boost' def patches - #makes assimp3 compile with clang - #reported upstream http://sourceforge.net/p/assimp/discussion/817654/thread/381fa18a - #and http://sourceforge.net/p/assimp/patches/43/ + return if build.head? + # makes assimp3 compile with clang + # Reported upstream http://sourceforge.net/p/assimp/discussion/817654/thread/381fa18a + # and http://sourceforge.net/p/assimp/patches/43/ + # Committed in R1339, so when building HEAD no need for this patch DATA end