package/vlc: rebase patch set

Added Upstream: tags when possible.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 33c26bb898)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Bernd Kuhls
2026-02-24 19:20:16 +01:00
committed by Thomas Perale
parent bbb0815f11
commit ee0ee0b33e
6 changed files with 37 additions and 34 deletions

View File

@@ -966,11 +966,8 @@ package/vdr/0001-getloadavg.patch lib_patch.Upstream
package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch lib_patch.Upstream package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch lib_patch.Upstream
package/vlc/0002-automake-add-subdir-objects-option.patch lib_patch.Upstream package/vlc/0002-automake-add-subdir-objects-option.patch lib_patch.Upstream
package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch lib_patch.Upstream package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch lib_patch.Upstream
package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch lib_patch.Upstream
package/vlc/0005-Don-t-assume-strerror_l-is-available.patch lib_patch.Upstream package/vlc/0005-Don-t-assume-strerror_l-is-available.patch lib_patch.Upstream
package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch lib_patch.Upstream package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch lib_patch.Upstream
package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch lib_patch.Upstream
package/vlc/0010-opengl-missing-library-check.patch lib_patch.Upstream
package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch lib_patch.Upstream package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch lib_patch.Upstream
package/vpnc/0002-Makefile-allow-to-override-the-version.patch lib_patch.Upstream package/vpnc/0002-Makefile-allow-to-override-the-version.patch lib_patch.Upstream
package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch lib_patch.Upstream package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch lib_patch.Upstream

View File

@@ -1,19 +1,20 @@
From 7c2b3343a30ee53a1cded2ca5e712d8cd7d50f5f Mon Sep 17 00:00:00 2001 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de> From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Tue, 1 May 2018 22:27:21 +0200 Date: Tue, 1 May 2018 22:27:21 +0200
Subject: [PATCH] Disable building of statically linked vlc binary Subject: [PATCH] Disable building of statically linked vlc binary
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Bernd: rebased for 3.0.23]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- ---
Makefile.am | 2 +- Makefile.am | 2 +-
bin/Makefile.am | 2 +- bin/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am diff --git a/Makefile.am b/Makefile.am
index 3ac82623ad..637504a3f5 100644 index 5846e6d701..c72ceddaf2 100644
--- a/Makefile.am --- a/Makefile.am
+++ b/Makefile.am +++ b/Makefile.am
@@ -108,7 +108,7 @@ libvlc: libvlccore @@ -106,7 +106,7 @@ libvlc: libvlccore
cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
core: libvlc vlc$(EXEEXT) core: libvlc vlc$(EXEEXT)
@@ -23,7 +24,7 @@ index 3ac82623ad..637504a3f5 100644
doc: doc:
cd doc && $(MAKE) $(AM_MAKEFLAGS) doc cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
diff --git a/bin/Makefile.am b/bin/Makefile.am diff --git a/bin/Makefile.am b/bin/Makefile.am
index 2877e8b0ea..bef4160e8b 100644 index 4de299d394..2ba28ad806 100644
--- a/bin/Makefile.am --- a/bin/Makefile.am
+++ b/bin/Makefile.am +++ b/bin/Makefile.am
@@ -6,7 +6,7 @@ bin_PROGRAMS = vlc-osx @@ -6,7 +6,7 @@ bin_PROGRAMS = vlc-osx
@@ -36,5 +37,5 @@ index 2877e8b0ea..bef4160e8b 100644
endif endif
EXTRA_DIST = vlc_win32_rc.rc.in EXTRA_DIST = vlc_win32_rc.rc.in
-- --
2.14.4 2.47.3

View File

