mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
media-sound/qsynth: Fix configure for qt5
Package-Manager: portage-2.2.26
This commit is contained in:
11
media-sound/qsynth/files/qsynth-0.4.0-qt5-tagging.patch
Normal file
11
media-sound/qsynth/files/qsynth-0.4.0-qt5-tagging.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -ru qsynth-0.4.0/configure qsynth-0.4.0-modified/configure
|
||||
--- qsynth-0.4.0/configure 2015-09-07 16:59:25.083842955 +0200
|
||||
+++ qsynth-0.4.0-modified/configure 2016-01-12 15:57:36.673008368 +0100
|
||||
@@ -4159,6 +4159,7 @@
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
+#define QT_NO_VERSION_TAGGING
|
||||
#include "QtCore/qglobal.h"
|
||||
int
|
||||
main ()
|
||||
@@ -33,6 +33,10 @@ DEPEND="${RDEPEND}
|
||||
|
||||
REQUIRED_USE="|| ( alsa jack pulseaudio )"
|
||||
|
||||
src_prepare() {
|
||||
use qt5 && epatch "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
|
||||
Reference in New Issue
Block a user