Stuart Henderson:

> build failures: 7
>     devel/cutter

Here's a fix.  If I understand the code correctly, this struct
element is assigned an iterator over a std::unordered_map<ut64, ...>.
I have confirmed that cutter builds with this on i386.

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cutter/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    14 Aug 2020 17:15:56 -0000      1.7
+++ Makefile    24 Aug 2020 22:47:57 -0000
@@ -5,6 +5,7 @@ COMMENT =       RE platform powered by radare2
 GH_ACCOUNT =   radareorg
 GH_PROJECT =   cutter
 GH_TAGNAME =   v1.11.1
+REVISION =     0
 
 CATEGORIES =   devel
 
Index: patches/patch-src_widgets_GraphGridLayout_cpp
===================================================================
RCS file: patches/patch-src_widgets_GraphGridLayout_cpp
diff -N patches/patch-src_widgets_GraphGridLayout_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_widgets_GraphGridLayout_cpp       24 Aug 2020 22:47:57 
-0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/widgets/GraphGridLayout.cpp
+--- src/widgets/GraphGridLayout.cpp.orig
++++ src/widgets/GraphGridLayout.cpp
+@@ -526,7 +526,7 @@ void GraphGridLayout::calculateEdgeMainColumn(GraphGri
+     // to contain blocks above sweep line and query for nearest column which 
isn't blocked by a block.
+ 
+     struct Event {
+-        size_t blockId;
++        ut64 blockId;
+         size_t edgeId;
+         int row;
+         enum Type {

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to