mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
sci-libs/dlib: fix misssing include, support GCC 15.x
Closes: https://bugs.gentoo.org/939094 Signed-off-by: Vladislav Mikhailikov <vmikhailikov@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44760 Closes: https://github.com/gentoo/gentoo/pull/44760 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
parent
72595fc1f9
commit
f7557b5422
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -45,6 +45,11 @@ BDEPEND="
|
|||||||
|
|
||||||
DOCS=( docs/README.txt )
|
DOCS=( docs/README.txt )
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Bug 939094
|
||||||
|
"${FILESDIR}/${PN}-missing-include.patch"
|
||||||
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
use cuda && cuda_src_prepare
|
use cuda && cuda_src_prepare
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
|
|||||||
22
sci-libs/dlib/files/dlib-missing-include.patch
Normal file
22
sci-libs/dlib/files/dlib-missing-include.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From dab9aa1fa5ae245c2f8becf1396205f7655b1c01 Mon Sep 17 00:00:00 2001
|
||||||
|
From: pfeatherstone <45853521+pfeatherstone@users.noreply.github.com>
|
||||||
|
Date: Thu, 18 May 2023 13:03:15 +0100
|
||||||
|
Subject: [PATCH] missing include (#2798)
|
||||||
|
|
||||||
|
Co-authored-by: pf <pf@me>
|
||||||
|
---
|
||||||
|
dlib/type_traits.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/dlib/type_traits.h b/dlib/type_traits.h
|
||||||
|
index 8391050699..a5bb863278 100644
|
||||||
|
--- a/dlib/type_traits.h
|
||||||
|
+++ b/dlib/type_traits.h
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <type_traits>
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
namespace dlib
|
||||||
|
{
|
||||||
Loading…
x
Reference in New Issue
Block a user