[vlc-commits] contrib: ffmpeg: Patch ffmpeg to build with clang without gas-preprocessor

Martin Storsjö git at videolan.org
Wed Nov 28 15:21:50 CET 2018


vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Sat Mar 31 22:11:35 2018 +0300| [d93be5118b4e8e8bdcc25914dc57f06dc90688dd] | committer: Hugo Beauzée-Luyssen

contrib: ffmpeg: Patch ffmpeg to build with clang without gas-preprocessor

Vanilla clang supports altmacro since clang 5.0, and thus doesn't
require gas-preprocessor for building the arm assembly any longer.

However, the built-in assembler doesn't support a few of the fringe
features used in the assembly.

Patches 1-2 are needed for both libav and ffmpeg, while 3-5 are
needed only on ffmpeg. All patches are already in the latest
corresponding upstream master versions.

Patches 1-2 and 4-5 are only needed on Xcode 9.3, while patch 3
is needed with clang >= 5.0 for any target.

(cherry picked from commit a4c0c013985a634095d34132916cbd0ea00fff11)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d93be5118b4e8e8bdcc25914dc57f06dc90688dd
---

 ...vc1dsp-Add-commas-between-macro-arguments.patch | 306 +++++++++++++++++++++
 ...-.const_data-instead-of-.section-.rodata-.patch |  46 ++++
 ...-Only-compile-the-rgb2yuv-asm-if-.dn-alia.patch | 111 ++++++++
 ...cdsp-Avoid-using-macro-expansion-counters.patch |  61 ++++
 ...evcdsp-Add-commas-between-macro-arguments.patch | 121 ++++++++
 contrib/src/ffmpeg/rules.mak                       |   5 +
 6 files changed, 650 insertions(+)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=d93be5118b4e8e8bdcc25914dc57f06dc90688dd


More information about the vlc-commits mailing list