Package: freecad
Version: 0.20+dfsg1-2
Followup-For: Bug #1014875

(Attaching patch)
Description: Fix FTBFS on armhf/armel, undefined GL_PROJECTION
 This define is defined in GL/gl.h, so there  must be some missing include
 somewhere. This patch just adds the include…
Author: t...@debian.org
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 patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Gui/Quarter/QuarterWidget.cpp
+++ b/src/Gui/Quarter/QuarterWidget.cpp
@@ -54,6 +54,11 @@
 
 #include <cassert>
 
+#include "config.h"
+#ifdef  HAVE_GL_GL_H
+#include <GL/gl.h>
+#endif
+
 #include <QAction>
 #include <QApplication>
 #include <QDebug>

Reply via email to