Bug 242530 - graphics/cloudcompare: fix build on powerpc64 elfv2
Summary: graphics/cloudcompare: fix build on powerpc64 elfv2
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: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-09 20:24 UTC by Piotr Kubaj
Modified: 2019-12-24 01:56 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (nc)


Attachments
patch (1.48 KB, patch)
2019-12-09 20:24 UTC, Piotr Kubaj
nc: 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 2019-12-09 20:24:22 UTC
Created attachment 209811 [details]
patch

xmmintrin.h is unnecesary and makes CXXFLAGS_powerpc64 also unnecessary (tested on amd64 as well), while clang on ppc64 elfv2 needs mm_malloc.h.
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2019-12-09 20:26:59 UTC
Comment on attachment 209811 [details]
patch

Sure, why not? Looks good.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-12-24 01:56:03 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Dec 24 01:55:19 UTC 2019
New revision: 520769
URL: https://svnweb.freebsd.org/changeset/ports/520769

Log:
  graphics/cloudcompare: fix build on powerpc64 elfv2

  xmmintrin.h is unnecesary and makes CXXFLAGS_powerpc64 also unnecessary (tested on amd64 as well), while clang on ppc64 elfv2 needs mm_malloc.h.

  PR:		242530
  Approved by:	neel@neelc.org (maintainer)

Changes:
  head/graphics/cloudcompare/Makefile
  head/graphics/cloudcompare/files/patch-plugins_core_qRANSAC__SD_RANSAC__SD__orig_MiscLib_AlignedAllocator.h