Skip to content
Snippets Groups Projects
Commit 779160f2 authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

science/psi4: Fix build breakages due to missing errno declaration

... by backporting the patch.

Reported by:	fallout
parent 2a813bbc
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,9 @@ PORTREVISION= 1
CATEGORIES= science # quantum-chemistry
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= f8f1cd0ca7cd13fa25864f9a20666e43d160dbe6.patch:-p1 # include <cerrno> where required for the sake of FreeBSD, see https://github.com/psi4/psi4/pull/2811
MAINTAINER= yuri@FreeBSD.org
COMMENT= Open-source suite of ab initio quantum chemistry programs
WWW= https://psicode.org/
......
TIMESTAMP = 1669871848
TIMESTAMP = 1670410303
SHA256 (psi4-psi4-1.6.1-20221122-0889d6d34_GH0.tar.gz) = 2ae56a29a2e6a9677ae6bcf0f302a22086427effee072c8fa58d0f12ee55cdef
SIZE (psi4-psi4-1.6.1-20221122-0889d6d34_GH0.tar.gz) = 44809685
SHA256 (f8f1cd0ca7cd13fa25864f9a20666e43d160dbe6.patch) = 86049226ae985cc526010bf175fd69758ccbcecd02b853ef284b5957e1923d0a
SIZE (f8f1cd0ca7cd13fa25864f9a20666e43d160dbe6.patch) = 1538
- workaround for https://github.com/psi4/psi4/issues/2810
--- psi4/src/psi4/libpsio/rw.cc.orig 2022-12-01 20:44:27 UTC
+++ psi4/src/psi4/libpsio/rw.cc
@@ -32,6 +32,7 @@
*/
#include <cstdio>
+#include <cerrno>
#include "psi4/libpsio/psio.h"
#include "psi4/libpsio/psio.hpp"
#include "psi4/psi4-dec.h"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment