Bug#1014875: freecad: FTBFS on armel and armhf: error: ‘GL_PROJECTION’ was not declared in this scope;

Tobias Frost tobi at debian.org
Mon Aug 8 19:43:03 BST 2022


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

(Attaching patch)
-------------- next part --------------
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: tobi at 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>


More information about the debian-science-maintainers mailing list