assimp: add --HEAD

Closes Homebrew/homebrew#24482.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Brian Jensen 2013-11-19 11:46:25 +01:00 committed by Mike McQuaid
parent e3ffe21858
commit 117eae9746

View file

@ -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