media-sound/mixxx: add patch to fix build with scons 4.1

Closes: https://bugs.gentoo.org/767838
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Rémi Cardona <remi@gentoo.org>
This commit is contained in:
Rémi Cardona
2021-05-08 19:58:44 +02:00
parent f212a7216a
commit 87d9d3175d
2 changed files with 26 additions and 1 deletions
@@ -0,0 +1,24 @@
diff -dNur a/build/qt4.py b/build/qt4.py
--- a/build/qt4.py 2020-05-15 23:26:10.000000000 +0200
+++ b/build/qt4.py 2021-03-17 11:13:58.867445884 +0100
@@ -42,7 +42,7 @@
import SCons.Tool
import SCons.Util
-class ToolQt4Warning(SCons.Warnings.Warning):
+class ToolQt4Warning(SCons.Warnings.SConsWarning):
pass
class GeneratedMocFileNotIncluded(ToolQt4Warning):
diff -dNur a/build/qt5.py b/build/qt5.py
--- a/build/qt5.py 2020-05-15 23:26:10.000000000 +0200
+++ b/build/qt5.py 2021-03-17 11:12:39.568689777 +0100
@@ -43,7 +43,7 @@
import SCons.Tool
import SCons.Util
-class ToolQt5Warning(SCons.Warnings.Warning):
+class ToolQt5Warning(SCons.Warnings.SConsWarning):
pass
class GeneratedMocFileNotIncluded(ToolQt5Warning):
+2 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -84,6 +84,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.0.0-docs.patch
"${FILESDIR}"/${PN}-2.2.3-qt-5.14.patch
"${FILESDIR}"/${PN}-2.2.4-metadata.patch
"${FILESDIR}"/${PN}-2.2.4-fix-scons-compat.patch
)
src_prepare() {