Page MenuHomeFreeBSD

ftp/R-cran-curl: fix build on big-endian architectures
ClosedPublic

Authored by pkubaj on Jun 23 2019, 7:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 3:33 AM
Unknown Object (File)
Sat, Nov 30, 11:09 PM
Unknown Object (File)
Nov 25 2024, 4:44 PM
Unknown Object (File)
Nov 24 2024, 7:50 AM
Unknown Object (File)
Nov 20 2024, 11:34 PM
Unknown Object (File)
Nov 19 2024, 10:18 PM
Unknown Object (File)
Nov 17 2024, 7:47 AM
Unknown Object (File)
Nov 10 2024, 9:49 AM
Subscribers
None

Details

Summary

BSWAP_32 is undefined on FreeBSD, use bswap32.

It also needs sys/endian.h include.

Needed because of:

/wrkdirs/usr/ports/ftp/R-cran-curl/work/stage/usr/local/lib/R/library/00LOCK-curl/00new/curl/libs/curl.so: Undefined symbol "BSWAP_32"

Diff Detail

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