commit: c734eaf8a67fb36dd0e69f1fa68c2d20fbae1d23 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Tue Apr 8 16:20:18 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Tue Apr 8 16:21:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c734eaf8
sci-chemistry/vmd: enable py3.13 Thanks-to: he.ousia Thanks-to: nanikata15 Closes: https://bugs.gentoo.org/952657 Closes: https://bugs.gentoo.org/947213 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch | 11 +++++++++++ sci-chemistry/vmd/vmd-1.9.4_alpha57-r3.ebuild | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch b/sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch new file mode 100644 index 000000000000..9207af9b2dee --- /dev/null +++ b/sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch @@ -0,0 +1,11 @@ +--- a/src/SelectionBuilder.C 2022-04-27 15:21:15.000000000 +0900 ++++ b/src/SelectionBuilder.C 2025-03-20 15:02:33.086330280 +0900 +@@ -182,7 +182,7 @@ + + int line = self->macrobrowser->value(); + if (!line) { +- self->macrooutput->value(NULL); ++ self->macrooutput->value(""); + return; + } + const char *name = self->macrobrowser->text(line); diff --git a/sci-chemistry/vmd/vmd-1.9.4_alpha57-r3.ebuild b/sci-chemistry/vmd/vmd-1.9.4_alpha57-r3.ebuild index cc5a157bf69a..23ba511a9c90 100644 --- a/sci-chemistry/vmd/vmd-1.9.4_alpha57-r3.ebuild +++ b/sci-chemistry/vmd/vmd-1.9.4_alpha57-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cuda desktop prefix python-single-r1 toolchain-funcs xdg @@ -120,6 +120,9 @@ src_prepare() { # https://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/32122.html eapply "${WORKDIR}"/${PN}-patches/${PN}-1.9.4-tmpdir.patch + # https://bugs.gentoo.org/947213 + eapply "${FILESDIR}"/${P}-fltk-null.patch + # PREFIX sed \ -e "s:/usr/include/:${EPREFIX}/usr/include:g" \
