Skip to content

Commit

Permalink
munkres-algorithm: add patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Sep 15, 2024
1 parent 39b8fb8 commit 3d2b36f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/m/munkres-algorithm/patches/2021.04.05/cstdint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/munkres.hpp b/munkres.hpp
index 694aff1..ac2ecca 100644
--- a/munkres.hpp
+++ b/munkres.hpp
@@ -12,6 +12,7 @@
#include <limits>
#include <vector>
#include <algorithm>
+#include <cstdint>

namespace detail
{
2 changes: 2 additions & 0 deletions packages/m/munkres-algorithm/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ package("munkres-algorithm")
add_urls("https://github.com/aaron-michaux/munkres-algorithm.git")
add_versions("2021.04.05", "30c5fbdde1e5a9fb44fcac55b7c0e8676baaccfd")

add_patches("2021.04.05", "patches/2021.04.05/cstdint.patch", "ceca3960e7fbed9578517c1e5830e5e056d4c0bdcc250871d3277364729c78fe")

on_install(function (package)
os.cp("munkres.hpp", package:installdir("include"))
end)
Expand Down

0 comments on commit 3d2b36f

Please sign in to comment.