Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2023 23:06:21 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 31200877cb24 - 2023Q4 - cad/scotch: Add missing include statements in include/scotch.h
Message-ID:  <202312042306.3B4N6L2U063833@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q4 has been updated by yuri:

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 | 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?202312042306.3B4N6L2U063833>