media-libs/libbpg: fix build with cmake-3.31

Closes: https://bugs.gentoo.org/945304
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2025-01-04 01:32:55 +09:00
parent d24d94ff80
commit 777f5f16a0
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
https://bugs.gentoo.org/945304
https://gitlab.kitware.com/cmake/cmake/-/commit/c1c4cf9545d17928c065fca344c48e03b80291f0
Add linker configuration file for CMake 3.31.0+.
--- /dev/null
+++ b/x265/source/cmake/CMakeASM_YASMLinkerInformation.cmake
@@ -0,0 +1,3 @@
+set(ASM_DIALECT "_YASM")
+include(Internal/CMakeASMLinkerInformation)
+set(ASM_DIALECT)

View File

@ -1,4 +1,4 @@
# Copyright 2021-2023 Gentoo Authors
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -36,6 +36,7 @@ IUSE="bpgview jctvc"
PATCHES=(
"${FILESDIR}"/${P}-add-fpic.patch
"${FILESDIR}"/${P}-backport-GNU-stack-note-fix.patch
"${FILESDIR}"/${P}-cmake-3.31.patch
"${FILESDIR}"/${P}-dont-strip-bins.patch
"${FILESDIR}"/${P}-fix-implicit-declaration.patch
"${FILESDIR}"/${P}-remove-forced-options.patch