package/libdvdread: bump version to 7.1.1

https://code.videolan.org/videolan/libdvdread/blob/7.1.1/NEWS

Removed sha1 hash, the sha256 hash is sufficient.

Added patch to fix build error which would be introduced by this bump
that was seen with br-arm-full-static defconfig by the Gitlab pipelines.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-08-14 07:42:15 +02:00
committed by Julien Olivain
parent cf89a66d6c
commit cd9f9b47d7
3 changed files with 43 additions and 5 deletions

View File

@@ -0,0 +1,40 @@
From 4462612349edd3030d81e3c3a7b638e13e6b8ef2 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Wed, 12 Aug 2026 22:40:26 +0200
Subject: [PATCH] Fixed compilation problems with PATH_MAX
../src/dvd_reader.c: In function 'dir_has_file':
../src/dvd_reader.c:393:14: error: 'PATH_MAX' undeclared (first use in this function)
393 | char path[ PATH_MAX + 1 ];
The build error was introduced by
https://code.videolan.org/videolan/libdvdread/-/commit/da7d7ed4e8fe08c0af310925995b2f4742f7eabf
and was found using the buildroot Gitlab pipelines with gcc 9.3.0.
Upstream: https://code.videolan.org/videolan/libdvdread/-/merge_requests/142
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/dvd_reader.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/dvd_reader.c b/src/dvd_reader.c
index ceef4ee..2a70958 100644
--- a/src/dvd_reader.c
+++ b/src/dvd_reader.c
@@ -29,6 +29,11 @@
#include <limits.h> /* PATH_MAX */
#include <ctype.h> /* isalpha */
+#include <config.h>
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h> /* PATH_MAX */
+#endif
+
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__)
# define SYS_BSD 1
#endif
--
2.47.3

View File

@@ -1,7 +1,5 @@
# From https://download.videolan.org/pub/videolan/libdvdread/7.0.1/libdvdread-7.0.1.tar.xz.sha1
sha1 aaba59e0e04fa12704fab4230344549d8ae4b2e3 libdvdread-7.0.1.tar.xz
# From https://download.videolan.org/pub/videolan/libdvdread/7.0.1/libdvdread-7.0.1.tar.xz.sha256
sha256 2e3e04a305c15c3963aa03ae1b9a83c1d239880003fcf3dde986d3943355d407 libdvdread-7.0.1.tar.xz
# From https://download.videolan.org/pub/videolan/libdvdread/7.1.1/libdvdread-7.1.1.tar.xz.sha256
sha256 a0d47876548bec806774bbf8dbf20bb19ba139464383156b32eb8e59915b90a9 libdvdread-7.1.1.tar.xz
# Hash for license file:
sha256 d6cb0e9e560f51085556949a84af12b79a00f10ab8b66c752537faf7cd665572 COPYING

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBDVDREAD_VERSION = 7.0.1
LIBDVDREAD_VERSION = 7.1.1
LIBDVDREAD_SOURCE = libdvdread-$(LIBDVDREAD_VERSION).tar.xz
LIBDVDREAD_SITE = https://download.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_VERSION)
LIBDVDREAD_INSTALL_STAGING = YES