git: 779160f21e3d - main - science/psi4: Fix build breakages due to missing errno declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Dec 2022 11:51:34 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=779160f21e3d4bfe3673514e6214d1275130a521 commit 779160f21e3d4bfe3673514e6214d1275130a521 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-07 11:50:34 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-07 11:51:32 +0000 science/psi4: Fix build breakages due to missing errno declaration ... by backporting the patch. Reported by: fallout --- science/psi4/Makefile | 3 +++ science/psi4/distinfo | 4 +++- science/psi4/files/patch-psi4_src_psi4_libpsio_rw.cc | 12 ------------ 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/science/psi4/Makefile b/science/psi4/Makefile index 2cd50fbedc89..bcfb8f935ffd 100644 --- a/science/psi4/Makefile +++ b/science/psi4/Makefile @@ -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/ diff --git a/science/psi4/distinfo b/science/psi4/distinfo index a27e7c5f9d75..f1fb8da39feb 100644 --- a/science/psi4/distinfo +++ b/science/psi4/distinfo @@ -1,3 +1,5 @@ -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 diff --git a/science/psi4/files/patch-psi4_src_psi4_libpsio_rw.cc b/science/psi4/files/patch-psi4_src_psi4_libpsio_rw.cc deleted file mode 100644 index 4343c2bdb981..000000000000 --- a/science/psi4/files/patch-psi4_src_psi4_libpsio_rw.cc +++ /dev/null @@ -1,12 +0,0 @@ -- 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"