Fix FTBFS on armhf/armel, undefined GL_PROJECTION
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 4 Feb 2023 13:01:18 +0000 (14:01 +0100)
committerTobias Frost <tobi@debian.org>
Sat, 4 Feb 2023 13:01:18 +0000 (14:01 +0100)
Bug-Debian: https://bugs.debian.org/1014875
Forwarded: no
Last-Update: 2022-08-08 <YYYY-MM-DD, last update of the meta-information, optional>

This define is defined in GL/gl.h, so there  must be some missing include
somewhere. This patch just adds the include…
Last-Update: 2022-08-08 <YYYY-MM-DD, last update of the meta-information, optional>
Gbp-Pq: Name fix-1014875-arm-FTBFS.patch

src/Gui/Quarter/QuarterWidget.cpp

index 5e1f89e04d3a17c02c645f4db4ddf5d675dd951b..24aa5a0b65c5bfc28ee5fee21c4f0722e05ff581 100644 (file)
 
 #include <cassert>
 
+#include "config.h"
+#ifdef  HAVE_GL_GL_H
+#include <GL/gl.h>
+#endif
+
 #include <QAction>
 #include <QApplication>
 #include <QDebug>