FreeCAD/0001-Mod-CAM-Add-missing-OpenGL-includes.patch
Dmitry Roshchin eb9f28bb8f - Update to version 1.0.0
- Update to version 1.0.0
  For details, see https://wiki.freecad.org/Release_notes_1.0
  The most notable improvements over the 0.21 release series are:
  * inclusion of the topological naming problem mitigation code
  * an integrated assembly workbench
  * a new materials system
  * and many UI/UX improvements
- Drop obsolete/upstream patches:
  * freecad-copy_options.patch
  * freecad-copy_options-2.patch
  * freecad-boost185.patch
  * boost_1_86_fixes.patch
  * fix_vtk_9_3_compat.patch
  * freecad-xerces_3_3_compat.patch
- Add
  * 0001-Mod-CAM-Add-missing-OpenGL-includes.patch
  * ondselsolver_fix_gcc_75_filesystem.patch

OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=181
2024-11-20 09:03:12 +00:00

27 lines
973 B
Diff

From 86151d77b7182f47fee5a576388dafbfefef3487 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Tue, 19 Nov 2024 19:07:28 +0100
Subject: [PATCH] Mod/CAM Add missing OpenGL includes
The headers are required on e.g. ARM platforms where Qt is build with GLES
instead of Desktop GL, and does not implicitly include the headers.
---
src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp
index 74a5af01e..a59cbafe1 100644
--- a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp
+++ b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp
@@ -25,6 +25,7 @@
#include "DlgCAMSimulator.h"
#include "MillSimulation.h"
#include "Gui/View3DInventorViewer.h"
+#include <GL/gl.h>
#include <Mod/Part/App/BRepMesh.h>
#include <QDateTime>
#include <QSurfaceFormat>
--
2.47.0