Created attachment 246774 [details] patch include/scotch.h uses int64_t without including sys/types.h, and uses FILE without including stdio.h The attached patch adds the workaround until the upstream would fix it. This patch fixes the problem that math/freefem++ fails to detect scotch during configure: https://github.com/FreeFem/FreeFem-sources/issues/296 Thanks, Yuri
Approved, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=77594feff67cf6792d805e079eb5567c21a125a7 commit 77594feff67cf6792d805e079eb5567c21a125a7 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-04 22:45:07 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-04 22:48:00 +0000 cad/scotch: Add missing include statements in include/scotch.h Otherwise int64_t and FILE are not found. PR: 275527 Approved by: thierry@FreeBSD.org (maintainer) cad/scotch/Makefile | 2 +- cad/scotch/files/patch-src_libscotch_library.h (new) | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-)
Committed. Thanks for the quick approval!
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=31200877cb24704207a4ddf28a00dd8826e284e4 commit 31200877cb24704207a4ddf28a00dd8826e284e4 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-04 22:45:07 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-04 23:06:19 +0000 cad/scotch: Add missing include statements in include/scotch.h Otherwise int64_t and FILE are not found. PR: 275527 Approved by: thierry@FreeBSD.org (maintainer) (cherry picked from commit 77594feff67cf6792d805e079eb5567c21a125a7) cad/scotch/Makefile | 2 +- cad/scotch/files/patch-src_libscotch_library.h (new) | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-)