Bug 236016 - graphics/gmt5: fix build on powerpc*
Summary: graphics/gmt5: fix build on 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 06:57 UTC by Piotr Kubaj
Modified: 2019-02-25 15:24 UTC (History)
2 users (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments
patch (1.04 KB, patch)
2019-02-25 06:57 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 2019-02-25 06:57:18 UTC
Created attachment 202343 [details]
patch

powerpc* platforms use uc_mcontext.mc_srr0 to access PC.

Upstream PR at https://github.com/GenericMappingTools/gmt/pull/444

Tested on powerpc64.

Hardware sponsored by IntegriCloud.
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2019-02-25 07:31:56 UTC
Approved. Thanks
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-02-25 15:24:13 UTC
A commit references this bug:

Author: linimon
Date: Mon Feb 25 15:23:26 UTC 2019
New revision: 493876
URL: https://svnweb.freebsd.org/changeset/ports/493876

Log:
  powerpc* platforms use uc_mcontext.mc_srr0 to access PC.

  Upstream PR at https://github.com/GenericMappingTools/gmt/pull/444 .

  PR:		236016
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Changes:
  head/graphics/gmt5/files/patch-src_common__sighandler.c