Репозитории ALT
S: | 2.03.22-alt1 |
5.1: | 2.02.53-alt1.M51.2 |
4.1: | 2.02.31-alt1 |
4.0: | 2.02.28-alt1.M40.1 |
3.0: | 2.01.09-alt2 |
+backports: | 2.02.01-alt0.M30.1 |
Группа :: Система/Основа
Пакет: lvm2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: lvm2-2.02.52-alt-fix-unresolved-symbols-in-libdevmapper-event-plugins.patch
Скачать
Скачать
From 1a17c55c0b49e4679e121c394374625263b0343c Mon Sep 17 00:00:00 2001
From: Konstantin Pavlov <thresh@altlinux.org>
Date: Thu, 24 Sep 2009 13:35:57 +0400
Subject: [PATCH] Fix libdevmapper-event plugins linking.
Those plugins use symbols from libdevmapper and lvm2cmd so they should
be linked to those libraries.
---
LVM2/daemons/dmeventd/plugins/mirror/Makefile.in | 2 ++
LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in b/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in
index 51eaba6..5f36d8a 100644
--- a/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -31,6 +31,8 @@ LIB_VERSION = $(LIB_VERSION_LVM)
include $(top_srcdir)/make.tmpl
+LIBS = -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@
+
install_lvm2: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)
diff --git a/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in b/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in
index 863838f..29239e7 100644
--- a/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in
+++ b/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in
@@ -31,6 +31,8 @@ LIB_VERSION = $(LIB_VERSION_LVM)
include $(top_srcdir)/make.tmpl
+LIBS = -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@
+
install_lvm2: libdevmapper-event-lvm2snapshot.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)
--
1.6.4.4