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)
Wed, Oct 1, 5:36 PM
Unknown Object (File)
Sat, Sep 27, 4:13 PM
Unknown Object (File)
Fri, Sep 19, 11:08 AM
Unknown Object (File)
Sep 14 2025, 2:10 AM
Unknown Object (File)
Sep 5 2025, 8:45 PM
Unknown Object (File)
Sep 5 2025, 8:17 PM
Unknown Object (File)
Sep 5 2025, 8:17 PM
Unknown Object (File)
Sep 5 2025, 8: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