Bug 242108

Summary: ftp/R-cran-curl: fix build on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: TAKATSU Tomonari <tota>
Status: Closed FIXED    
Severity: Affects Only Me CC: tota
Priority: --- Flags: bugzilla: maintainer-feedback? (tota)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (tota)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-11-20 13:35:20 UTC
Created attachment 209280 [details]
patch

GCC9 doesn't define __ppc64__ on powerpc64, but clang does, making it include libkern/OSByteOrder.h, which is OSX-specific header. Fix ifdefs.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-11-23 20:14:17 UTC
Approved as mentor (builds on ppcports) pending maintainer review.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-11-24 04:14:23 UTC
A commit references this bug:

Author: tota
Date: Sun Nov 24 04:13:50 UTC 2019
New revision: 518292
URL: https://svnweb.freebsd.org/changeset/ports/518292

Log:
  - Fix build on powerpc64 elfv2

  PR:		242108
  Submitted by:	pkubaj@

Changes:
  head/ftp/R-cran-curl/files/patch-src_curl.c
Comment 3 TAKATSU Tomonari freebsd_committer freebsd_triage 2019-11-24 04:15:33 UTC
Committed.
Thanks!