From: Flole998 Date: Tue, 27 Oct 2020 01:20:50 +0000 (+0100) Subject: Silcence x265 warnings (#1368) X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=04dd1143ff23ddad5b67d95515a906fa070a5410;p=thirdparty%2Ftvheadend.git Silcence x265 warnings (#1368) * Add patch * Add patch to Makefile --- diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg index 5f2803ed5..d2a3e5056 100644 --- a/Makefile.ffmpeg +++ b/Makefile.ffmpeg @@ -67,6 +67,7 @@ LIBX265_DIFFS = libx265.pie.diff else LIBX265_DIFFS = libx265.pic.diff endif +LIBX265_DIFFS += libx265-silence.patch LIBVPX_VER = 1.9.0 LIBVPX = libvpx-$(LIBVPX_VER) diff --git a/support/patches/libx265-silence.patch b/support/patches/libx265-silence.patch new file mode 100644 index 000000000..7b8ce81f6 --- /dev/null +++ b/support/patches/libx265-silence.patch @@ -0,0 +1,12 @@ +diff -urN ../x265_3.4/source/CMakeLists.old ./source/CMakeLists.txt +--- ../x265_3.4/source/CMakeLists.old 2020-10-27 02:13:31.846580515 +0100 ++++ ./source/CMakeLists.txt 2020-10-27 02:14:30.919996545 +0100 +@@ -557,7 +557,7 @@ + list(APPEND ASM_OBJS ${ASM}.${SUFFIX}) + add_custom_command( + OUTPUT ${ASM}.${SUFFIX} +- COMMAND ${NASM_EXECUTABLE} ARGS ${NASM_FLAGS} ${ASM_SRC} -o ${ASM}.${SUFFIX} ++ COMMAND ${NASM_EXECUTABLE} ARGS -w-macro-params-legacy ${NASM_FLAGS} ${ASM_SRC} -o ${ASM}.${SUFFIX} + DEPENDS ${ASM_SRC}) + endforeach() + endif()