Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 19:48:23 GMT
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aa020f5d083d - main - cad/cura-engine: Fixed on i386
Message-ID:  <202411101948.4AAJmNw5046734@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by db:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa020f5d083d42aa7b82ea87c106a630b19bf792

commit aa020f5d083d42aa7b82ea87c106a630b19bf792
Author:     Diane Bruce <db@FreeBSD.org>
AuthorDate: 2024-11-10 19:46:49 +0000
Commit:     Diane Bruce <db@FreeBSD.org>
CommitDate: 2024-11-10 19:46:49 +0000

    cad/cura-engine: Fixed on i386
    
    - size_t vs. UL error in min() cast fixes it.
    - Add missing libs in LIB_DEPENDS reported by poudriere
---
 cad/cura-engine/files/patch-src_TreeSupport.cpp | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cad/cura-engine/files/patch-src_TreeSupport.cpp b/cad/cura-engine/files/patch-src_TreeSupport.cpp
new file mode 100644
index 000000000000..8e329b4e997a
--- /dev/null
+++ b/cad/cura-engine/files/patch-src_TreeSupport.cpp
@@ -0,0 +1,11 @@
+--- src/TreeSupport.cpp.orig	2024-04-02 12:26:14 UTC
++++ src/TreeSupport.cpp
+@@ -2232,7 +2232,7 @@ void TreeSupport::finalizeInterfaceAndSupportAreas(
+                     floor_layer.add(layer_outset.intersection(storage.getLayerOutlines(sample_layer, no_support, no_prime_tower)));
+                     if (layers_below < config.support_bottom_layers)
+                     {
+-                        layers_below = std::min(layers_below + 1UL, config.support_bottom_layers);
++                        layers_below = std::min(layers_below + (size_t)1, config.support_bottom_layers);
+                     }
+                     else
+                     {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411101948.4AAJmNw5046734>