public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
Date: Mon, 30 Jun 2025 05:18:39 +0000 (UTC)	[thread overview]
Message-ID: <1751260666.732230c0f163aa18f05e273df597e2bb00fdb97c.sam@gentoo> (raw)

commit:     732230c0f163aa18f05e273df597e2bb00fdb97c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 05:17:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 05:17:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732230c0

sci-libs/cgnslib: fix finding internal Tcl headers

The patch we were using in 4.4.0 is upstream now but unfortunately has
the same issue.

Bug: https://bugs.gentoo.org/934122
Closes: https://bugs.gentoo.org/959272
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cgnslib/cgnslib-4.5.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sci-libs/cgnslib/cgnslib-4.5.0.ebuild b/sci-libs/cgnslib/cgnslib-4.5.0.ebuild
index 117a26a45517..fda3e085bea4 100644
--- a/sci-libs/cgnslib/cgnslib-4.5.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.5.0.ebuild
@@ -65,6 +65,12 @@ src_configure() {
 	# https://github.com/CGNS/CGNS/issues/758
 	filter-lto
 
+	# Needed for uses an internal header (bug #934122)
+	local tk_ver=$(best_version dev-lang/tk)
+	tk_ver=${tk_ver#dev-lang/tk-}
+	tk_ver=$(ver_cut 1-2 ${tk_ver})
+	append-cppflags -I"${ESYSROOT}/usr/$(get_libdir)/tk${tk_ver}/include/generic"
+
 	local mycmakeargs=(
 		-DCGNS_BUILD_SHARED=ON
 		-DCGNS_USE_SHARED=ON


             reply	other threads:[~2025-06-30  5:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-30  5:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 18:45 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/ Sam James
2024-10-05 11:47 Jakov Smolić
2024-03-22 18:28 Sam James
2024-03-08 11:09 Sam James
2024-03-08 11:09 Sam James
2023-04-20 19:37 Sam James
2023-04-18 15:49 Andrew Ammerlaan
2023-03-04 13:51 Arthur Zamarin
2022-10-04 18:37 Arthur Zamarin
2022-10-02 19:40 Arthur Zamarin
2022-05-28  9:47 Andrew Ammerlaan
2021-01-17 11:52 David Seifert
2020-12-27 19:15 Sam James
2020-12-27  3:37 Sam James
2020-12-27  3:37 Sam James
2019-07-19 10:21 Slawek Lis
2019-07-19  3:43 Slawek Lis
2016-11-25  9:02 Slawek Lis
2016-03-18 19:18 Sebastien Fabbro

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=1751260666.732230c0f163aa18f05e273df597e2bb00fdb97c.sam@gentoo \
    --to=sam@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