Skip to content

Commit

Permalink
stubby: fix build with Xcode gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jun 3, 2024
1 parent fe4d547 commit 84c10d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/stubby/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ post-patch {
${worksrcpath}/CMakeLists.txt
}

# stubby-ui-helper.c: error: ‘for’ loop initial declaration used outside C99 mode
configure.cflags-append -std=c99

post-destroot {
move ${destroot}${prefix}/etc/stubby/stubby.yml ${destroot}${prefix}/etc/stubby/stubby.yml.example
}
Expand Down

0 comments on commit 84c10d1

Please sign in to comment.