mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/ddccontrol: drop broken sed on non-amd64/x86
In... commit e620abbc937619f3d69896ff4d7ace2696bc0c93 Author: Manuel Rüger <mrueg@gentoo.org> 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 <robbat2@gentoo.org> 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 <vapier@gentoo.org> 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 <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user