mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
net-misc/freerdp: fix build with USE=valgrind
Closes: https://bugs.gentoo.org/949919 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
22
net-misc/freerdp/files/freerdp-3.12.0-cmake.patch
Normal file
22
net-misc/freerdp/files/freerdp-3.12.0-cmake.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
https://bugs.gentoo.org/949919
|
||||
https://github.com/FreeRDP/FreeRDP/issues/11212
|
||||
|
||||
From 358c36486f419ee09441cf7d53409c31debb54c9 Mon Sep 17 00:00:00 2001
|
||||
From: akallabeth <akallabeth@posteo.net>
|
||||
Date: Tue, 18 Feb 2025 20:00:11 +0100
|
||||
Subject: [PATCH] [cmake] fix missing include
|
||||
|
||||
---
|
||||
cmake/CompilerSanitizerOptions.cmake | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/cmake/CompilerSanitizerOptions.cmake b/cmake/CompilerSanitizerOptions.cmake
|
||||
index b128cd8b7ff6..7c3da6cc2153 100644
|
||||
--- a/cmake/CompilerSanitizerOptions.cmake
|
||||
+++ b/cmake/CompilerSanitizerOptions.cmake
|
||||
@@ -1,4 +1,5 @@
|
||||
include(CMakeDependentOption)
|
||||
+include(CheckIncludeFiles)
|
||||
|
||||
cmake_dependent_option(
|
||||
WITH_VALGRIND_MEMCHECK "Compile with valgrind helpers." OFF
|
||||
@@ -108,6 +108,10 @@ RDEPEND="${COMMON_DEPEND}
|
||||
smartcard? ( app-crypt/p11-kit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/freerdp-3.12.0-cmake.patch
|
||||
)
|
||||
|
||||
option() {
|
||||
usex "$1" ON OFF
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user