libde265: update to 1.0.9

security fixes

log:
- https://github.com/strukturag/libde265/compare/v1.0.8...v1.0.9
This commit is contained in:
Rudi Heitbaum 2022-10-20 09:18:21 +00:00
parent a0a0ec37c6
commit f6fb543183
2 changed files with 2 additions and 55 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libde265"
PKG_VERSION="1.0.8"
PKG_SHA256="24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905"
PKG_VERSION="1.0.9"
PKG_SHA256="29bc6b64bf658d81a4446a3f98e0e4636fd4fd3d971b072d440cef987d5439de"
PKG_LICENSE="LGPLv3"
PKG_SITE="http://www.libde265.org"
PKG_URL="https://github.com/strukturag/libde265/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"

View File

@ -1,53 +0,0 @@
From 48056f2eb5ed03be0589bbe335dcdaa676604b28 Mon Sep 17 00:00:00 2001
From: theirix <theirix@gmail.com>
Date: Sat, 31 Oct 2020 11:57:33 +0300
Subject: [PATCH 1/2] Add CMake option DISABLE_SDL
---
CMakeLists.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9f64fe6..c836a9a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,12 @@ include (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
include(GNUInstallDirs)
include(CheckFunctionExists)
-find_package(SDL)
+option(DISABLE_SDL "Disable SDL" OFF)
+
+if (NOT DISABLE_SDL)
+ find_package(SDL)
+endif()
+
find_package(Threads REQUIRED)
CHECK_INCLUDE_FILE(malloc.h HAVE_MALLOC_H)
From c754a0342fe9bbd74bbb90d7244777cb6370804a Mon Sep 17 00:00:00 2001
From: theirix <theirix@gmail.com>
Date: Mon, 2 Nov 2020 19:03:05 +0300
Subject: [PATCH 2/2] Use ENABLE_SDL instead of DISABLE_SDL
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c836a9a9..ac9d3ce8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,9 +20,9 @@ include (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
include(GNUInstallDirs)
include(CheckFunctionExists)
-option(DISABLE_SDL "Disable SDL" OFF)
+option(ENABLE_SDL "Enable SDL" ON)
-if (NOT DISABLE_SDL)
+if (ENABLE_SDL)
find_package(SDL)
endif()