From: Debian Science Maintainers Date: Sat, 4 Feb 2023 13:01:18 +0000 (+0100) Subject: Fix FTBFS on armhf/armel, undefined GL_PROJECTION X-Git-Tag: archive/raspbian/0.21.2+dfsg1-3+rpi1~2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=456f12eacd7250b4c075f034182d0c09cfddbc77;p=freecad.git Fix FTBFS on armhf/armel, undefined GL_PROJECTION Bug-Debian: https://bugs.debian.org/1014875 Forwarded: no Last-Update: 2022-08-08 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 Gbp-Pq: Name fix-1014875-arm-FTBFS.patch --- diff --git a/src/Gui/Quarter/QuarterWidget.cpp b/src/Gui/Quarter/QuarterWidget.cpp index 5e1f89e0..24aa5a0b 100644 --- a/src/Gui/Quarter/QuarterWidget.cpp +++ b/src/Gui/Quarter/QuarterWidget.cpp @@ -54,6 +54,11 @@ #include +#include "config.h" +#ifdef HAVE_GL_GL_H +#include +#endif + #include #include #include