dev-python/pivy: Fix build if media-libs/SoQt is installed

This is at least dealing with the immediate issue.

Bug: https://bugs.gentoo.org/920482
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2024-11-08 14:52:58 +01:00
parent 2e2bff4386
commit 1b3adbf3f0
No known key found for this signature in database
GPG Key ID: 012423318D1FB6CD
2 changed files with 18 additions and 4 deletions

View File

@ -0,0 +1,14 @@
From a5fad6bb07d994d6e727d5759965611c6e4d57d6 Mon Sep 17 00:00:00 2001
From: Konstantin Podsvirov <konstantin@podsvirov.pro>
Date: Fri, 24 Nov 2023 21:09:53 +0300
Subject: [PATCH] Add fake header for recently introduced cmath include in
SoQtViewer.h
---
fake_headers/cmath | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 fake_headers/cmath
diff --git a/fake_headers/cmath b/fake_headers/cmath
new file mode 100644
index 00000000..e69de29b

View File

@ -49,10 +49,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.6.6-0001-fix-CMakeLists.txt-for-distutils_cmake.patch
"${FILESDIR}"/${PN}-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
"${FILESDIR}"/${PN}-0.6.7-find-qmake.patch
# https://github.com/coin3d/pivy/issues/105
"${FILESDIR}"/${PN}-0.6.8-python312.patch
# https://github.com/coin3d/pivy/pull/109
"${DISTDIR}"/${PN}-0.6.8-python312-unittests.patch
# in 0.6.9:
"${FILESDIR}"/${P}-python312.patch # https://github.com/coin3d/pivy/issues/105
"${DISTDIR}"/${P}-python312-unittests.patch # https://github.com/coin3d/pivy/pull/109
"${FILESDIR}"/${P}-SoQtViewer-w-cmath.patch # bug 920482
)
DOCS=( AUTHORS HACKING NEWS README.md THANKS )