]> git.pld-linux.org Git - packages/hardinfo.git/blame - hwdata.patch
- use snapshot deom github, no releases since last decade
[packages/hardinfo.git] / hwdata.patch
CommitLineData
5279d98d
JR
1--- hardinfo/hardinfo/pci_util.c~ 2020-04-27 08:59:19.000000000 +0200
2+++ hardinfo/hardinfo/pci_util.c 2020-04-27 09:06:32.013271410 +0200
3@@ -46,6 +46,7 @@
4 }
5 }
6 char *file_search_order[] = {
7+ g_strdup("/lib/hwdata/pci.ids"),
8 g_strdup("/usr/share/hwdata/pci.ids"),
9 g_strdup("/usr/share/misc/pci.ids"),
10 g_build_filename(g_get_user_config_dir(), "hardinfo", "pci.ids", NULL),
11--- hardinfo/modules/devices.c~ 2020-04-27 08:59:19.000000000 +0200
12+++ hardinfo/modules/devices.c 2020-04-27 09:08:10.833268282 +0200
13@@ -830,7 +830,9 @@
e7bdd38e
ER
14
15 void hi_module_init(void)
16 {
17- if (!g_file_test("/usr/share/misc/pci.ids", G_FILE_TEST_EXISTS)) {
18+ // probably they don't have SOAP entry for gz compressed action
19+ // but URL exists for that: http://pci-ids.ucw.cz/v2.2/pci.ids.gz
20+ if (!g_file_test("/lib/hwdata/pci.ids", G_FILE_TEST_EXISTS)) {
21 static SyncEntry se = {
5279d98d 22 .fancy_name = N_("Update PCI ID listing"),
e7bdd38e 23 .name = "GetPCIIds",
This page took 0.141555 seconds and 4 git commands to generate.