Bug 196846 - multimedia/ffmpeg0: fails to build on armv6 with clang3.5.0
Summary: multimedia/ffmpeg0: fails to build on armv6 with clang3.5.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: William Grzybowski
Depends on:
Reported: 2015-01-18 19:41 UTC by Mikael Urankar
Modified: 2015-01-20 12:05 UTC (History)
1 user (show)

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

fix build on armv6 (896 bytes, patch)
2015-01-18 19:41 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 2015-01-18 19:41:36 UTC
Created attachment 151805 [details]
fix build on armv6


clang enabled the integrated assembler by default and it breaks the build of ffmpeg0.
Import libav upstream patch to fix cpu detection:

The attached patch fixes that.

To apply the patch:
cd /usr/ports/multimedia/ffmpeg0 ; patch < /path/to/patch
find /usr/ports/multimedia/ffmpeg0 -type f -name "*.orig" -delete
Comment 1 Bugzilla Automation freebsd_committer 2015-01-18 19:41:36 UTC
Auto-assigned to maintainer wg@FreeBSD.org
Comment 2 Sean Bruno freebsd_committer 2015-01-19 17:36:42 UTC
Confirmed.  Let me know if I should commit this, else I'll wait a bit for maintainer approval.

Comment 3 commit-hook freebsd_committer 2015-01-20 12:05:59 UTC
A commit references this bug:

Author: wg
Date: Tue Jan 20 12:05:28 UTC 2015
New revision: 377509
URL: https://svnweb.freebsd.org/changeset/ports/377509

  multimedia/ffmpeg0: fix build on armv6 with clang 3.5

  PR:		196846
  Submitted by:	mikael.urankar gmail com