summaryrefslogtreecommitdiff
path: root/media-plugins
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-05-23 16:46:02 -0400
committerZero_Chaos <zerochaos@gentoo.org>2017-05-23 16:46:02 -0400
commit051191a269cbf08c9ccd62dfc85ea10ff2d7effd (patch)
tree6479d454463c93d3fde99e62ffd3edadc84a88d4 /media-plugins
parent29880c590429716c68951a5a8de48ac754cc860e (diff)
downloadgentoo-051191a269cbf08c9ccd62dfc85ea10ff2d7effd.tar.gz
gentoo-051191a269cbf08c9ccd62dfc85ea10ff2d7effd.tar.xz
media-plugins/audacious-plugins: bug fix for #596444 and possibly others
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-3.7.1-r1.ebuild1
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-3.7.1.ebuild1
-rw-r--r--media-plugins/audacious-plugins/files/audacious-plugins-3.7.1-gl-jack.patch24
3 files changed, 26 insertions, 0 deletions
diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.7.1-r1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.7.1-r1.ebuild
index 03a50543242..8ceb937a5ea 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-3.7.1-r1.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-3.7.1-r1.ebuild
@@ -110,6 +110,7 @@ src_prepare() {
--c-namespace Mpris \
--generate-c-code object-player mpris2-player.xml && \
cd "${S}"
+ epatch "${FILESDIR}/${P}-gl-jack.patch"
}
src_configure() {
diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.7.1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.7.1.ebuild
index 8ea80cdd5fc..9a2b821003b 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-3.7.1.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-3.7.1.ebuild
@@ -89,6 +89,7 @@ src_prepare() {
--c-namespace Mpris \
--generate-c-code object-player mpris2-player.xml && \
cd "${S}"
+ epatch "${FILESDIR}/${P}-gl-jack.patch"
}
src_configure() {
diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.7.1-gl-jack.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.7.1-gl-jack.patch
new file mode 100644
index 00000000000..d91eeac7138
--- /dev/null
+++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.7.1-gl-jack.patch
@@ -0,0 +1,24 @@
+diff -Naur audacious-plugins-3.7.1-orig/work/audacious-plugins-3.7.1/src/gl-spectrum-qt/gl-spectrum.cc audacious-plugins-3.7.1/work/audacious-plugins-3.7.1/src/gl-spectrum-qt/gl-spectrum.cc
+--- audacious-plugins-3.7.1-orig/work/audacious-plugins-3.7.1/src/gl-spectrum-qt/gl-spectrum.cc 2015-12-28 18:29:53.000000000 -0800
++++ audacious-plugins-3.7.1/work/audacious-plugins-3.7.1/src/gl-spectrum-qt/gl-spectrum.cc 2017-04-20 23:26:57.972574128 -0700
+@@ -32,6 +32,9 @@
+ #include <QGLWidget>
+ #include <QGLFunctions>
+
++#include <GL/glu.h>
++#include <GL/glut.h>
++
+ #define NUM_BANDS 32
+ #define DB_RANGE 40
+
+diff -Naur audacious-plugins-3.7.1-orig/work/audacious-plugins-3.7.1/src/jack-ng/jack-ng.cc audacious-plugins-3.7.1/work/audacious-plugins-3.7.1/src/jack-ng/jack-ng.cc
+--- audacious-plugins-3.7.1-orig/work/audacious-plugins-3.7.1/src/jack-ng/jack-ng.cc 2015-12-28 18:29:53.000000000 -0800
++++ audacious-plugins-3.7.1/work/audacious-plugins-3.7.1/src/jack-ng/jack-ng.cc 2017-04-20 23:28:06.535357794 -0700
+@@ -28,6 +28,7 @@
+ #include <libaudcore/runtime.h>
+
+ #include <algorithm>
++#include <iterator>
+
+ #include <assert.h>
+ #include <pthread.h>