diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-07-25 19:16:07 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-07-25 19:16:07 +0000 |
commit | 0f94b1e1a4e34818296c31113ba6c8e72750ab8d (patch) | |
tree | b57ec4266e5d134d23a8a5904e05379e54ed3e99 /sys-apps/hwsetup/files | |
parent | Don't worry, be happy, unmask ALSA 1.0.12_rc1 as it fixes a few issues. (diff) | |
download | historical-0f94b1e1a4e34818296c31113ba6c8e72750ab8d.tar.gz historical-0f94b1e1a4e34818296c31113ba6c8e72750ab8d.tar.bz2 historical-0f94b1e1a4e34818296c31113ba6c8e72750ab8d.zip |
Make the Gentoo patch work correctly with modular X, now that it is all stable.
Package-Manager: portage-2.1.1_pre3-r4
Diffstat (limited to 'sys-apps/hwsetup/files')
-rw-r--r-- | sys-apps/hwsetup/files/digest-hwsetup-1.1 | 2 | ||||
-rw-r--r-- | sys-apps/hwsetup/files/hwsetup-1.1-gentoo.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sys-apps/hwsetup/files/digest-hwsetup-1.1 b/sys-apps/hwsetup/files/digest-hwsetup-1.1 index 059534c1d49b..623696daacba 100644 --- a/sys-apps/hwsetup/files/digest-hwsetup-1.1 +++ b/sys-apps/hwsetup/files/digest-hwsetup-1.1 @@ -1 +1,3 @@ MD5 da9be279ef57f697436fe37fbaa93976 hwsetup_1.1-1.tar.gz 9062 +RMD160 e0728e9d79b83e815586c6af8e70baae0ac913c4 hwsetup_1.1-1.tar.gz 9062 +SHA256 86fa767b6ceb74ce71fc6895e9db43445058025e4c0d6834a2c60159e3ea1199 hwsetup_1.1-1.tar.gz 9062 diff --git a/sys-apps/hwsetup/files/hwsetup-1.1-gentoo.patch b/sys-apps/hwsetup/files/hwsetup-1.1-gentoo.patch index a91246b093ca..cff145434b78 100644 --- a/sys-apps/hwsetup/files/hwsetup-1.1-gentoo.patch +++ b/sys-apps/hwsetup/files/hwsetup-1.1-gentoo.patch @@ -13,7 +13,7 @@ diff -urN hwsetup-1.1.orig/hwsetup.c hwsetup-1.1/hwsetup.c -#define XPATH "/usr/X11R6/bin/" -#define XMODPATH "/usr/X11R6/lib/modules/drivers/" +#define XPATH "/usr/bin/" -+#define XMODPATH "/usr/lib/modules/drivers/" ++#define XMODPATH "/usr/lib/xorg/modules/drivers/" #define VERBOSE_PRINT 1 -#define VERBOSE_PROMPT 2 @@ -43,6 +43,15 @@ diff -urN hwsetup-1.1.orig/hwsetup.c hwsetup-1.1/hwsetup.c if(!strncasecmp(d->driver,"Card:",5)) /* RedHat Cards-DB */ { /* Kudzu "Cards" format */ FILE *cardsdb; +@@ -255,7 +256,7 @@ + char xmodule[32]; + char fullpath[128]; + sscanf(&buffer[7],"%31s",xmodule); +- sprintf(fullpath,XMODPATH"%.31s_drv.o",xmodule); ++ sprintf(fullpath,XMODPATH"%.31s_drv.so",xmodule); + if(exists(fullpath)) + { + strncpy(xi.xmodule,xmodule,sizeof(xi.xmodule)); @@ -279,9 +280,9 @@ if(*xfree3server&&!*xi.xmodule) strncpy(xi.xserver,xfree3server,sizeof(xi.xserver)); |