From 3e16a6f093a3a974a79f39308dc6bcdd2592f942 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 10 May 2025 01:50:21 +0100 Subject: [PATCH] app-misc/ddccontrol: drop broken sed on non-amd64/x86 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In... commit e620abbc937619f3d69896ff4d7ace2696bc0c93 Author: Manuel RĂ¼ger Date: Wed Jul 10 09:46:16 2013 +0000 Non-maintainer commit: Add support for fglrx (AMD ADL). Fix desktop file. See bug #475568 (Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key ) ... .in gets changed to .ini, which seems weird. The line itself goes back to: commit 3255c2e57a7c24147aa50ca7cf9603211e790e9a Author: Robin H. Johnson Date: Sun Jul 15 07:44:37 2007 +0000 Bug #163057 - compile fix for zlib'd pciutils. Also fix compile on ppc for in/out/ioperm usage. (Portage version: 2.1.3_rc8) Back then, it was: + if [ "${ARCH/64}" == "ppc" ]; then It changed to the current arch check with: commit 5cb6622ff2a100c12d020f1d03bf25ac9670e072 Author: Mike Frysinger Date: Wed Jan 25 02:17:34 2012 +0000 Migrate to EAPI=4, fix build with newer automake with patch from upstream, add USE=static-libs support, and add USE=ddcpci to control the setuid binary. (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) In any case, let's just drop it and see what happens. Especially given it's been broken for non-amd64 + x86 (which is the case it's supposed to help with) for several months at the very least. Closes: https://bugs.gentoo.org/949965 Signed-off-by: Sam James --- app-misc/ddccontrol/ddccontrol-1.0.3.ebuild | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/app-misc/ddccontrol/ddccontrol-1.0.3.ebuild b/app-misc/ddccontrol/ddccontrol-1.0.3.ebuild index 6cbf5efddb67b..89dbde971c8f0 100644 --- a/app-misc/ddccontrol/ddccontrol-1.0.3.ebuild +++ b/app-misc/ddccontrol/ddccontrol-1.0.3.ebuild @@ -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 @@ -51,22 +51,6 @@ BDEPEND=" " src_prepare() { - # ppc/ppc64 do not have inb/outb/ioperm - # they also do not have (sys|asm)/io.h - if ! use amd64 && ! use x86 ; then - local card - for card in sis intel810 ; do - sed -r -i \ - -e "/${card}.Po/d" \ - -e "s~${card}[^[:space:]]*~ ~g" \ - src/ddcpci/Makefile.{am,ini} || die - done - sed -i \ - -e '/sis_/d' \ - -e '/i810_/d' \ - src/ddcpci/main.c || die - fi - default ## Save for a rainy day or future patching