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
F174109229: D40942.id124364.diff
Wed, Sep 30, 4:50 PM
F174108461: D40942.id124371.diff
Wed, Sep 30, 4:43 PM
F174093041: D40942.diff
Wed, Sep 30, 2:03 PM
Unknown Object (File)
Thu, Sep 24, 7:17 AM
Unknown Object (File)
Aug 28 2026, 1:08 PM
Unknown Object (File)
Aug 28 2026, 1:08 PM
Unknown Object (File)
Aug 28 2026, 12:36 PM
Unknown Object (File)
Aug 21 2026, 8:17 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