gdal: replace uchar with u_char
Closes #7832. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
173348d894
commit
e3a99d2af4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue