[Bug 275527] cad/scotch: Add missing includes in scotch.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Dec 2023 18:16:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275527

            Bug ID: 275527
           Summary: cad/scotch: Add missing includes in scotch.h
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: thierry@FreeBSD.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)

Created attachment 246774
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246774&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.