Bug 237005 - comms/airspy: fix build on powerpc64
Summary: comms/airspy: fix build on powerpc64
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: 2019-04-04 07:36 UTC by Piotr Kubaj
Modified: 2019-04-04 07:54 UTC (History)
2 users (show)

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


Attachments
patch (953 bytes, patch)
2019-04-04 07:36 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 2019-04-04 07:36:26 UTC
Created attachment 203368 [details]
patch

Include immintrin.h only if FREEBSD_USE_SIMD is defined to fix build on powerpc64.

Tested also on amd64.
Comment 1 Yuri Victorovich freebsd_committer 2019-04-04 07:54:07 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-04-04 07:54:23 UTC
A commit references this bug:

Author: yuri
Date: Thu Apr  4 07:53:58 UTC 2019
New revision: 497802
URL: https://svnweb.freebsd.org/changeset/ports/497802

Log:
  comms/airspy: fix build on powerpc64

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

Changes:
  head/comms/airspy/Makefile
  head/comms/airspy/files/patch-libairspy_src_iqconverter__float.c