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
F148517067: D40942.id124364.diff
Wed, Mar 18, 10:03 AM
Unknown Object (File)
Sat, Mar 7, 1:39 AM
Unknown Object (File)
Wed, Mar 4, 1:51 AM
Unknown Object (File)
Tue, Mar 3, 10:27 PM
Unknown Object (File)
Feb 8 2026, 11:24 AM
Unknown Object (File)
Feb 8 2026, 5:09 AM
Unknown Object (File)
Jan 31 2026, 10:24 AM
Unknown Object (File)
Dec 21 2025, 5:40 AM
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