aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2020-03-26 12:00:40 +0000
committerDiane Bruce <db@FreeBSD.org>2020-03-26 12:00:40 +0000
commitda457d84bea74d66400f531b6432697cf33adb80 (patch)
treed2e58f6eab6d66e94651842b5272d8af96440a68 /cad
parent71910f2089f8815979938fd4aba5a324e1cee3d2 (diff)
downloadports-da457d84bea74d66400f531b6432697cf33adb80.tar.gz
ports-da457d84bea74d66400f531b6432697cf33adb80.zip
Add the missing patches and unbreak build.
Notes
Notes: svn path=/head/; revision=529179
Diffstat (limited to 'cad')
-rw-r--r--cad/cura-engine/files/patch-src_layerPart.cpp8
-rw-r--r--cad/cura-engine/files/patch-src_support.cpp8
2 files changed, 16 insertions, 0 deletions
diff --git a/cad/cura-engine/files/patch-src_layerPart.cpp b/cad/cura-engine/files/patch-src_layerPart.cpp
new file mode 100644
index 000000000000..e80ac0586afb
--- /dev/null
+++ b/cad/cura-engine/files/patch-src_layerPart.cpp
@@ -0,0 +1,8 @@
+--- src/layerPart.cpp.orig 2020-03-17 23:31:49 UTC
++++ src/layerPart.cpp
+@@ -1,3 +1,5 @@
++#undef __GNUC__
++#define __GNUC__ 9
+ //Copyright (c) 2018 Ultimaker B.V.
+ //CuraEngine is released under the terms of the AGPLv3 or higher.
+
diff --git a/cad/cura-engine/files/patch-src_support.cpp b/cad/cura-engine/files/patch-src_support.cpp
new file mode 100644
index 000000000000..ab6355fce883
--- /dev/null
+++ b/cad/cura-engine/files/patch-src_support.cpp
@@ -0,0 +1,8 @@
+--- src/support.cpp.orig 2020-03-17 23:31:20 UTC
++++ src/support.cpp
+@@ -1,3 +1,5 @@
++#undef __GNUC__
++#define __GNUC__ 9
+ //Copyright (c) 2019 Ultimaker B.V.
+ //CuraEngine is released under the terms of the AGPLv3 or higher.
+