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 0174315852A for ; Fri, 16 Aug 2024 01:16:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21149E29F9; Fri, 16 Aug 2024 01:16:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05134E29F9 for ; Fri, 16 Aug 2024 01:16:20 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DB96335DC0 for ; Fri, 16 Aug 2024 01:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C9851ECB for ; Fri, 16 Aug 2024 01:16:18 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1723770757.f5541d1deb040690b1e876fb5a69eb489be13c30.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libmspub/files/, app-text/libmspub/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libmspub/files/libmspub-0.1.4-gcc15.patch app-text/libmspub/libmspub-0.1.4.ebuild X-VCS-Directories: app-text/libmspub/files/ app-text/libmspub/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: f5541d1deb040690b1e876fb5a69eb489be13c30 X-VCS-Branch: master Date: Fri, 16 Aug 2024 01:16:18 +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: dc13b742-afba-46f3-9505-cf5a738b0e80 X-Archives-Hash: 55d0f8127c606cf7ac6544dc7a0881a6 commit: f5541d1deb040690b1e876fb5a69eb489be13c30 Author: Eli Schwartz gentoo org> AuthorDate: Fri Aug 16 01:11:17 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Fri Aug 16 01:12:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5541d1d app-text/libmspub: backport another missing include for gcc-15 this time Closes: https://bugs.gentoo.org/937418 Signed-off-by: Eli Schwartz gentoo.org> app-text/libmspub/files/libmspub-0.1.4-gcc15.patch | 42 ++++++++++++++++++++++ app-text/libmspub/libmspub-0.1.4.ebuild | 7 +++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch b/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch new file mode 100644 index 000000000000..31377b852de4 --- /dev/null +++ b/app-text/libmspub/files/libmspub-0.1.4-gcc15.patch @@ -0,0 +1,42 @@ +From 06cd691e6d9664847d0fb5f096e296be85bedc59 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Thu, 15 Aug 2024 20:55:25 -0400 +Subject: [PATCH] fix missing include + +int64_t comes from stdint.h, but it was never included. This is +transitively provided by some headers, on some versions of GCC, but in +GCC 15 a bit of routine cleanup means this header is no longer silently +exposed to arbitrary codebases without asking. + +As such, it fails to build. + +In upstream libmspub commit 28c545e7d04d58af998bcf4af5d1bb326d29836c, +the boost cstdint header was added as part of other work. I am not sure +why -- maybe to fix this missing header? :D But using all of boost for +this is a bit odd and unnecessary, especially when not backporting an +entire commit. + +Add in the correct stdlib header as a local backport while distros wait +for libmspub to release a new version. + +Signed-off-by: Eli Schwartz +--- + src/lib/Coordinate.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/lib/Coordinate.h b/src/lib/Coordinate.h +index bec3fe2..b87608d 100644 +--- a/src/lib/Coordinate.h ++++ b/src/lib/Coordinate.h +@@ -10,6 +10,8 @@ + #ifndef INCLUDED_COORDINATE_H + #define INCLUDED_COORDINATE_H + ++#include ++ + #include "MSPUBConstants.h" + + namespace libmspub +-- +2.44.2 + diff --git a/app-text/libmspub/libmspub-0.1.4.ebuild b/app-text/libmspub/libmspub-0.1.4.ebuild index 78d0df1963cf..40612b0cc463 100644 --- a/app-text/libmspub/libmspub-0.1.4.ebuild +++ b/app-text/libmspub/libmspub-0.1.4.ebuild @@ -33,7 +33,12 @@ BDEPEND=" doc? ( app-text/doxygen ) " -PATCHES=( "${FILESDIR}/${P}-gcc10.patch" ) +PATCHES=( + # upstream backport + "${FILESDIR}/${P}-gcc10.patch" + # manually backported + "${FILESDIR}/${P}-gcc15.patch" +) src_prepare() { default