Skip to content

Commit

Permalink
cad/scotch: Add missing include statements in include/scotch.h
Browse files Browse the repository at this point in the history
Otherwise int64_t and FILE are not found.

PR:		275527
Approved by:	thierry@FreeBSD.org (maintainer)
  • Loading branch information
yurivict committed Dec 4, 2023
1 parent 8905cb6 commit 77594fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down
16 changes: 16 additions & 0 deletions 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.
*/

0 comments on commit 77594fe

Please sign in to comment.