assimp: add --HEAD
Closes Homebrew/homebrew#24482. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e3ffe21858
commit
117eae9746
1 changed files with 6 additions and 3 deletions
|
@ -4,14 +4,17 @@ class Assimp < Formula
|
||||||
homepage 'http://assimp.sourceforge.net/'
|
homepage 'http://assimp.sourceforge.net/'
|
||||||
url 'http://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip'
|
url 'http://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip'
|
||||||
sha1 'e80a3a4326b649ed6585c0ce312ed6dd68942834'
|
sha1 'e80a3a4326b649ed6585c0ce312ed6dd68942834'
|
||||||
|
head 'https://github.com/assimp/assimp.git'
|
||||||
|
|
||||||
depends_on 'cmake' => :build
|
depends_on 'cmake' => :build
|
||||||
depends_on 'boost'
|
depends_on 'boost'
|
||||||
|
|
||||||
def patches
|
def patches
|
||||||
#makes assimp3 compile with clang
|
return if build.head?
|
||||||
#reported upstream http://sourceforge.net/p/assimp/discussion/817654/thread/381fa18a
|
# makes assimp3 compile with clang
|
||||||
#and http://sourceforge.net/p/assimp/patches/43/
|
# 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
|
DATA
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue