liblas: fix gdal, libgeotiff defined type conflict

This commit is contained in:
Larry Shaffer 2014-07-03 21:50:52 -06:00 committed by Mike McQuaid
parent 57864a186a
commit 8072124c95

View file

@ -15,6 +15,14 @@ class Liblas < Formula
option 'with-test', 'Verify during install with `make test`'
# Fix for error of conflicting types for '_GTIFcalloc' between gdal 1.11
# and libgeotiff. Commited so can be removed on next stable release.
# https://github.com/libLAS/libLAS/issues/33
patch do
url "https://github.com/libLAS/libLAS/commit/b8799e.diff"
sha1 "3d2430327f9bbff9bd1f6d7cba80c7837552204e"
end
def install
mkdir 'macbuild' do
# CMake finds boost, but variables like this were set in the last