summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2022-01-04 10:41:38 -0600
committerMatthias Maier <tamiko@gentoo.org>2022-01-04 10:41:53 -0600
commit6a2d704ccabfb6b1cfc0f19cfe169eb961e6e85c (patch)
tree913ed135a3fceb847feb0e55589ac0573f677de7
parentapp-emulation/libvirt-glib: drop old version (diff)
downloadgentoo-6a2d704ccabfb6b1cfc0f19cfe169eb961e6e85c.tar.gz
gentoo-6a2d704ccabfb6b1cfc0f19cfe169eb961e6e85c.tar.bz2
gentoo-6a2d704ccabfb6b1cfc0f19cfe169eb961e6e85c.zip
app-emulation/libvirt: ebuild maintenance, install proper soname
Closes: https://bugs.gentoo.org/828562 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
-rw-r--r--app-emulation/libvirt/files/libvirt-7.10.0-fix_soname.patch13
-rw-r--r--app-emulation/libvirt/libvirt-7.10.0-r2.ebuild (renamed from app-emulation/libvirt/libvirt-7.10.0-r1.ebuild)3
2 files changed, 15 insertions, 1 deletions
diff --git a/app-emulation/libvirt/files/libvirt-7.10.0-fix_soname.patch b/app-emulation/libvirt/files/libvirt-7.10.0-fix_soname.patch
new file mode 100644
index 000000000000..8e89fc818fb5
--- /dev/null
+++ b/app-emulation/libvirt/files/libvirt-7.10.0-fix_soname.patch
@@ -0,0 +1,13 @@
+diff --git a/tools/nss/meson.build b/tools/nss/meson.build
+index 198936f3d42e1827d0f03ff3b27a198bdc4fa59c..f77309ebcab8063c515ae2bf95dbff542238a2ee 100644
+--- a/tools/nss/meson.build
++++ b/tools/nss/meson.build
+@@ -59,7 +59,7 @@ nss_libvirt_guest_syms = '@0@@1@'.format(
+ meson.current_source_dir() / nss_guest_sym_file,
+ )
+
+-nss_libvirt_lib = shared_module(
++nss_libvirt_lib = shared_library(
+ 'nss_libvirt',
+ name_prefix: nss_prefix,
+ name_suffix: 'so.@0@'.format(nss_so_ver),
diff --git a/app-emulation/libvirt/libvirt-7.10.0-r1.ebuild b/app-emulation/libvirt/libvirt-7.10.0-r2.ebuild
index 7cfdb6dca8bc..14c31d413e2c 100644
--- a/app-emulation/libvirt/libvirt-7.10.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-7.10.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -135,6 +135,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
"${FILESDIR}"/${PN}-7.9.0-fix_cgroupv2.patch
+ "${FILESDIR}"/${PN}-7.10.0-fix_soname.patch
)
pkg_setup() {