From nobody Mon Feb 27 22:22:49 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQZkd5qbJz3tFKn; Mon, 27 Feb 2023 22:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQZkd4zwCz3jXQ; Mon, 27 Feb 2023 22:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677536569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dpXG5969prMZr/LgaNOZcN/3yw9iwkUnj4xbniML40Q=; b=GJmzZ7wQYzdmhSNg/GbiPQQ3MwYXZm27LA0L9JMPUaq3SPGOuePjSdEeQGotvdtu6Jl8P5 qvtNQ2DoiQ2ycNDuKQA3cOgesGg8Fjjk7em/FASVMt6WPvpu2oUAxdSgE1LuJWYNs+hyce uQLZV1JgOz68px3KwaBL04ism81xswy/KU9vD9OIipT+ZfYJC4oYTZWvG9j1n/rarTTXd7 wWYDFiiXDEOU6Ehia3xUglBFgqiHoZxgvKgbF5jgX9DUfstRS/96TK+rJvWIqQB1/EFLbY d/xYJfGPcojJWKWiVC10n7sqrox2N352V64C/SmfJ0bPy7RnXXa0CLkut8PMxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677536569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dpXG5969prMZr/LgaNOZcN/3yw9iwkUnj4xbniML40Q=; b=xEz3OtHb1WD/61u0H3kDaTNkhaO5UGKWNuHvHLhD1QxQhvZj/S0ysry0BJQvj+zilP1TK5 Es/E0wcaxsJ1DB5HdJK0MgAiymSQrWJjD3be+updsH+WUHUxMsK2TcvCkNhfBeWBqsBcWm vxrsn+gdlNeqbv8rELKo8DAfANdbyfh7D1GAsDktZW/DwNp4Q/IwVJGoAPFXnOFRJOe70C LtID8oF3FNQWsmesOUqB7SwOs+uVm5lPGObDvdhOiZVbYrWsQhcEUk9lwb6jGNWPV2kr0/ hSlwPmsJzG6Fb2Jht5FeLLK4qVxRFEa5HYJYYk99BzFA/BTOS/342RKbTskkmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677536569; a=rsa-sha256; cv=none; b=kt6bBhfPoVupSKU7GTEGR9akDjnUr+dH149YH88QywABVLYDE294YB2GLwC/3sUJ8G1fh6 kU9hl8Gcbe3pkHvz+/oSduU6gjjGIhhW33XlQrBHPJ0ydqyjnpkhhP+izRrWS9/cM4iphR nsKsTdYGBoFN4fAU62HqrPT3Es/zqbQzz9FwtuJxK8vtICjl0lujOXSxV2CTkxevg37HVi sgrEer5RKWCYyEM1VQriJvT0I0fOwa2G06pWG0bhVl/pFe5vso/N0BtdSU5JEKmW1wxvar 8QWIvCgXAcUqPJdPgyhRfq54b5i/Qjcf1J4YM/ONJlRY5WCp9Bga564XuoIaZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PQZkd43VTzjtc; Mon, 27 Feb 2023 22:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31RMMnHq045279; Mon, 27 Feb 2023 22:22:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31RMMnur045278; Mon, 27 Feb 2023 22:22:49 GMT (envelope-from git) Date: Mon, 27 Feb 2023 22:22:49 GMT Message-Id: <202302272222.31RMMnur045278@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: f3ed780a4dec - main - math/rankwidth: Fix build with new version igraph List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3ed780a4dec6a684bda1d8b2eb23ae28a4fbf13 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3ed780a4dec6a684bda1d8b2eb23ae28a4fbf13 commit f3ed780a4dec6a684bda1d8b2eb23ae28a4fbf13 Author: Wen Heping AuthorDate: 2023-02-27 22:12:58 +0000 Commit: Wen Heping CommitDate: 2023-02-27 22:15:28 +0000 math/rankwidth: Fix build with new version igraph PR: 269835 Reported by: wen@ Approved by: maintainer --- math/rankwidth/Makefile | 1 + math/rankwidth/files/patch-simplerw.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/math/rankwidth/Makefile b/math/rankwidth/Makefile index 9d7893bba895..ddc56597979a 100644 --- a/math/rankwidth/Makefile +++ b/math/rankwidth/Makefile @@ -1,5 +1,6 @@ PORTNAME= rankwidth # Also known as: rw PORTVERSION= 0.9 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/ DISTNAME= rw-${PORTVERSION} diff --git a/math/rankwidth/files/patch-simplerw.c b/math/rankwidth/files/patch-simplerw.c new file mode 100644 index 000000000000..378f8e7c47a3 --- /dev/null +++ b/math/rankwidth/files/patch-simplerw.c @@ -0,0 +1,11 @@ +--- 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) + {