summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-12-05 04:48:26 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-12-05 04:48:26 +0000
commitd9128bb6052dde2a1f7b159c2f7cc59e9eafc9df (patch)
treea7aa8cd7aa6e82dd5849f2e3dbf157a7ade52b38 /app-laptop
parentwhitespace (diff)
downloadgentoo-2-d9128bb6052dde2a1f7b159c2f7cc59e9eafc9df.tar.gz
gentoo-2-d9128bb6052dde2a1f7b159c2f7cc59e9eafc9df.tar.bz2
gentoo-2-d9128bb6052dde2a1f7b159c2f7cc59e9eafc9df.zip
Remove old.
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/radeontool/ChangeLog7
-rw-r--r--app-laptop/radeontool/files/radeontool-1.5-mmap.patch12
-rw-r--r--app-laptop/radeontool/files/radeontool-1.5-pagesize.patch33
-rw-r--r--app-laptop/radeontool/files/radeontool-1.5-vga-ati.patch11
-rw-r--r--app-laptop/radeontool/radeontool-1.5-r3.ebuild42
5 files changed, 6 insertions, 99 deletions
diff --git a/app-laptop/radeontool/ChangeLog b/app-laptop/radeontool/ChangeLog
index 04944f82feb8..128e9c42bc77 100644
--- a/app-laptop/radeontool/ChangeLog
+++ b/app-laptop/radeontool/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-laptop/radeontool
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/radeontool/ChangeLog,v 1.30 2012/12/03 20:41:51 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/radeontool/ChangeLog,v 1.31 2012/12/05 04:48:25 kensington Exp $
+
+ 05 Dec 2012; Michael Palimaka <kensington@gentoo.org>
+ -files/radeontool-1.5-mmap.patch, -files/radeontool-1.5-pagesize.patch,
+ -files/radeontool-1.5-vga-ati.patch, -radeontool-1.5-r3.ebuild:
+ Remove old.
03 Dec 2012; <ago@gentoo.org> radeontool-1.6.3.ebuild:
Stable for x86, wrt bug #329959
diff --git a/app-laptop/radeontool/files/radeontool-1.5-mmap.patch b/app-laptop/radeontool/files/radeontool-1.5-mmap.patch
deleted file mode 100644
index b05eb54bf412..000000000000
--- a/app-laptop/radeontool/files/radeontool-1.5-mmap.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urp radeontool-1.5/radeontool.c radeontool-1.5-mmap/radeontool.c
---- radeontool-1.5/radeontool.c 2004-02-11 04:50:27.000000000 +0100
-+++ radeontool-1.5-mmap/radeontool.c 2005-01-20 13:12:50.000000000 +0100
-@@ -107,7 +107,7 @@ static unsigned char * map_devince_memor
- mem_fd,
- base
- );
-- if ((long)device_mem < 0) {
-+ if (device_mem == MAP_FAILED) {
- if(debug)
- fprintf(stderr,"mmap returned %d\n",(int)device_mem);
- fatal("mmap error \n");
diff --git a/app-laptop/radeontool/files/radeontool-1.5-pagesize.patch b/app-laptop/radeontool/files/radeontool-1.5-pagesize.patch
deleted file mode 100644
index caa8be42f883..000000000000
--- a/app-laptop/radeontool/files/radeontool-1.5-pagesize.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- radeontool.c.orig 2007-03-15 11:25:23.000000000 +0000
-+++ radeontool.c 2007-03-15 11:27:30.000000000 +0000
-@@ -21,7 +21,6 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <sys/mman.h>
--#include <asm/page.h>
-
- #include "radeon_reg.h"
-
-@@ -87,6 +86,7 @@
- {
- int mem_fd;
- unsigned char *device_mem;
-+ long page_size = sysconf(_SC_PAGESIZE);
-
- /* open /dev/mem */
- if ((mem_fd = open("/dev/mem", O_RDWR) ) < 0) {
-@@ -94,11 +94,11 @@
- }
-
- /* mmap graphics memory */
-- if ((device_mem = malloc(length + (PAGE_SIZE-1))) == NULL) {
-+ if ((device_mem = malloc(length + (page_size-1))) == NULL) {
- fatal("allocation error \n");
- }
-- if ((unsigned long)device_mem % PAGE_SIZE)
-- device_mem += PAGE_SIZE - ((unsigned long)device_mem % PAGE_SIZE);
-+ if ((unsigned long)device_mem % page_size)
-+ device_mem += page_size - ((unsigned long)device_mem % page_size);
- device_mem = (unsigned char *)mmap(
- (caddr_t)device_mem,
- length,
diff --git a/app-laptop/radeontool/files/radeontool-1.5-vga-ati.patch b/app-laptop/radeontool/files/radeontool-1.5-vga-ati.patch
deleted file mode 100644
index 8a1e9dd127d5..000000000000
--- a/app-laptop/radeontool/files/radeontool-1.5-vga-ati.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- radeontool-1.5/radeontool.c 2005-07-26 20:59:16.000000000 +0200
-+++ radeontool-1.5-ati-vga/radeontool.c 2005-07-26 20:59:48.000000000 +0200
-@@ -293,7 +293,7 @@
- if(fgets(line,sizeof(line),fp) == NULL) { /* if end of file */
- fatal("Radeon hardware not found in lspci output.\n");
- }
-- if(strstr(line,"Radeon") || strstr(line,"ATI Tech")) { /* if line contains a "radeon" string */
-+ if(strstr(line,"Radeon") || strstr(line,"VGA compatible controller: ATI Tech")) { /* if line contains a "radeon" string */
- if(skip-- < 1) {
- break;
- }
diff --git a/app-laptop/radeontool/radeontool-1.5-r3.ebuild b/app-laptop/radeontool/radeontool-1.5-r3.ebuild
deleted file mode 100644
index d8c7e211fea7..000000000000
--- a/app-laptop/radeontool/radeontool-1.5-r3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/radeontool/radeontool-1.5-r3.ebuild,v 1.6 2009/10/16 18:53:02 bangert Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Control the backlight and external video output of ATI Radeon Mobility graphics cards"
-
-HOMEPAGE="http://fdd.com/software/radeon/"
-SRC_URI="http://fdd.com/software/radeon/${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-IUSE=""
-
-DEPEND="sys-apps/sed"
-RDEPEND="sys-apps/pciutils"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}/${P}"-mmap.patch
- epatch "${FILESDIR}/${P}"-vga-ati.patch
- epatch "${FILESDIR}/${P}"-pagesize.patch
-
- sed -i \
- -e "s:-Wall -O2:${CFLAGS} ${LDFLAGS}:" \
- -e "s:gcc:$(tc-getCC):" \
- "${S}"/Makefile
-}
-
-src_compile() {
- emake || die "emake failed"
-}
-
-src_install() {
- dosbin radeontool
- dodoc CHANGES
-}