Bug 242887 - devel/pecl-grpc: fix build on GCC architectures
Summary: devel/pecl-grpc: fix build on GCC architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-25 22:00 UTC by Piotr Kubaj
Modified: 2019-12-26 12:37 UTC (History)
1 user (show)

See Also:
vanilla: maintainer-feedback+


Attachments
patch (1.86 KB, patch)
2019-12-25 22:00 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (vanilla)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-12-25 22:00:53 UTC
Created attachment 210230 [details]
patch

C++11 compiler is necessary:
cc1plus: error: unrecognized command line option "-std=c++11"

Also, for some reason _LITTLE_ENDIAN is defined on powerpc64. Fix it not to use LE code.
Comment 1 Vanilla I. Shu freebsd_committer 2019-12-26 01:47:55 UTC
Approved, please help to commit, thanks.
Comment 2 commit-hook freebsd_committer 2019-12-26 12:37:20 UTC
A commit references this bug:

Author: pkubaj
Date: Thu Dec 26 12:37:07 UTC 2019
New revision: 520905
URL: https://svnweb.freebsd.org/changeset/ports/520905

Log:
  devel/pecl-grpc: fix build on GCC architectures

  C++11 compiler is necessary:
  cc1plus: error: unrecognized command line option "-std=c++11"

  Also, for some reason _LITTLE_ENDIAN is defined on powerpc64. Fix it not to use LE code.

  PR:             242887
  Approved by:    vanilla (maintainer)

Changes:
  head/devel/pecl-grpc/Makefile
  head/devel/pecl-grpc/files/patch-third__party_boringssl_include_openssl_base.h