1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

math/rankwidth: unbreak by upgrading to 0.10

Support igraph 0.10 and later, including current igraph 1.0.
Support current autoconf 2.72.
This commit is contained in:
Thierry Thomas
2025-12-23 22:40:19 +00:00
parent e159db2e61
commit 9f5c934cc5
3 changed files with 4 additions and 19 deletions
+1 -5
View File
@@ -1,6 +1,5 @@
PORTNAME= rankwidth # Also known as: rw
PORTVERSION= 0.9
PORTREVISION= 2
PORTVERSION= 0.10
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/
DISTNAME= rw-${PORTVERSION}
@@ -11,9 +10,6 @@ WWW= https://sourceforge.net/projects/rankwidth/
LICENSE= GPLv2
# See https://sourceforge.net/p/rankwidth/tickets/4/
BROKEN= does not support igraph>=1.0.0
LIB_DEPENDS= libigraph.so:math/igraph
USES= autoreconf libtool localbase pkgconfig
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1600113132
SHA256 (rw-0.9.tar.gz) = c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441
SIZE (rw-0.9.tar.gz) = 340385
TIMESTAMP = 1766509750
SHA256 (rw-0.10.tar.gz) = 89a8ed364893ac1b70ab70a152e3e7db3cf348bb69098aa6dbb969639df927db
SIZE (rw-0.10.tar.gz) = 355838
-11
View File
@@ -1,11 +0,0 @@
--- simplerw.c.orig 2023-02-26 14:01:13 UTC
+++ simplerw.c
@@ -134,7 +134,7 @@ int read_graph(const char *format, const char * filena
igraph_destroy(&igraph);
return(-1);
}
- igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, 0);
+ igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, NULL, IGRAPH_LOOPS_ONCE);
igraph_destroy(&igraph);
if(igraph_matrix_nrow(&imatrix) > MAX_VERTICES)
{