Bug 239782

Summary: multimedia/ffmpeg: Fix build on powerpc64 with clang
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Some People CC: linimon, multimedia, pkubaj, riggs
Priority: --- Keywords: needs-qa
Version: LatestFlags: riggs: maintainer-feedback+
riggs: merge-quarterly-
Hardware: Any   
OS: Any   
URL: https://trac.ffmpeg.org/ticket/7861
Attachments:
Description Flags
patch riggs: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-08-11 20:55:02 UTC
Created attachment 206446 [details]
patch

Clang needs a fix from https://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247682.html to compile ffmpeg with Altivec. Since VSX is supported only in little-endian variant, we only need a patch for libswscale/ppc/swscale_altivec.c.
Comment 1 Thomas Zander freebsd_committer freebsd_triage 2019-08-23 13:24:20 UTC
The 2019Q3 branch contains ffmpeg-4.1, the patch does not apply there.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-23 13:27:21 UTC
A commit references this bug:

Author: riggs
Date: Fri Aug 23 13:26:29 UTC 2019
New revision: 509646
URL: https://svnweb.freebsd.org/changeset/ports/509646

Log:
  Fix build on ppc64 / clang.

  Details:
  - Import build fix from upstream, see:
    https://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247682.html
    https://trac.ffmpeg.org/ticket/7861

  PR:		239782
  Submitted by:	pkubaj

Changes:
  head/multimedia/ffmpeg/files/patch-libswscale_ppc_swscale__altivec.c