mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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@gentoo.org>
This commit is contained in:
11
sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch
Normal file
11
sci-chemistry/vmd/files/vmd-1.9.4_alpha57-fltk-null.patch
Normal file
@@ -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);
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user