summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-08-08 21:39:05 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-08-08 21:39:05 +0000
commit4793db022fe214d116b59422be77ef172f2e0ed4 (patch)
treed4309974d6d9b70a1a335d5d676ce53377b2ed99 /sys-apps/vbetool
parentStable on alpha. (diff)
downloadhistorical-4793db022fe214d116b59422be77ef172f2e0ed4.tar.gz
historical-4793db022fe214d116b59422be77ef172f2e0ed4.tar.bz2
historical-4793db022fe214d116b59422be77ef172f2e0ed4.zip
Bug #101449, version bump.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-apps/vbetool')
-rw-r--r--sys-apps/vbetool/ChangeLog8
-rw-r--r--sys-apps/vbetool/Manifest5
-rw-r--r--sys-apps/vbetool/files/digest-vbetool-0.31
-rw-r--r--sys-apps/vbetool/files/vbetool-0.3-pci-compile-fix.patch28
-rw-r--r--sys-apps/vbetool/vbetool-0.3.ebuild31
5 files changed, 71 insertions, 2 deletions
diff --git a/sys-apps/vbetool/ChangeLog b/sys-apps/vbetool/ChangeLog
index baea03dd479a..9c4ea4ffb2ea 100644
--- a/sys-apps/vbetool/ChangeLog
+++ b/sys-apps/vbetool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/vbetool
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vbetool/ChangeLog,v 1.1 2005/04/30 01:10:46 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vbetool/ChangeLog,v 1.2 2005/08/08 21:39:05 robbat2 Exp $
+
+*vbetool-0.3 (08 Aug 2005)
+
+ 08 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +files/vbetool-0.3-pci-compile-fix.patch, +vbetool-0.3.ebuild:
+ Bug #101449, version bump.
*vbetool-0.2 (29 Apr 2005)
diff --git a/sys-apps/vbetool/Manifest b/sys-apps/vbetool/Manifest
index 0e687fb8b9bd..39485fdade01 100644
--- a/sys-apps/vbetool/Manifest
+++ b/sys-apps/vbetool/Manifest
@@ -1,3 +1,6 @@
+MD5 dfb470d2e1a173e4b6fb430b4b154fb6 vbetool-0.3.ebuild 860
MD5 06ee3a4fe0b980f06e777bc58abc8440 vbetool-0.2.ebuild 673
-MD5 1cedec453644569207b94be2890177ab ChangeLog 384
+MD5 50229fb20ccb0e3b1683b953a2490e0f ChangeLog 560
MD5 89ebebeb9c5c2b6c17c6c40ee47f9fd8 files/digest-vbetool-0.2 67
+MD5 53d0e3504f394287725e25a17e5931bf files/digest-vbetool-0.3 64
+MD5 aa0fd5198b5fc2fdbba9a1eaa47e426e files/vbetool-0.3-pci-compile-fix.patch 652
diff --git a/sys-apps/vbetool/files/digest-vbetool-0.3 b/sys-apps/vbetool/files/digest-vbetool-0.3
new file mode 100644
index 000000000000..06c7b269e648
--- /dev/null
+++ b/sys-apps/vbetool/files/digest-vbetool-0.3
@@ -0,0 +1 @@
+MD5 9bfcf158b2893d1094248db467a0d825 vbetool_0.3-1.tar.gz 92194
diff --git a/sys-apps/vbetool/files/vbetool-0.3-pci-compile-fix.patch b/sys-apps/vbetool/files/vbetool-0.3-pci-compile-fix.patch
new file mode 100644
index 000000000000..26e3cc9e7525
--- /dev/null
+++ b/sys-apps/vbetool/files/vbetool-0.3-pci-compile-fix.patch
@@ -0,0 +1,28 @@
+diff -Nuar vbetool-0.3.orig/vbetool.c vbetool-0.3/vbetool.c
+--- vbetool-0.3.orig/vbetool.c 2005-03-01 17:39:21.000000000 -0800
++++ vbetool-0.3/vbetool.c 2005-08-08 14:36:01.000000000 -0700
+@@ -8,18 +8,18 @@
+ version 2
+ */
+
+-#include <pci/pci.h>
+-#include <assert.h>
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <string.h>
+-#include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <sys/io.h>
+ #include <sys/kd.h>
+ #include <sys/stat.h>
+ #include <errno.h>
++#include <assert.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++#include <pci/pci.h>
+
+ #include "lrmi.h"
+ #include "vbetool.h"
diff --git a/sys-apps/vbetool/vbetool-0.3.ebuild b/sys-apps/vbetool/vbetool-0.3.ebuild
new file mode 100644
index 000000000000..69ca9788d7ce
--- /dev/null
+++ b/sys-apps/vbetool/vbetool-0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vbetool/vbetool-0.3.ebuild,v 1.1 2005/08/08 21:39:05 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Run real-mode video BIOS code to alter hardware state (i.e. reinitialize video card)"
+HOMEPAGE="http://www.srcf.ucam.org/~mjg59/vbetool/"
+#SRC_URI="${HOMEPAGE}${PN}_${PV}.orig.tar.gz"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P//-/_}-1.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND="sys-apps/pciutils"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-pci-compile-fix.patch
+}
+
+src_compile() {
+ LIBS="-lpci" econf || die "could not configure"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+ dodoc LRMI
+}