From bdb1e22fc0c3b98e1e0ba104c7117b24d41521f7 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 6 Sep 2022 14:40:10 +0200 Subject: [PATCH] [skip ci] Debian patches: * Fix FTBFS on armhf/armel, undefined GL_PROJECTION (issue 1014875) * Disable syntax checks for some Python modules --- src/Gui/Quarter/QuarterWidget.cpp | 7 +++++++ src/Mod/Test/TestPythonSyntax.py | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/Gui/Quarter/QuarterWidget.cpp b/src/Gui/Quarter/QuarterWidget.cpp index fb00de28c5..0efa36c1ea 100644 --- a/src/Gui/Quarter/QuarterWidget.cpp +++ b/src/Gui/Quarter/QuarterWidget.cpp @@ -54,6 +54,13 @@ #include +#if HAVE_CONFIG_H +# include +# ifdef HAVE_GL_GL_H +# include +# endif +#endif + #include #include #include diff --git a/src/Mod/Test/TestPythonSyntax.py b/src/Mod/Test/TestPythonSyntax.py index b7764177a8..63f4a4234b 100644 --- a/src/Mod/Test/TestPythonSyntax.py +++ b/src/Mod/Test/TestPythonSyntax.py @@ -55,9 +55,11 @@ class PythonSyntaxTestCase(unittest.TestCase): """ def setUp(self): self.whitelist = [] + self.whitelist += ["ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.py"] self.whitelist += ["automotive_design.py"] self.whitelist += ["ifc2x3.py"] self.whitelist += ["ifc4.py"] + self.whitelist += ["__exec_old.py"] def testAll(self):