gdal: replace uchar with u_char

Closes #7832.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
ilovezfs 2016-12-13 14:30:52 -08:00 committed by Mike McQuaid
parent 173348d894
commit e3a99d2af4

View file

@ -244,6 +244,10 @@ class Gdal < Formula
end
def install
inreplace "frmts/jpeg2000/jpeg2000_vsil_io.cpp",
"stream->bufbase_ = JAS_CAST(uchar *, buf);",
"stream->bufbase_ = JAS_CAST(u_char *, buf);"
if build.with? "libkml"
resource("libkml").stage do
# See main `libkml` formula for info on patches