diff --git a/testing/rankwidth/APKBUILD b/testing/rankwidth/APKBUILD index 045bd1eb4cd..7ab6d7d279d 100644 --- a/testing/rankwidth/APKBUILD +++ b/testing/rankwidth/APKBUILD @@ -2,22 +2,25 @@ # Maintainer: pkgname=rankwidth pkgver=0.9 -pkgrel=3 +pkgrel=4 pkgdesc="Library for calculating rank-width and rank-decompositions" url="https://sourceforge.net/projects/rankwidth/" arch="all" license="GPL-2.0-or-later" makedepends="libigraph-dev" options="!check" # no test suite -source="https://master.dl.sourceforge.net/project/rankwidth/rw-$pkgver.tar.gz - igraph-0.10.1.patch" +source=" + https://master.dl.sourceforge.net/project/rankwidth/rw-$pkgver.tar.gz + igraph-0.10.1.patch + igraph-1.0.0.patch + " subpackages="$pkgname-static $pkgname-dev $pkgname-libs $pkgname-doc" builddir="$srcdir/rw-$pkgver" prepare() { - default_prepare - # config.sub is too old to recognize loongarch64-alpine-linux-musl - update_config_sub + default_prepare + # config.sub is too old to recognize loongarch64-alpine-linux-musl + update_config_sub } build() { @@ -38,4 +41,5 @@ package() { sha512sums=" f4f1910506cbdb557ca50bac6f63cfca3271a5df8d13c67d2d9bba79b9cdb03196a679e6091554175decbee0871888de71bed5746662c9a75418f0f5dd9bd609 rw-0.9.tar.gz 94871294bf2ffc2733cf14c241773bb339d5aab1e6f5b2801c8406df367045fbcb3c5fb9787f0bbf6c4fefc1c40aca93736f1df4520e30c00f24294209c2811f igraph-0.10.1.patch +cbcb72ada8c498647ca783f5d5c47149c14b23eb90f580808b9e1f1e886e1d28f39f43068b4034b3c0e99813d87ca60d1a18683e68dd06e89816d05a76ed2770 igraph-1.0.0.patch " diff --git a/testing/rankwidth/igraph-1.0.0.patch b/testing/rankwidth/igraph-1.0.0.patch new file mode 100644 index 00000000000..e7acdb2103a --- /dev/null +++ b/testing/rankwidth/igraph-1.0.0.patch @@ -0,0 +1,11 @@ +--- a/simplerw.c ++++ b/simplerw.c +@@ -121,7 +121,7 @@ + } + + // Check for undirectedness +- if(igraph_is_directed(&igraph) || igraph_is_simple(&igraph, &isimple) || !isimple) ++ if(igraph_is_directed(&igraph) || igraph_is_simple(&igraph, &isimple, IGRAPH_DIRECTED) || !isimple) + { + printf("Input is not a simple, undirected graph from file %s.\n", filename); + igraph_destroy(&igraph);