summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/hwdata-gentoo/Manifest3
-rw-r--r--sys-apps/hwdata-gentoo/files/0.4-openchrome.patch26
-rw-r--r--sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild3
3 files changed, 30 insertions, 2 deletions
diff --git a/sys-apps/hwdata-gentoo/Manifest b/sys-apps/hwdata-gentoo/Manifest
index 65b0bd3..deb7efc 100644
--- a/sys-apps/hwdata-gentoo/Manifest
+++ b/sys-apps/hwdata-gentoo/Manifest
@@ -1,2 +1,3 @@
+AUX 0.4-openchrome.patch 994 RMD160 de9fae4db5dd6c11b1b357ec2c74d2d4ac0a0b89 SHA1 2f75d4df997fe3559cb94954a58b8abe3c4cf10c SHA256 599608f8d25ac9b96a2f4ea3144db6f22db3297782ff586d86f6105059528106
DIST hwdata-gentoo-0.4.tar.bz2 149060 RMD160 5f6ce2dfc851fcc8fb703945a9bc232fa41326f9 SHA1 5f6fa951b90b25f90031bbf24165d2252b6b4cc6 SHA256 f3bf3853f33cc20be56770f742428fb29ca97769c5984ad80093d2020136918e
-EBUILD hwdata-gentoo-0.4.ebuild 973 RMD160 f167dbcb3d2a5549e33f389e2c7ef2acd5fc9ee5 SHA1 f3ebe87f06553ee99b121695714a73efa3d77e47 SHA256 f0e3634868d1008b6791fe99365d7383c2d7ad01b9aff50cc9d1267299f5295d
+EBUILD hwdata-gentoo-0.4.ebuild 1020 RMD160 e48c4f1dd74c08812a0d4592c1fb74d6512bd3be SHA1 00109d2265a7352fbe4dd7e4af312d369451763e SHA256 b7caab869145da600ca76c9c2b017d5680c3e96287e3059e4db1bf01c4e73ea2
diff --git a/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch b/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch
new file mode 100644
index 0000000..a96e995
--- /dev/null
+++ b/sys-apps/hwdata-gentoo/files/0.4-openchrome.patch
@@ -0,0 +1,26 @@
+Index: pcitable
+===================================================================
+--- pcitable (revision 7)
++++ pcitable (working copy)
+@@ -3688,7 +3688,7 @@
+ 0x1106 0x3336 "unknown" "VIA Technologies, Inc.|K8M890CE Host Bridge"
+ 0x1106 0x3337 "unknown" "VIA Technologies Inc.|VT8237A PCI to ISA Bridge"
+ 0x1106 0x3340 "unknown" "VIA Technologies, Inc.|PT900 Host Bridge"
+-0x1106 0x3344 "unknown" "VIA Technologies, Inc.|UniChrome Pro IGP"
++0x1106 0x3344 "Card:S3 UniChrome" "VIA Technologies, Inc.|UniChrome Pro IGP"
+ 0x1106 0x3349 "ahci" "VIA Technologies Inc.|VT8251 AHCI/SATA 4-Port Controller"
+ 0x1106 0x3351 "unknown" "VIA Technologies, Inc.|VT3351 Host Bridge"
+ 0x1106 0x3364 "unknown" "VIA Technologies, Inc.|P4M900 Host Bridge"
+Index: Cards
+===================================================================
+--- Cards (revision 7)
++++ Cards (working copy)
+@@ -429,7 +429,7 @@
+ DRIVER s3
+
+ NAME S3 UniChrome
+-DRIVER via
++DRIVER openchrome
+
+ NAME S3 ViRGE (generic)
+ DRIVER s3virge
diff --git a/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild
index 69cfba1..20c2bbf 100644
--- a/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild
+++ b/sys-apps/hwdata-gentoo/hwdata-gentoo-0.4.ebuild
@@ -28,9 +28,10 @@ src_unpack() {
else
sed -e 's/DRIVER fglrx/DRIVER radeon/' \
-e 's/DRIVER nvidia/DRIVER nv/' \
- -i ${S}/Cards || die
+ -i "${S}"/Cards || die
fi
fi
+ epatch "${FILESDIR}"/${PV}-openchrome.patch
}
src_install() {