summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-11-03 18:43:44 +0100
committerDavid Seifert <soap@gentoo.org>2024-11-03 18:43:44 +0100
commit377d715163dfa1ebdca926b316ecda3cc1bf6789 (patch)
treeb802a64fb6b91abfb058d84b4a6a349e2699dade /sci-chemistry
parentsys-libs/glibc: drop 2.39-r9, 2.39-r10, 2.40-r4 (diff)
downloadgentoo-377d715163dfa1ebdca926b316ecda3cc1bf6789.tar.gz
gentoo-377d715163dfa1ebdca926b316ecda3cc1bf6789.tar.bz2
gentoo-377d715163dfa1ebdca926b316ecda3cc1bf6789.zip
sci-chemistry/psi: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/886127 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/psi/files/psi-3.4.0-C99.patch22
-rw-r--r--sci-chemistry/psi/psi-3.4.0-r3.ebuild (renamed from sci-chemistry/psi/psi-3.4.0-r2.ebuild)6
2 files changed, 25 insertions, 3 deletions
diff --git a/sci-chemistry/psi/files/psi-3.4.0-C99.patch b/sci-chemistry/psi/files/psi-3.4.0-C99.patch
new file mode 100644
index 000000000000..798e29fadd96
--- /dev/null
+++ b/sci-chemistry/psi/files/psi-3.4.0-C99.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/886127
+
+--- a/src/lib/libipv1/parse.y
++++ b/src/lib/libipv1/parse.y
+@@ -1,6 +1,7 @@
+ %{
+ #include <stdio.h>
+ #include <tmpl.h>
++#include "ip_error.gbl"
+ #include "ip_types.h"
+ #include "ip_read.gbl"
+ %}
+--- a/src/lib/libipv1/scan.l
++++ b/src/lib/libipv1/scan.l
+@@ -1,6 +1,7 @@
+ %{
+ #include <string.h>
+ #include <tmpl.h>
++#include "ip_error.gbl"
+ #include "ip_types.h"
+ #include "ip_global.h"
+ #include "scan.gbl"
diff --git a/sci-chemistry/psi/psi-3.4.0-r2.ebuild b/sci-chemistry/psi/psi-3.4.0-r3.ebuild
index d719fe265a17..aaeed8c8d19c 100644
--- a/sci-chemistry/psi/psi-3.4.0-r2.ebuild
+++ b/sci-chemistry/psi/psi-3.4.0-r3.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools fortran-2 toolchain-funcs
DESCRIPTION="Suite for ab initio quantum chemistry computing various molecular properties"
HOMEPAGE="http://www.psicode.org/"
SRC_URI="https://downloads.sourceforge.net/psicode/${P}.tar.gz"
+S="${WORKDIR}/${PN}${PV:0:1}"
LICENSE="GPL-2"
SLOT="0"
@@ -27,8 +28,6 @@ BDEPEND="
virtual/pkgconfig
test? ( dev-lang/perl )"
-S="${WORKDIR}/${PN}${PV:0:1}"
-
PATCHES=(
"${FILESDIR}"/${PV}-dont-build-libint.patch
"${FILESDIR}"/use-external-libint.patch
@@ -41,6 +40,7 @@ PATCHES=(
"${FILESDIR}"/${PV}-fortify.patch
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-perl-File-Temp.patch
+ "${FILESDIR}"/${P}-C99.patch
)
src_prepare() {