mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-lang/oorexx: bump cmake_minimum for samples
Closes: https://bugs.gentoo.org/961268 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
727ab363d9
commit
b35c9eb3aa
@ -39,6 +39,15 @@ PATCHES=(
|
||||
"${FILESDIR}/oorexx-5.0.0-man.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find ./samples/ -type f -iname "CMakeLists.txt" -exec sed -i {} \
|
||||
-e "/cmake_minimum_required/I s|(.*)|(VERSION 3.20)|g" \
|
||||
-e "/cmake_policy.*/d" \; \
|
||||
|| die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/952966
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user