diff --git a/databases/sqlean/Portfile b/databases/sqlean/Portfile index 42d3c907b2fdc..1e43c304e43be 100644 --- a/databases/sqlean/Portfile +++ b/databases/sqlean/Portfile @@ -5,7 +5,9 @@ PortSystem 1.0 PortGroup github 1.0 PortGroup makefile 1.0 -github.setup nalgeon sqlean 0.22.0 +# Update to 0.24.0 once this is fixed: +# https://github.com/nalgeon/sqlean/issues/124 +github.setup nalgeon sqlean 0.23.0 github.tarball_from archive revision 0 @@ -30,6 +32,13 @@ fetch.type git patchfiles patch-Makefile.diff +# base32.c: error: ‘for’ loop initial declaration used outside C99 mode +# However just passing -std= flag does not fix the build: +# extension.c: error: ‘struct ipaddress’ has no member named ‘ipv4’ +# So still need to blacklist old Xcode gcc. +compiler.blacklist-append \ + *gcc-4.0 *gcc-4.2 + build.target prepare-dist compile-macos use_parallel_build no