diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2016-05-20 12:33:57 -0400 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2016-05-20 13:11:09 -0400 |
commit | bcf44e3ced194129a6a63ac84f6a7723941d4dd7 (patch) | |
tree | da26f3e8f71a41696d51c5618d87c61788be4a2f /sys-apps/pciutils/files | |
parent | kde-apps/spectacle: Remove 16.04.1 (r0) (diff) | |
download | gentoo-bcf44e3ced194129a6a63ac84f6a7723941d4dd7.tar.gz gentoo-bcf44e3ced194129a6a63ac84f6a7723941d4dd7.tar.bz2 gentoo-bcf44e3ced194129a6a63ac84f6a7723941d4dd7.zip |
sys-apps/pciutils-3.5.0: fix missing pci_init for LIBPCI_3.0
Bug: http://bugs.gentoo.org/583580
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-apps/pciutils/files')
-rw-r--r-- | sys-apps/pciutils/files/pciutils-3.5.0-expose-pci_init_v30.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/pciutils/files/pciutils-3.5.0-expose-pci_init_v30.patch b/sys-apps/pciutils/files/pciutils-3.5.0-expose-pci_init_v30.patch new file mode 100644 index 000000000000..d5e9a5e80fcc --- /dev/null +++ b/sys-apps/pciutils/files/pciutils-3.5.0-expose-pci_init_v30.patch @@ -0,0 +1,21 @@ +--- a/lib/init.c 2016-05-20 11:53:00.065874342 -0400 ++++ b/lib/init.c 2016-05-20 11:53:16.725850370 -0400 +@@ -214,6 +214,8 @@ + } + + STATIC_ALIAS(void pci_init(struct pci_access *a), pci_init_v35(a)); ++DEFINE_ALIAS(void pci_init_v30(struct pci_access *a), pci_init_v35); ++SYMBOL_VERSION(pci_init_v30, pci_init@LIBPCI_3.0); + SYMBOL_VERSION(pci_init_v35, pci_init@@LIBPCI_3.5); + + void +--- a/lib/internal.h 2016-05-14 05:58:01.000000000 -0400 ++++ b/lib/internal.h 2016-05-20 12:04:02.144993094 -0400 +@@ -61,6 +61,7 @@ + void pci_mfree(void *); + char *pci_strdup(struct pci_access *a, const char *s); + ++void pci_init_v30(struct pci_access *a) VERSIONED_ABI; + void pci_init_v35(struct pci_access *a) VERSIONED_ABI; + + /* access.c */ |