Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlean: update to 0.23.0, fix build on old systems #24804

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion databases/sqlean/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down