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

CMake: Fix build on systems lacking inttypes format string macros #231

Merged
merged 2 commits into from Aug 5, 2021

Conversation

micahsnyder
Copy link
Contributor

Define _SF64_PREFIX and _SF32_PREFIX on systems that do not have these
macros: PRIu64, PRIx64, PRIi64, PRIu32, PRIi32, PRIx32

This logic is the same as in the previous build system, here:
https://github.com/Cisco-Talos/clamav/blob/rel/0.102/m4/reorganization/types.m4#L83

Patch courtesy of Mark Fortescue.

@micahsnyder micahsnyder changed the base branch from rel/0.104 to main July 30, 2021 22:15
Define _SF64_PREFIX and _SF32_PREFIX on systems that do not have these
macros: PRIu64, PRIx64, PRIi64, PRIu32, PRIi32, PRIx32

This logic is the same as in the previous build system, here:
https://github.com/Cisco-Talos/clamav/blob/rel/0.102/m4/reorganization/types.m4#L83

Patch courtesy of Mark Fortescue.
To fix issues with installing older packages that may have been replaced
@micahsnyder micahsnyder merged commit f75c3b3 into Cisco-Talos:main Aug 5, 2021
22 of 24 checks passed
@micahsnyder micahsnyder deleted the CLAM-1536-clamav-types.h branch August 5, 2021 23:54
@micahsnyder
Copy link
Contributor Author

I cherry-picked these two commits into the rel/0.104 branch so they make it into the next RC and the stable release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant