Date: Mon, 4 Dec 2023 22:48:02 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 77594feff67c - main - cad/scotch: Add missing include statements in include/scotch.h Message-ID: <202312042248.3B4Mm2wu029446@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: 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 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/cad/scotch/Makefile b/cad/scotch/Makefile index 9fb933476d7d..94b860411305 100644 --- a/cad/scotch/Makefile +++ b/cad/scotch/Makefile @@ -1,6 +1,6 @@ PORTNAME= scotch DISTVERSION= 6.0.4-aster7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad science MAINTAINER= thierry@FreeBSD.org diff --git a/cad/scotch/files/patch-src_libscotch_library.h b/cad/scotch/files/patch-src_libscotch_library.h new file mode 100644 index 000000000000..9af926eebfad --- /dev/null +++ b/cad/scotch/files/patch-src_libscotch_library.h @@ -0,0 +1,16 @@ +- workaround for: +- - https://gitlab.inria.fr/scotch/scotch/-/issues/35 +- - https://github.com/FreeFem/FreeFem-sources/issues/296 + +--- src/libscotch/library.h.orig 2017-02-22 07:20:57 UTC ++++ src/libscotch/library.h +@@ -61,6 +61,9 @@ + #ifndef SCOTCH_H + #define SCOTCH_H + ++#include <sys/types.h> ++#include <stdio.h> ++ + /* + ** The type and structure definitions. + */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312042248.3B4Mm2wu029446>