Fix the build when using igraph >= 0.10. Retrieved from: https://sourceforge.net/p/rankwidth/tickets/2/. --- rw-0.9/simplerw.c.newigraph 2017-02-14 00:20:35.000000000 +0900 +++ rw-0.9/simplerw.c 2022-09-11 19:39:47.033917305 +0900 @@ -134,7 +134,11 @@ int read_graph(const char *format, const igraph_destroy(&igraph); return(-1); } +#if (IGRAPH_VERSION_MAJOR >= 1) || ((IGRAPH_VERSION_MAJOR == 0) && (IGRAPH_VERSION_MINOR >= 10)) + igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, NULL, IGRAPH_LOOPS_ONCE); +#else igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, 0); +#endif igraph_destroy(&igraph); if(igraph_matrix_nrow(&imatrix) > MAX_VERTICES) { d'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:08:52 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:30 +0300
commitfbff88da7f6178a11ccd5f08c0c0927480255f2d (patch)
treec73df4abf0ed4fd0d3811ac5798a40f15dbb69b0 /gnu/packages
parent587808e847c6a14b1e41f7d68eff9a117b9e56dd (diff)
downloadguix-fbff88da7f6178a11ccd5f08c0c0927480255f2d.tar.gz
guix-fbff88da7f6178a11ccd5f08c0c0927480255f2d.zip
gnu: Add rust-strobe-rs-0.5.
* gnu/packages/crates-io.scm (rust-strobe-rs-0.5): Add variable. Change-Id: Ifc584e0393eb6abb81cf20fb6afeb0ca253e2ef7 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5de837c0cd..17b792727a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm