Bug 239782 - multimedia/ffmpeg: Fix build on powerpc64 with clang
Summary: multimedia/ffmpeg: Fix build on powerpc64 with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Thomas Zander
URL: https://trac.ffmpeg.org/ticket/7861
Keywords: needs-qa
Depends on:
Reported: 2019-08-11 20:55 UTC by Piotr Kubaj
Modified: 2019-08-23 13:37 UTC (History)
4 users (show)

See Also:
riggs: maintainer-feedback+
riggs: merge-quarterly-

patch (3.24 KB, patch)
2019-08-11 20:55 UTC, Piotr Kubaj
riggs: 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 2019-08-11 20:55:02 UTC
Created attachment 206446 [details]

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 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 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

  Fix build on ppc64 / clang.

  - Import build fix from upstream, see:

  PR:		239782
  Submitted by:	pkubaj