Bug 232485 - misc/valentina: fix build with powerpc*
Summary: misc/valentina: fix build with powerpc*
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-20 19:13 UTC by Piotr Kubaj
Modified: 2018-10-20 22:07 UTC (History)
2 users (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (1.96 KB, patch)
2018-10-20 19:13 UTC, Piotr Kubaj
no flags 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 2018-10-20 19:13:03 UTC
Created attachment 198414 [details]
patch

POWER CPU's use .4byte 0x7d821008 for breakpoint trap. Define that to fix build.

Also, this port doesn't build with base GCC. Set USES=compiler:c++11-lang and make it known Valentina.pro that we don't use g++ but g++${GCC_DEFAULT}.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-10-20 22:07:11 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-10-20 22:07:40 UTC
A commit references this bug:

Author: yuri
Date: Sat Oct 20 22:07:06 UTC 2018
New revision: 482630
URL: https://svnweb.freebsd.org/changeset/ports/482630

Log:
  misc/valentina: fix build with powerpc*

  PR:		232485
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/misc/valentina/Makefile
  head/misc/valentina/files/patch-src_libs_vmisc_debugbreak.h