HomeFreeBSD

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

Description

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

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"

PR: 238704
Approved by: tota (maintainer), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D20726

Details

Provenance
pkubajAuthored on
Differential Revision
D20726: ftp/R-cran-curl: fix build on big-endian architectures
Parents
rP505009: devel/electron4: Update to 4.2.5
Branches
Unknown
Tags
Unknown