vlc: Remove workaround and patches for problems fixed upstream

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk 2019-05-08 22:58:52 +03:00 committed by Khem Raj
parent 82b4ce8e9e
commit d9b5e720a1
3 changed files with 0 additions and 35 deletions

View File

@ -1,15 +0,0 @@
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -42,6 +42,12 @@
#include "input_internal.h"
/**
+ * Drepper's alternative
+ * http://en.wikibooks.org/wiki/C_Programming/C_Reference/nonstandard/strlcpy
+ */
+#define strlcpy(dst, src, n) *((char* ) mempcpy(dst, src, n)) = '\0'
+
+/**
* The possible extensions for subtitle files we support
*/
static const char *const sub_exts[] = { SLAVE_SPU_EXTENSIONS, "" };

View File

@ -1,15 +0,0 @@
* Also look for postprocess.h under libpostproc/
Upstream-status: Pending
--- a/configure.ac
+++ b/configure.ac
@@ -2589,7 +2589,7 @@ then
VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${POSTPROC_CFLAGS}"
CFLAGS="${CFLAGS} ${POSTPROC_CFLAGS}"
- AC_CHECK_HEADERS(postproc/postprocess.h)
+ AC_CHECK_HEADERS(postproc/postprocess.h,[],[AC_CHECK_HEADERS(libpostproc/postprocess.h)])
VLC_ADD_PLUGIN([postproc])
VLC_RESTORE_FLAGS
],[

View File

@ -1,13 +1,8 @@
require ${BPN}.inc
# work around build failure
EXTRA_OECONF += " --enable-libxml2=no"
LDFLAGS_append_riscv64 = " -pthread"
SRC_URI += " \
file://0002-glibc-does-not-provide-strlcpy.patch \
file://0005-libpostproc-header-check.patch \
file://0006-make-opencv-configurable.patch \
file://0007-use-vorbisidec.patch \
file://0008-fix-luaL-checkint.patch \