Skip to content

Commit

Permalink
libgeotiff: fix build with Xcode gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Dec 16, 2024
1 parent a59074d commit f39b3e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions graphics/libgeotiff/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ configure.args-append \
--with-jpeg=${prefix} \
--with-proj=${prefix}/lib/proj9

compiler.c_standard 1999

# cpl_serv.c:277: error: ‘for’ loop initial declaration used outside C99 mode
if {[string match *gcc-4.* ${configure.compiler}]} {
configure.cflags-append \
-std=c99
}

use_parallel_build no

livecheck.type regex
Expand Down

0 comments on commit f39b3e4

Please sign in to comment.