Accepting request 860362 from science
OBS-URL: https://build.opensuse.org/request/show/860362 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/FreeCAD?expand=0&rev=28
This commit is contained in:
commit
bf3d8ae3c0
54
0001-Gui-skip-ci-fix-Wodr.patch
Normal file
54
0001-Gui-skip-ci-fix-Wodr.patch
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
From 6bd39e8a90e65d81733e06d73bc627387808c772 Mon Sep 17 00:00:00 2001
|
||||||
|
From: wmayer <wmayer@users.sourceforge.net>
|
||||||
|
Date: Tue, 24 Nov 2020 15:46:46 +0100
|
||||||
|
Subject: [PATCH] Gui: [skip ci] fix -Wodr The forward declarations of
|
||||||
|
QuantitySpinBox and Ui_TaskAppearance were done in the wrong namespace
|
||||||
|
|
||||||
|
---
|
||||||
|
src/Gui/TaskCSysDragger.h | 3 +--
|
||||||
|
src/Gui/TaskView/TaskAppearance.h | 5 +++--
|
||||||
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/Gui/TaskCSysDragger.h b/src/Gui/TaskCSysDragger.h
|
||||||
|
index 721cc51c8d..b2dcad3b5e 100644
|
||||||
|
--- a/src/Gui/TaskCSysDragger.h
|
||||||
|
+++ b/src/Gui/TaskCSysDragger.h
|
||||||
|
@@ -26,10 +26,9 @@
|
||||||
|
#include <Gui/TaskView/TaskDialog.h>
|
||||||
|
#include <App/DocumentObserver.h>
|
||||||
|
|
||||||
|
-class QuantitySpinBox;
|
||||||
|
-
|
||||||
|
namespace Gui
|
||||||
|
{
|
||||||
|
+ class QuantitySpinBox;
|
||||||
|
class SoFCCSysDragger;
|
||||||
|
class ViewProviderDragger;
|
||||||
|
|
||||||
|
diff --git a/src/Gui/TaskView/TaskAppearance.h b/src/Gui/TaskView/TaskAppearance.h
|
||||||
|
index 1e3de8a898..b637053f33 100644
|
||||||
|
--- a/src/Gui/TaskView/TaskAppearance.h
|
||||||
|
+++ b/src/Gui/TaskView/TaskAppearance.h
|
||||||
|
@@ -29,16 +29,17 @@
|
||||||
|
#include <boost/signals2.hpp>
|
||||||
|
|
||||||
|
|
||||||
|
-class Ui_TaskAppearance;
|
||||||
|
-
|
||||||
|
namespace App {
|
||||||
|
class Property;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace Gui {
|
||||||
|
class ViewProvider;
|
||||||
|
+
|
||||||
|
namespace TaskView {
|
||||||
|
+
|
||||||
|
typedef boost::signals2::connection TaskAppearance_Connection;
|
||||||
|
+class Ui_TaskAppearance;
|
||||||
|
|
||||||
|
class TaskAppearance : public TaskBox, public Gui::SelectionSingleton::ObserverType
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package FreeCAD-test
|
# spec file for package FreeCAD-test
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 4 22:02:50 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Fix build with latest GCC, add 0001-Gui-skip-ci-fix-Wodr.patch
|
||||||
|
- Force-enable C++17, Boost 1.75 requires C++14 at least
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 28 14:08:01 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Nov 28 14:08:01 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package FreeCAD
|
# spec file for package FreeCAD
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -54,6 +54,8 @@ Patch8: 0001-boost-1.73.0-The-practice-of-declaring-the-Bind-plac.patch
|
|||||||
Patch9: fix-smesh-vtk9.patch
|
Patch9: fix-smesh-vtk9.patch
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
Patch10: 0001-Fix-ODR-violation-correct-Ui_TaskSketcherGeneral-nam.patch
|
Patch10: 0001-Fix-ODR-violation-correct-Ui_TaskSketcherGeneral-nam.patch
|
||||||
|
# PATCH-FIX-UPSTREAM -- https://github.com/FreeCAD/FreeCAD/commit/6bd39e8a90e65d81
|
||||||
|
Patch11: 0001-Gui-skip-ci-fix-Wodr.patch
|
||||||
|
|
||||||
# Test suite fails on 32bit and I don't want to debug that anymore
|
# Test suite fails on 32bit and I don't want to debug that anymore
|
||||||
ExcludeArch: %ix86 %arm ppc s390 s390x
|
ExcludeArch: %ix86 %arm ppc s390 s390x
|
||||||
@ -209,6 +211,7 @@ rm src/3rdparty/Pivy-0.5 -fr
|
|||||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||||
-DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2/ \
|
-DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2/ \
|
||||||
-DPYSIDE_INCLUDE_DIR=/usr/include/PySide2/ \
|
-DPYSIDE_INCLUDE_DIR=/usr/include/PySide2/ \
|
||||||
|
-DBUILD_ENABLE_CXX_STD:STRING="C++17" \
|
||||||
-DBUILD_QT5=ON \
|
-DBUILD_QT5=ON \
|
||||||
-DFREECAD_USE_EXTERNAL_PIVY:BOOL=TRUE \
|
-DFREECAD_USE_EXTERNAL_PIVY:BOOL=TRUE \
|
||||||
-DBUILD_OPENSCAD:BOOL=ON \
|
-DBUILD_OPENSCAD:BOOL=ON \
|
||||||
|
@ -814,7 +814,7 @@ index fcd044b00f2..f54c24f8618 100644
|
|||||||
for (int i=0; i<npts; i++)
|
for (int i=0; i<npts; i++)
|
||||||
{
|
{
|
||||||
diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
||||||
index 1fce4b64722..5294aeac021 100644
|
index dde2bd824..3acfead65 100644
|
||||||
--- a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
--- a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
||||||
+++ b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
+++ b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
|
||||||
@@ -56,6 +56,11 @@
|
@@ -56,6 +56,11 @@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user