[Bug 238704] ftp/R-cran-curl: fix build on big-endian architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 19 11:39:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238704

            Bug ID: 238704
           Summary: ftp/R-cran-curl: fix build on big-endian architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tota at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(tota at FreeBSD.org)
          Assignee: tota at FreeBSD.org

Created attachment 205218
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205218&action=edit
patch

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"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list