From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5137615852A for ; Thu, 15 Aug 2024 14:07:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0B27E29D6; Thu, 15 Aug 2024 14:07:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C00EAE29D6 for ; Thu, 15 Aug 2024 14:07:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88002343019 for ; Thu, 15 Aug 2024 14:07:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBADA1ECB for ; Thu, 15 Aug 2024 14:07:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723730792.3fb82ca8c2c89b551977fe98aee0f578bdf6ace4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/, sci-physics/lhapdf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild X-VCS-Directories: sci-physics/lhapdf/ sci-physics/lhapdf/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3fb82ca8c2c89b551977fe98aee0f578bdf6ace4 X-VCS-Branch: master Date: Thu, 15 Aug 2024 14:07:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a6efea5b-0b45-453a-8ef8-7cae60785154 X-Archives-Hash: 37bc5f229a2f541ff71a9f8a418bd390 commit: 3fb82ca8c2c89b551977fe98aee0f578bdf6ace4 Author: Christopher Fore posteo net> AuthorDate: Thu Aug 15 13:47:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 15 14:06:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb82ca8 sci-physics/lhapdf: Fix compilation on GCC 15 - Include patch from upstream MR (refer to patch file) Closes: https://bugs.gentoo.org/937778 Signed-off-by: Christopher Fore posteo.net> Closes: https://github.com/gentoo/gentoo/pull/38162 Signed-off-by: Sam James gentoo.org> .../files/lhapdf-6.5.4-include-cstdint.patch | 31 ++++++++++++++++++++++ sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild | 4 +++ 2 files changed, 35 insertions(+) diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch b/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch new file mode 100644 index 000000000000..2afed53f210b --- /dev/null +++ b/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch @@ -0,0 +1,31 @@ +https://gitlab.com/hepcedar/lhapdf/merge_requests/96 + +From: Christopher Fore +Date: Wed, 14 Aug 2024 20:38:03 -0400 +Subject: [PATCH] yamlcpp: Explicitly include + +GCC 15 will no longer include by default, resulting in build +failures in projects that do not explicitly include it. + +Error: +emitterutils.cpp:221:11: error: 'uint16_t' was not declared in this scope + 221 | std::pair EncodeUTF16SurrogatePair(int codePoint) { + | ^~~~~~~~ +emitterutils.cpp:13:1: +note: 'uint16_t' is defined in header ''; +this is probably fixable by adding '#include ' + 12 | #include "yaml-cpp/null.h" + +++ |+#include + 13 | #include "yaml-cpp/ostream_wrapper.h" + +See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html +See-also: https://bugs.gentoo.org/937778 +Signed-off-by: Christopher Fore +--- a/src/yamlcpp/emitterutils.cpp ++++ b/src/yamlcpp/emitterutils.cpp +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + diff --git a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild index 7e3801a3d0e3..f5d5eb09c594 100644 --- a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild +++ b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild @@ -42,6 +42,10 @@ BDEPEND=" ') " +PATCHES=( + "${FILESDIR}"/${PN}-6.5.4-include-cstdint.patch +) + pkg_setup() { use python && python-single-r1_pkg_setup }