aboutsummaryrefslogtreecommitdiffstats
path: root/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch')
-rw-r--r--community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch b/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch
new file mode 100644
index 0000000000..f8f11223dc
--- /dev/null
+++ b/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch
@@ -0,0 +1,23 @@
+From a51aa5fc4133da3359854d1ba03584a1f97a360f Mon Sep 17 00:00:00 2001
+From: Ariadne Conill <ariadne@dereferenced.org>
+Date: Sun, 22 Mar 2020 03:20:18 -0500
+Subject: [PATCH] qtglspectrum: work around Qt including OpenGLES headers
+ instead of OpenGL headers on ARM systems
+
+---
+ src/qtglspectrum/gl-spectrum.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/qtglspectrum/gl-spectrum.cc b/src/qtglspectrum/gl-spectrum.cc
+index 7c80f5e00..0e0c03cf7 100644
+--- a/src/qtglspectrum/gl-spectrum.cc
++++ b/src/qtglspectrum/gl-spectrum.cc
+@@ -31,6 +31,8 @@
+ #include <QGLWidget>
+ #include <QGLFunctions>
+
++#include <GL/gl.h>
++
+ #define NUM_BANDS 32
+ #define DB_RANGE 40
+