public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/vmd/files/, sci-chemistry/vmd/
Date: Tue, 08 Apr 2025 16:23:20 +0000 (UTC)	[thread overview]
Message-ID: <1744129296.c734eaf8a67fb36dd0e69f1fa68c2d20fbae1d23.pacho@gentoo> (raw)

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" \


             reply	other threads:[~2025-04-08 16:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08 16:23 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-09  9:17 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/vmd/files/, sci-chemistry/vmd/ Pacho Ramos
2021-05-02 19:22 Pacho Ramos
2020-09-19 12:29 Michał Górny
2020-09-09 17:03 Pacho Ramos
2020-03-08 18:47 Pacho Ramos
2019-12-15 15:31 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1744129296.c734eaf8a67fb36dd0e69f1fa68c2d20fbae1d23.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox