mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-misc/dtach: fix build w/ gcc-15
Closes: https://bugs.gentoo.org/944323 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
c04e17d888
commit
4a482237f3
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -11,6 +11,10 @@ SLOT="0"
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.9-c23.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
dobin dtach
|
||||
doman dtach.1
|
||||
|
||||
20
app-misc/dtach/files/dtach-0.9-c23.patch
Normal file
20
app-misc/dtach/files/dtach-0.9-c23.patch
Normal file
@ -0,0 +1,20 @@
|
||||
https://bugs.gentoo.org/944323
|
||||
https://github.com/crigler/dtach/pull/21
|
||||
|
||||
From 6d80909a8c0fd19717010a3c76fec560f988ca48 Mon Sep 17 00:00:00 2001
|
||||
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||
Date: Mon, 9 Dec 2024 12:35:09 +0000
|
||||
Subject: [PATCH] fix gcc-15 build
|
||||
|
||||
--- a/attach.c
|
||||
+++ b/attach.c
|
||||
@@ -96,7 +96,7 @@ die(int sig)
|
||||
|
||||
/* Window size change. */
|
||||
static RETSIGTYPE
|
||||
-win_change()
|
||||
+win_change(int sig)
|
||||
{
|
||||
signal(SIGWINCH, win_change);
|
||||
win_changed = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user