@@ -1,4 +1,4 @@
From fb257e1e204c30436b3509ea3fa9f7c5fe131dc1 Mon Sep 17 00:00:00 2001 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Tue, 16 Oct 2018 14:25:20 +0200 Date: Tue, 16 Oct 2018 14:25:20 +0200
Subject: [PATCH] build: use pkg-config to get tremor libs Subject: [PATCH] build: use pkg-config to get tremor libs
@@ -7,16 +7,18 @@ Use PKG_ENABLE_MODULES_VLC to enable tremor based on availability of
ogg and vorbisidec ogg and vorbisidec
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Bernd: rebased for 3.0.23]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- ---
configure.ac | 9 +-------- configure.ac | 9 +--------
modules/codec/Makefile.am | 2 +- modules/codec/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 9 deletions(-) 2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 0d3222e00f..b506d735f2 100644 index 49fc9dbb27..9d5d532133 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -2710,14 +2710,7 @@ PKG_ENABLE_MODULES_VLC([VORBIS], [], [ogg vorbis >= 1.1 vorbisenc >= 1.1], [Vorb @@ -2862,14 +2862,7 @@ PKG_ENABLE_MODULES_VLC([VORBIS], [], [ogg vorbis >= 1.1 vorbisenc >= 1.1], [Vorb
dnl dnl
dnl Tremor plugin dnl Tremor plugin
dnl dnl
@@ -33,10 +35,10 @@ index 0d3222e00f..b506d735f2 100644
dnl dnl
dnl Speex plugins dnl Speex plugins
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 075ee2a0e9..637b1d45a6 100644 index dd04391c1b..bdbd94880e 100644
--- a/modules/codec/Makefile.am --- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am +++ b/modules/codec/Makefile.am
@@ -318,7 +318,7 @@ codec_LTLIBRARIES += $(LTLIBdaala) @@ -324,7 +324,7 @@ codec_LTLIBRARIES += $(LTLIBdaala)
libtremor_plugin_la_SOURCES = codec/vorbis.c libtremor_plugin_la_SOURCES = codec/vorbis.c
libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
@@ -46,5 +48,5 @@ index 075ee2a0e9..637b1d45a6 100644
codec_LTLIBRARIES += $(LTLIBtremor) codec_LTLIBRARIES += $(LTLIBtremor)
-- --
2.17.1 2.47.3

View File

@@ -1,4 +1,4 @@
From bbb15b9cbf9353423619f2c40abdf95d861e66ba Mon Sep 17 00:00:00 2001 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de> From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sat, 2 Apr 2016 16:49:54 +0200 Date: Sat, 2 Apr 2016 16:49:54 +0200
Subject: [PATCH] Fix build error using uClibc by adding sys/types.h Subject: [PATCH] Fix build error using uClibc by adding sys/types.h
@@ -19,15 +19,15 @@ https://trac.videolan.org/vlc/ticket/16768
This patch was suggested by courmisch in the trac ticket. This patch was suggested by courmisch in the trac ticket.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Upstream: https://mailman.videolan.org/pipermail/vlc-devel/2016-April/106952.html
[Patch sent upstream:
https://mailman.videolan.org/pipermail/vlc-devel/2016-April/106952.html] Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- ---
include/vlc/libvlc_media.h | 2 ++ include/vlc/libvlc_media.h | 2 ++
1 file changed, 2 insertions(+) 1 file changed, 2 insertions(+)
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 383f366b69..1cbf00c3e3 100644 index 01950493e9..9b84aa4835 100644
--- a/include/vlc/libvlc_media.h --- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h +++ b/include/vlc/libvlc_media.h
@@ -26,6 +26,8 @@ @@ -26,6 +26,8 @@
@@ -40,5 +40,5 @@ index 383f366b69..1cbf00c3e3 100644
extern "C" { extern "C" {
# endif # endif
-- --
2.14.4 2.47.3

View File

@@ -1,4 +1,4 @@
From 57b1e723b73da4c8d42c20d4e28040ec4c0edd85 Mon Sep 17 00:00:00 2001 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com> From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Fri, 28 Feb 2020 14:29:47 +0100 Date: Fri, 28 Feb 2020 14:29:47 +0100
Subject: [PATCH] modules/video_filter/opencv_example.cpp: fix build with Subject: [PATCH] modules/video_filter/opencv_example.cpp: fix build with
@@ -18,17 +18,20 @@ Indeed, CV_RGB is defined as cv::Scalar instead of cvScalar since
version 3.4.2 and version 3.4.2 and
https://github.com/opencv/opencv/commit/7f9253ea0a9fe2635926379420002dbf0c3fce0f https://github.com/opencv/opencv/commit/7f9253ea0a9fe2635926379420002dbf0c3fce0f
Upstream: https://patches.videolan.org/patch/26655
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://patches.videolan.org/patch/26655] [Bernd: rebased for 3.0.23]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- ---
modules/video_filter/opencv_example.cpp | 2 +- modules/video_filter/opencv_example.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/opencv_example.cpp b/modules/video_filter/opencv_example.cpp diff --git a/modules/video_filter/opencv_example.cpp b/modules/video_filter/opencv_example.cpp
index 1334cd4c36..1a8d574f7a 100644 index a7a0bd7821..23483f0974 100644
--- a/modules/video_filter/opencv_example.cpp --- a/modules/video_filter/opencv_example.cpp
+++ b/modules/video_filter/opencv_example.cpp +++ b/modules/video_filter/opencv_example.cpp
@@ -202,7 +202,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) @@ -197,7 +197,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
pt2.x = (r->x+r->width)*scale; pt2.x = (r->x+r->width)*scale;
pt1.y = r->y*scale; pt1.y = r->y*scale;
pt2.y = (r->y+r->height)*scale; pt2.y = (r->y+r->height)*scale;
@@ -38,5 +41,5 @@ index 1334cd4c36..1a8d574f7a 100644
*(CvRect*)(&(p_sys->event_info.p_region[i])) = *r; *(CvRect*)(&(p_sys->event_info.p_region[i])) = *r;
p_sys->event_info.p_region[i].i_id = p_sys->i_id++; p_sys->event_info.p_region[i].i_id = p_sys->i_id++;
-- --
2.25.0 2.47.3

View File

@@ -1,4 +1,4 @@
From 4ab41404cb85684125d73977cadebf83bbc246f5 Mon Sep 17 00:00:00 2001 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Sat, 22 Jan 2022 11:34:38 +0200 Date: Sat, 22 Jan 2022 11:34:38 +0200
Subject: [PATCH] opengl: missing library check Subject: [PATCH] opengl: missing library check
@@ -12,19 +12,19 @@ is platform-dependent. It is common for the header to be present while
the library is absent with "multilib" installations (i.e. Linux the library is absent with "multilib" installations (i.e. Linux
installation with multiple architectures). installation with multiple architectures).
Downloaded from upstream commit: Upstream: https://code.videolan.org/videolan/vlc/-/commit/4ab41404cb85684125d73977cadebf83bbc246f5
https://code.videolan.org/videolan/vlc/-/commit/4ab41404cb85684125d73977cadebf83bbc246f5
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Bernd: rebased for 3.0.23]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
--- ---
configure.ac | 9 ++++++--- configure.ac | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-) 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 2f50808d597..0d57fadbf8b 100644 index 67316b589b..7196a69017 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -3169,7 +3169,6 @@ have_gl="no" @@ -3138,7 +3138,6 @@ have_gl="no"
PKG_CHECK_MODULES([GL], [gl], [ PKG_CHECK_MODULES([GL], [gl], [
have_gl="yes" have_gl="yes"
], [ ], [
@@ -32,7 +32,7 @@ index 2f50808d597..0d57fadbf8b 100644
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifdef _WIN32 #ifdef _WIN32
# include <GL/glew.h> # include <GL/glew.h>
@@ -3179,13 +3178,17 @@ PKG_CHECK_MODULES([GL], [gl], [ @@ -3148,13 +3147,17 @@ PKG_CHECK_MODULES([GL], [gl], [
[int t0 = GL_TEXTURE0;]]) [int t0 = GL_TEXTURE0;]])
], [ ], [
GL_CFLAGS="" GL_CFLAGS=""
@@ -53,5 +53,5 @@ index 2f50808d597..0d57fadbf8b 100644
]) ])
AM_CONDITIONAL([HAVE_GL], [test "${have_gl}" = "yes"]) AM_CONDITIONAL([HAVE_GL], [test "${have_gl}" = "yes"])
-- --
GitLab 2.47.3