diff options
author | 2025-01-04 01:32:55 +0900 | |
---|---|---|
committer | 2025-01-04 01:35:52 +0900 | |
commit | 777f5f16a04806be599e7d2beaeba4e9e5a56f46 (patch) | |
tree | 9417959c0bf82838b6daea1b0c4d18e611f4dae4 /media-libs | |
parent | sys-auth/hyprpolkitagent: fix pkg_setup (diff) | |
download | guru-777f5f16a04806be599e7d2beaeba4e9e5a56f46.tar.gz guru-777f5f16a04806be599e7d2beaeba4e9e5a56f46.tar.bz2 guru-777f5f16a04806be599e7d2beaeba4e9e5a56f46.zip |
media-libs/libbpg: fix build with cmake-3.31
Closes: https://bugs.gentoo.org/945304
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libbpg/files/libbpg-0.9.8-cmake-3.31.patch | 9 | ||||
-rw-r--r-- | media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/media-libs/libbpg/files/libbpg-0.9.8-cmake-3.31.patch b/media-libs/libbpg/files/libbpg-0.9.8-cmake-3.31.patch new file mode 100644 index 000000000..ecc5ede91 --- /dev/null +++ b/media-libs/libbpg/files/libbpg-0.9.8-cmake-3.31.patch @@ -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) diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild index c910eaa6e..69986342f 100644 --- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild +++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild @@ -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 |