diff options
-rw-r--r-- | net-irc/xchat-xsys/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/xchat-xsys/Manifest | 14 | ||||
-rw-r--r-- | net-irc/xchat-xsys/files/1.9.3-sysfs-instead-of-lspci.patch | 50 |
3 files changed, 31 insertions, 39 deletions
diff --git a/net-irc/xchat-xsys/ChangeLog b/net-irc/xchat-xsys/ChangeLog index d46757b5ec4b..2e6184f631b5 100644 --- a/net-irc/xchat-xsys/ChangeLog +++ b/net-irc/xchat-xsys/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/xchat-xsys # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-xsys/ChangeLog,v 1.7 2005/04/16 19:26:20 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-xsys/ChangeLog,v 1.8 2005/04/17 20:13:12 chainsaw Exp $ + + 17 Apr 2005; Tony Vroon <chainsaw@gentoo.org> + files/1.9.3-sysfs-instead-of-lspci.patch: + Update sysfs patch, avoid matching incorrect data in pci.ids. Still masked. *xchat-xsys-1.9.3 (16 Apr 2005) diff --git a/net-irc/xchat-xsys/Manifest b/net-irc/xchat-xsys/Manifest index 497098ec13da..484c594046b1 100644 --- a/net-irc/xchat-xsys/Manifest +++ b/net-irc/xchat-xsys/Manifest @@ -1,20 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 a94b4009fe101872797d273b603cf610 xchat-xsys-1.9.3.ebuild 862 MD5 e47f69b8cff83add69e3bb2c54988367 xchat-xsys-1.9.1-r1.ebuild 854 MD5 42cef2da59c81f792584c3f9048a1930 metadata.xml 250 MD5 553b7bc8fdd38cbc043b6f83841a6751 ChangeLog 1474 MD5 4102cd47e1c2df279bf2fe29cd1d5b89 xchat-xsys-1.9.1.ebuild 687 -MD5 a94b4009fe101872797d273b603cf610 xchat-xsys-1.9.3.ebuild 862 +MD5 645ce3cd3538e29be8fd64f83a7b9354 files/1.9.3-sysfs-instead-of-lspci.patch 3532 MD5 f9d3eedf5907d949b6f52bfdbc580bd7 files/digest-xchat-xsys-1.9.1-r1 61 MD5 b9c39b3537e8ee29aa9af6c33467223b files/1.9.1-bmp-support.patch 3230 MD5 f9d3eedf5907d949b6f52bfdbc580bd7 files/digest-xchat-xsys-1.9.1 61 -MD5 c759ee949bd035895fb11f4608f9ac61 files/1.9.3-sysfs-instead-of-lspci.patch 3498 MD5 6a0d14cce311c0075599544fd3a107c1 files/digest-xchat-xsys-1.9.3 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCYWb6p5vW4rUFj5oRAkgPAJ4wJrmAiwzNiURreAHB6KoGVIT1ygCfRO3A -CPrjVYXJ9Jjjg4YSdEGNPXw= -=wsC/ ------END PGP SIGNATURE----- diff --git a/net-irc/xchat-xsys/files/1.9.3-sysfs-instead-of-lspci.patch b/net-irc/xchat-xsys/files/1.9.3-sysfs-instead-of-lspci.patch index 5b0f796735eb..a55c20c5288a 100644 --- a/net-irc/xchat-xsys/files/1.9.3-sysfs-instead-of-lspci.patch +++ b/net-irc/xchat-xsys/files/1.9.3-sysfs-instead-of-lspci.patch @@ -1,6 +1,6 @@ ---- xsys2/parse.c.orig 2005-04-16 15:57:31.000000000 +0100 -+++ xsys2/parse.c 2005-04-16 20:10:09.000000000 +0100 -@@ -150,19 +150,85 @@ +--- xsys2/parse.c.orig 2005-04-17 21:01:24.000000000 +0100 ++++ xsys2/parse.c 2005-04-17 21:09:07.000000000 +0100 +@@ -150,19 +150,83 @@ int xs_parse_video(char *vid_card) { @@ -68,26 +68,24 @@ + return 0; + } -+ while(fgets(buffer, 1024, fp3) != NULL) -+ { -+ if (!isspace(buffer[0])) { -+ if(strstr(buffer, vendor) != NULL) -+ { -+ position = strstr(buffer, vendor); -+ position += 6; -+ strcpy(vendorname, position); -+ position = strstr(vendorname, "\n"); -+ *(position) = '\0'; -+ } -+ } else { -+ if(strstr(buffer, device) != NULL) -+ { -+ position = strstr(buffer, device); -+ position += 6; -+ strcpy(devicename, position); -+ position = strstr(devicename, "\n"); -+ *(position) = '\0'; -+ } ++ while(fgets(buffer, 1024, fp3) != NULL) { ++ if (!isspace(buffer[0]) && strstr(buffer, vendor) != NULL) { ++ position = strstr(buffer, vendor); ++ position += 6; ++ strncpy(vendorname, position, 128); ++ position = strstr(vendorname, "\n"); ++ *(position) = '\0'; ++ break; ++ } ++ } ++ while(fgets(buffer, 1024, fp3) != NULL) { ++ if(strstr(buffer, device) != NULL) { ++ position = strstr(buffer, device); ++ position += 6; ++ strncpy(devicename, position, 128); ++ position = strstr(devicename, "\n"); ++ *(position) = '\0'; ++ break; + } + } + fclose(fp3); @@ -95,13 +93,13 @@ return 0; } -@@ -389,4 +455,3 @@ +@@ -389,4 +453,3 @@ } return 0; } - ---- xsys2/Makefile.orig 2005-04-16 20:15:05.000000000 +0100 -+++ xsys2/Makefile 2005-04-16 20:15:42.000000000 +0100 +--- xsys2/Makefile.orig 2005-04-17 21:01:27.000000000 +0100 ++++ xsys2/Makefile 2005-04-17 21:01:31.000000000 +0100 @@ -1,7 +1,3 @@ -#### SET THIS VALUE TO THE LOCATION OF 'lspci' #### -LSPCI = /sbin/lspci |