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 8FEE6158094 for ; Sun, 7 Aug 2022 04:24:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAE0AE0E07; Sun, 7 Aug 2022 04:24:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A5973E0E07 for ; Sun, 7 Aug 2022 04:24:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 80321340FB9 for ; Sun, 7 Aug 2022 04:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7944448 for ; Sun, 7 Aug 2022 04:24:35 +0000 (UTC) From: "WANG Xuerui" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "WANG Xuerui" Message-ID: <1659846250.a041e5a65ffbd2004f9201f9bd87bac5419dabb0.xen0n@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/linux-atm/, net-dialup/linux-atm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/linux-atm/files/linux-atm-2.5.2-linux-headers-5.19.patch net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild X-VCS-Directories: net-dialup/linux-atm/ net-dialup/linux-atm/files/ X-VCS-Committer: xen0n X-VCS-Committer-Name: WANG Xuerui X-VCS-Revision: a041e5a65ffbd2004f9201f9bd87bac5419dabb0 X-VCS-Branch: master Date: Sun, 7 Aug 2022 04:24:35 +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: 87da03c7-8072-4e88-9542-d8a085ba8231 X-Archives-Hash: dcd14a95d2638a5f5e552d4697949640 commit: a041e5a65ffbd2004f9201f9bd87bac5419dabb0 Author: WANG Xuerui gentoo org> AuthorDate: Sun Aug 7 04:20:58 2022 +0000 Commit: WANG Xuerui gentoo org> CommitDate: Sun Aug 7 04:24:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a041e5a6 net-dialup/linux-atm: fix build with linux-headers-5.19 Closes: https://bugs.gentoo.org/863677 Suggested-by: Andreas K. Hüttel gentoo.org> Signed-off-by: WANG Xuerui gentoo.org> .../files/linux-atm-2.5.2-linux-headers-5.19.patch | 24 ++++++++++++++++++++++ net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild | 1 + 2 files changed, 25 insertions(+) diff --git a/net-dialup/linux-atm/files/linux-atm-2.5.2-linux-headers-5.19.patch b/net-dialup/linux-atm/files/linux-atm-2.5.2-linux-headers-5.19.patch new file mode 100644 index 000000000000..eeb96f262f2e --- /dev/null +++ b/net-dialup/linux-atm/files/linux-atm-2.5.2-linux-headers-5.19.patch @@ -0,0 +1,24 @@ +linux/atm_zatm.h was removed in >=linux-headers-5.19. As the hardware is +said to be unlikely working on modern systems, just disable its utility +program to keep the rest building. + +See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=052e1f01bfae8be6 + +--- a/src/maint/Makefile.am ++++ b/src/maint/Makefile.am +@@ -1,5 +1,5 @@ + BOOTPGMS=atmaddr esi +-SYSPGMS=atmloop atmtcp enitune zntune hediag # nstune ++SYSPGMS=atmloop atmtcp enitune hediag # nstune zntune + USRPGMS=atmdiag atmdump sonetdiag saaldump + + INCLUDES=-I$(srcdir)/../q2931 -I$(srcdir)/../saal -I. +@@ -14,7 +14,7 @@ esi_SOURCES = esi.c + atmloop_SOURCES = atmloop.c + atmtcp_SOURCES = atmtcp.c + enitune_SOURCES = enitune.c +-zntune_SOURCES = zntune.c ++#zntune_SOURCES = zntune.c + #nstune_SOURCES = nstune.c + + atmdiag_SOURCES = atmdiag.c diff --git a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild index 123c75c3009d..e86231713615 100644 --- a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild +++ b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild @@ -22,6 +22,7 @@ CONFIG_CHECK="~ATM" PATCHES=( "${FILESDIR}"/${P}-headers.patch "${FILESDIR}"/${P}-linux-5.2-SIOCGSTAMP.patch + "${FILESDIR}"/${P}-linux-headers-5.19.patch ) src_prepare() {