Bug 239518 - audio/artyfx-lv2: fix build with GCC-based architectures
Summary: audio/artyfx-lv2: fix build with GCC-based 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: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 21:09 UTC by Piotr Kubaj
Modified: 2019-08-05 10:59 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (3.70 KB, patch)
2019-07-29 21:09 UTC, Piotr Kubaj
yuri: 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-07-29 21:09:39 UTC
Created attachment 206146 [details]
patch

The fix for clang in files/patch-src_avtk_avtk_picojson.hxx breaks GCC. Have two versions for two compilers.

Fix altivec in src/avtk/libs/pffft.cxx and add -maltivec to CXXFLAGS on powerpc64.

Also use new compilers.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-05 10:59:48 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Aug  5 10:59:39 UTC 2019
New revision: 508161
URL: https://svnweb.freebsd.org/changeset/ports/508161

Log:
  audio/artyfx-lv2: fix build with GCC-based architectures

  The fix for clang in files/patch-src_avtk_avtk_picojson.hxx breaks GCC. Have two versions for two compilers.

  Fix altivec in src/avtk/libs/pffft.cxx and add -maltivec to CXXFLAGS on powerpc64.

  Also use new compilers.

  PR:		239518
  Approved by:	yuri (maintainer), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21141

Changes:
  head/audio/artyfx-lv2/Makefile
  head/audio/artyfx-lv2/files/patch-src_avtk_avtk_picojson.hxx
  head/audio/artyfx-lv2/files/patch-src_avtk_libs_pffft.cxx