summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2016-03-11 01:43:52 -0600
committerMatthias Maier <tamiko@gentoo.org>2016-03-11 01:45:18 -0600
commitd46e220e3eda61b10a696173ea314ac6c52b00c6 (patch)
tree9353c60cb3a716f0c57e2a39e16e49443ec2010e /app-emulation/libvirt/files
parentdev-ruby/rack: add ruby23 (diff)
downloadgentoo-d46e220e3eda61b10a696173ea314ac6c52b00c6.tar.gz
gentoo-d46e220e3eda61b10a696173ea314ac6c52b00c6.tar.bz2
gentoo-d46e220e3eda61b10a696173ea314ac6c52b00c6.zip
app-emulation/libvirt: avoid deprecated pc file (bug #577034)
The current live version of systemd has removed the libsystemd-deamon.pc compatibility file. This file is long deprecated, use libsystemd.pc instead (supported since systemd-209). Thanks to Elias Probst for the detailed bug report and finding a patch used by Debian to resolve this issue. Gentoo-Bug: 577034 Package-Manager: portage-2.2.26
Diffstat (limited to 'app-emulation/libvirt/files')
-rw-r--r--app-emulation/libvirt/files/libvirt-1.2.21-avoid_deprecated_pc_file.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-emulation/libvirt/files/libvirt-1.2.21-avoid_deprecated_pc_file.patch b/app-emulation/libvirt/files/libvirt-1.2.21-avoid_deprecated_pc_file.patch
new file mode 100644
index 000000000000..fa13f8294362
--- /dev/null
+++ b/app-emulation/libvirt/files/libvirt-1.2.21-avoid_deprecated_pc_file.patch
@@ -0,0 +1,24 @@
+From Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779775
+
+From: Michael Biebl <biebl@debian.org>
+Date: Tue, 11 Aug 2015 07:25:01 +0200
+Subject: libsystemd
+
+Use libsystemd instead of deprecated libsystemd-daemon
+---
+ m4/virt-systemd-daemon.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/m4/virt-systemd-daemon.m4 b/m4/virt-systemd-daemon.m4
+index 8516e41..c9708ec 100644
+--- a/m4/virt-systemd-daemon.m4
++++ b/m4/virt-systemd-daemon.m4
+@@ -18,7 +18,7 @@ dnl <http://www.gnu.org/licenses/>.
+ dnl
+
+ AC_DEFUN([LIBVIRT_CHECK_SYSTEMD_DAEMON],[
+- LIBVIRT_CHECK_PKG([SYSTEMD_DAEMON], [libsystemd-daemon], [0.27.1])
++ LIBVIRT_CHECK_PKG([SYSTEMD_DAEMON], [libsystemd], [209])
+
+ old_CFLAGS="$CFLAGS"
+ old_LIBS="$LIBS"