summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-07-27 12:30:25 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-07-27 12:30:25 +0000
commit37d11d7cb0e66565996cda5abeefda3365452345 (patch)
treee8ceda51bd31796cc7d2fd8783efc7e1b0c1d632 /sys-apps/hwsetup/files
parentSlight changes to install (diff)
downloadhistorical-37d11d7cb0e66565996cda5abeefda3365452345.tar.gz
historical-37d11d7cb0e66565996cda5abeefda3365452345.tar.bz2
historical-37d11d7cb0e66565996cda5abeefda3365452345.zip
Changed all calls to XFree86 to just X to make it X server agnostic.
Diffstat (limited to 'sys-apps/hwsetup/files')
-rw-r--r--sys-apps/hwsetup/files/digest-hwsetup-1.0-r21
-rw-r--r--sys-apps/hwsetup/files/hwsetup-1.0-gentoo.patch21
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/hwsetup/files/digest-hwsetup-1.0-r2 b/sys-apps/hwsetup/files/digest-hwsetup-1.0-r2
new file mode 100644
index 000000000000..b3852e0446f7
--- /dev/null
+++ b/sys-apps/hwsetup/files/digest-hwsetup-1.0-r2
@@ -0,0 +1 @@
+MD5 12ed659c6ce09dd4c06ee4bc07f0adfe hwsetup_1.0-14.tar.gz 8491
diff --git a/sys-apps/hwsetup/files/hwsetup-1.0-gentoo.patch b/sys-apps/hwsetup/files/hwsetup-1.0-gentoo.patch
new file mode 100644
index 000000000000..03de58c3eef9
--- /dev/null
+++ b/sys-apps/hwsetup/files/hwsetup-1.0-gentoo.patch
@@ -0,0 +1,21 @@
+diff -urN hwsetup-1.0.orig/hwsetup.c hwsetup-1.0/hwsetup.c
+--- hwsetup-1.0.orig/hwsetup.c 2003-06-02 15:01:28.000000000 -0400
++++ hwsetup-1.0/hwsetup.c 2004-07-24 18:57:36.986337040 -0400
+@@ -103,7 +103,7 @@
+
+ struct xinfo *getxinfo(struct device *d)
+ {
+- const char *xfree4="XFree86", *xvesa4="vesa";
++ const char *xfree4="X", *xvesa4="vesa";
+ const char *xpath=XPATH;
+ static struct xinfo xi;
+ int rescanned=0;
+@@ -206,7 +206,7 @@
+ {
+ char xm[32]="";
+ strcpy(xi.xserver,xfree4);
+- if(sscanf(xpos,"XFree86(%30[^)])",xm)==1)
++ if(sscanf(xpos,"X(%30[^)])",xm)==1)
+ strcpy(xi.xmodule,xm);
+ else
+ strcpy(xi.xmodule,xvesa4);