Page MenuHomeFreeBSD

editors/sam: Fix build on 32-bit architectures
ClosedPublic

Authored by flo_purplekraken.com on Jul 8 2023, 8:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 21 2025, 5:40 AM
Unknown Object (File)
Dec 12 2025, 6:00 PM
Unknown Object (File)
Nov 25 2025, 4:48 AM
Unknown Object (File)
Nov 21 2025, 2:19 AM
Unknown Object (File)
Nov 21 2025, 2:17 AM
Unknown Object (File)
Nov 21 2025, 2:16 AM
Unknown Object (File)
Nov 21 2025, 2:13 AM
Unknown Object (File)
Nov 5 2025, 2:01 PM
Subscribers
None

Details

Summary

The build fails on 32-bit architectures, because the source assumes
that unsigned long and uint64_t have the same size. Until upstream is
fixed (I have submitted the patch there, too), fix the build with local
patches.

Test Plan
  • portlint: OK
  • portclippy: OK
  • poudriere testport (amd64, i386): OK

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

flo_purplekraken.com created this revision.
This revision is now accepted and ready to land.Jul 9 2023, 5:34 AM