summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-08-25 14:57:02 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-08-25 14:57:02 +0000
commit4eb03050e088d856254180af3364cd9d92a449c6 (patch)
treeac42eb2ae5bdbde7d391051aed023c3ce07fda48 /sys-apps/powerpc-utils
parentVersion bumped. Closes #58770. (Manifest recommit) (diff)
downloadgentoo-2-4eb03050e088d856254180af3364cd9d92a449c6.tar.gz
gentoo-2-4eb03050e088d856254180af3364cd9d92a449c6.tar.bz2
gentoo-2-4eb03050e088d856254180af3364cd9d92a449c6.zip
New version
Diffstat (limited to 'sys-apps/powerpc-utils')
-rw-r--r--sys-apps/powerpc-utils/ChangeLog8
-rw-r--r--sys-apps/powerpc-utils/Manifest7
-rw-r--r--sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3-r102
-rw-r--r--sys-apps/powerpc-utils/files/hotfix.patch22
-rw-r--r--sys-apps/powerpc-utils/powerpc-utils-1.1.3-r10.ebuild40
5 files changed, 76 insertions, 3 deletions
diff --git a/sys-apps/powerpc-utils/ChangeLog b/sys-apps/powerpc-utils/ChangeLog
index 33dc0a8a56e2..b3340912ea3b 100644
--- a/sys-apps/powerpc-utils/ChangeLog
+++ b/sys-apps/powerpc-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/powerpc-utils
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Id: ChangeLog,v 1.12 2004/07/01 21:36:41 eradicator Exp $
+# $Id: ChangeLog,v 1.13 2004/08/25 14:57:02 lu_zero Exp $
+
+*powerpc-utils-1.1.3-r10 (25 Aug 2004)
+
+ 25 Aug 2004; Luca Barbato <lu_zero@gentoo.org> +files/hotfix.patch,
+ +powerpc-utils-1.1.3-r10.ebuild:
+ New version
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
powerpc-utils-1.1.3-r7.ebuild, powerpc-utils-1.1.3.ebuild:
diff --git a/sys-apps/powerpc-utils/Manifest b/sys-apps/powerpc-utils/Manifest
index edd721dd7288..ff77dc07b5a9 100644
--- a/sys-apps/powerpc-utils/Manifest
+++ b/sys-apps/powerpc-utils/Manifest
@@ -1,6 +1,9 @@
+MD5 e54a959334916b1ca9944052726e404c ChangeLog 1808
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 d01cdd3c6fc9f7436feead4c85babc66 powerpc-utils-1.1.3-r7.ebuild 1078
+MD5 c99fb71a41d23085e0d0314784af1038 powerpc-utils-1.1.3-r10.ebuild 1151
MD5 d0f81cefea216b8fa4d1bac8f921f695 powerpc-utils-1.1.3.ebuild 946
-MD5 ff8f37c7d82f0f8fc93883221773184b ChangeLog 1648
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 9caf6dde05ea19e1e6a7faf874a36e56 files/digest-powerpc-utils-1.1.3 148
+MD5 35fd1c8ff99d95e177294ee69e36bfe8 files/hotfix.patch 809
+MD5 dba77925be12207eeca0c9c40ca89505 files/digest-powerpc-utils-1.1.3-r10 149
MD5 daaf465bff716bd05e3658328d428105 files/digest-powerpc-utils-1.1.3-r7 148
diff --git a/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3-r10 b/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3-r10
new file mode 100644
index 000000000000..edb138a01560
--- /dev/null
+++ b/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3-r10
@@ -0,0 +1,2 @@
+MD5 d879b109bb8f0d726304b60b147bff13 powerpc-utils_1.1.3.orig.tar.gz 25104
+MD5 0576f3b0bee7f0b98c1b561c4f5d3715 powerpc-utils_1.1.3-10.diff.gz 18147
diff --git a/sys-apps/powerpc-utils/files/hotfix.patch b/sys-apps/powerpc-utils/files/hotfix.patch
new file mode 100644
index 000000000000..17341708e88f
--- /dev/null
+++ b/sys-apps/powerpc-utils/files/hotfix.patch
@@ -0,0 +1,22 @@
+diff -ruN powerpc-utils-1.1.3.orig/backlight.c powerpc-utils-1.1.3/backlight.c
+--- powerpc-utils-1.1.3.orig/backlight.c 2004-08-25 11:34:57.273947544 +0200
++++ powerpc-utils-1.1.3/backlight.c 2004-08-25 11:33:21.153560064 +0200
+@@ -24,7 +24,6 @@
+ #include <sys/types.h>
+ #include <linux/ioctl.h>
+ #include <linux/types.h>
+-#include <linux/adb_mouse.h>
+ #include <linux/cuda.h>
+ #include <linux/adb.h>
+ #include <linux/pmu.h>
+diff -ruN powerpc-utils-1.1.3.orig/trackpad.c powerpc-utils-1.1.3/trackpad.c
+--- powerpc-utils-1.1.3.orig/trackpad.c 2004-08-25 11:34:57.267948456 +0200
++++ powerpc-utils-1.1.3/trackpad.c 2004-08-25 11:33:07.261671952 +0200
+@@ -18,7 +18,6 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <linux/adb_mouse.h>
+ #include <linux/cuda.h>
+ #include <linux/adb.h>
+
diff --git a/sys-apps/powerpc-utils/powerpc-utils-1.1.3-r10.ebuild b/sys-apps/powerpc-utils/powerpc-utils-1.1.3-r10.ebuild
new file mode 100644
index 000000000000..7ca925e2c6b9
--- /dev/null
+++ b/sys-apps/powerpc-utils/powerpc-utils-1.1.3-r10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powerpc-utils/powerpc-utils-1.1.3-r10.ebuild,v 1.1 2004/08/25 14:57:02 lu_zero Exp $
+
+inherit eutils
+
+DEBRV=${PR/r/}
+MY_P="${PN}_${PV}"
+DESCRIPTION="PowerPC utils; nvsetenv"
+SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${MY_P}.orig.tar.gz
+ http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${MY_P}-${DEBRV}.diff.gz"
+HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/"
+KEYWORDS="~ppc -x86 -amd64 -alpha -hppa -mips -sparc ~ppc64"
+IUSE=""
+DEPEND="virtual/libc"
+RDEPEND=""
+SLOT="0"
+LICENSE="GPL-2"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack powerpc-utils_${PV}.orig.tar.gz
+ mv pmac-utils ${P}
+ cd ${S}
+ epatch ${DISTDIR}/powerpc-utils_${PV}-${DEBRV}.diff.gz || die
+ epatch ${FILESDIR}/hotfix.patch
+ cd ${WORKDIR}
+ chown -R 0:0 *
+ chmod -R a+r-w+X,u+w *
+}
+
+src_compile() {
+ emake CFLAGS="$CFLAGS -fsigned-char" \
+ nvsetenv trackpad clock mousemode backlight || die
+}
+
+src_install() {
+ into /usr
+ dosbin nvsetenv trackpad clock mousemode backlight || die
+}