void-packages/srcpkgs/freecad/patches/030-gcc8.patch

30 lines
866 B
Diff

From 45945836131998ef267c632ef9c0c04b63321f31 Mon Sep 17 00:00:00 2001
From: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
Date: Wed, 9 May 2018 01:22:59 +0200
Subject: [PATCH] Fix compilation with GCC 8
---
src/3rdParty/salomesmesh/inc/SMESH_Algo.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/3rdParty/salomesmesh/inc/SMESH_Algo.hxx src/3rdParty/salomesmesh/inc/SMESH_Algo.hxx
index a362ed290bc..7e23608f52d 100644
--- src/3rdParty/salomesmesh/inc/SMESH_Algo.hxx
+++ src/3rdParty/salomesmesh/inc/SMESH_Algo.hxx
@@ -30,6 +30,7 @@
#include "SMESH_SMESH.hxx"
+#include "SMDS_MeshNode.hxx"
#include "SMDSAbs_ElementType.hxx"
#include "SMESH_Comment.hxx"
#include "SMESH_ComputeError.hxx"
@@ -45,7 +46,6 @@
#include <map>
#include <set>
-class SMDS_MeshNode;
class SMESHDS_Mesh;
class SMESHDS_SubMesh;
class SMESH_Gen;