Bug 243658 - multimedia/obs-qtwebkit: fix build on powerpc64 elfv1
Summary: multimedia/obs-qtwebkit: fix build on powerpc64 elfv1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-27 22:17 UTC by Piotr Kubaj
Modified: 2020-04-13 12:14 UTC (History)
1 user (show)

See Also:
pkubaj: maintainer-feedback? (swills)
pkubaj: merge-quarterly?


Attachments
patch (1.47 KB, patch)
2020-01-27 22:17 UTC, Piotr Kubaj
swills: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2020-01-27 22:17:07 UTC
Created attachment 211115 [details]
patch

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

Additionally, this port tries to use SSE, so it needs -DNO_WARN_X86_INTRINSICS -maltivec -mvsx on powerpc64 to use GCC's translation layer to AltiVec.

Also respect CXXFLAGS to make it work.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-04-13 12:12:30 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Apr 13 12:12:20 UTC 2020
New revision: 531597
URL: https://svnweb.freebsd.org/changeset/ports/531597

Log:
  multimedia/obs-qtwebkit: fix build on powerpc64

  cc1plus: error: unrecognized command line option "-std=c++11"

  Additionally, this port tries to use SSE, so it needs -DNO_WARN_X86_INTRINSICS -maltivec -mvsx on powerpc64 to use GCC's translation layer to AltiVec.

  Also respect CXXFLAGS to make it work.

  PR:		243658
  Approved by:	swills (maintainer)
  MFH:		2020q2 (fix build blanket)

Changes:
  head/multimedia/obs-qtwebkit/Makefile
  head/multimedia/obs-qtwebkit/files/patch-GNUmakefile
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-04-13 12:14:32 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Apr 13 12:13:33 UTC 2020
New revision: 531598
URL: https://svnweb.freebsd.org/changeset/ports/531598

Log:
  MFH: r531597

  multimedia/obs-qtwebkit: fix build on powerpc64

  cc1plus: error: unrecognized command line option "-std=c++11"

  Additionally, this port tries to use SSE, so it needs -DNO_WARN_X86_INTRINSICS -maltivec -mvsx on powerpc64 to use GCC's translation layer to AltiVec.

  Also respect CXXFLAGS to make it work.

  PR:		243658
  Approved by:	swills (maintainer)
  Approved by:	portmgr (fix build blanket)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/multimedia/obs-qtwebkit/Makefile
  branches/2020Q2/multimedia/obs-qtwebkit/files/patch-GNUmakefile