Date: Sun, 13 Oct 2024 19:02:05 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 5c63e88e58b5 - 2024Q4 - misc/nn-insight: Fix build Message-ID: <202410131902.49DJ25Bx089720@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c63e88e58b5852f16d9d515819cd205b55bb6af commit 5c63e88e58b5852f16d9d515819cd205b55bb6af Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-10-13 19:01:05 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-13 19:02:00 +0000 misc/nn-insight: Fix build Reported by: fallout (cherry picked from commit de9a3036c526d957ae20f293f75514229009c5be) --- misc/nn-insight/files/patch-graphviz-cgraph.cpp | 16 ++++++++++++++++ misc/nn-insight/files/patch-tensor.h | 7 ++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/misc/nn-insight/files/patch-graphviz-cgraph.cpp b/misc/nn-insight/files/patch-graphviz-cgraph.cpp new file mode 100644 index 000000000000..67aaf160b9c2 --- /dev/null +++ b/misc/nn-insight/files/patch-graphviz-cgraph.cpp @@ -0,0 +1,16 @@ +--- graphviz-cgraph.cpp.orig 2024-10-13 18:58:48 UTC ++++ graphviz-cgraph.cpp +@@ -67,11 +67,11 @@ Graphviz_CGraph::Node Graphviz_CGraph::addNode(const c + /// interface implementation + + Graphviz_CGraph::Node Graphviz_CGraph::addNode(const char *name) { +- return (Node)agnode(GRAPH, S(name), TRUE/*create*/); ++ return (Node)agnode(GRAPH, S(name), true/*create*/); + } + + Graphviz_CGraph::Edge Graphviz_CGraph::addEdge(Node node1, Node node2, const char *name) { +- return (Edge)agedge(GRAPH, NODE(node1), NODE(node2), S(name), TRUE/*create*/); ++ return (Edge)agedge(GRAPH, NODE(node1), NODE(node2), S(name), true/*create*/); + } + + void Graphviz_CGraph::setDefaultNodeShape(const char *shapeValue) { diff --git a/misc/nn-insight/files/patch-tensor.h b/misc/nn-insight/files/patch-tensor.h index 3fc4837591a5..c158f3b6401e 100644 --- a/misc/nn-insight/files/patch-tensor.h +++ b/misc/nn-insight/files/patch-tensor.h @@ -1,8 +1,9 @@ ---- tensor.h.orig 2020-08-13 20:43:40 UTC +--- tensor.h.orig 2022-05-15 02:44:06 UTC +++ tensor.h -@@ -1,5 +1,6 @@ - // Copyright (C) 2020 by Yuri Victorovich. All rights reserved. +@@ -3,6 +3,7 @@ + #pragma once + #include <ostream> +#include <memory> #include <vector>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410131902.49DJ25Bx089720>