include $(TOPDIR)/rules.mk
PKG_NAME:=LVM2
-PKG_VERSION:=2.02.120
+PKG_VERSION:=2.02.121
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 LGPL-2.1
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2
-PKG_MD5SUM:=326df8542d3a2376da907e98a0888ccf
+PKG_MD5SUM:=702c61bf07a8fc6dc0db6e9d323d9f6d
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
-Index: LVM2.2.02.120/lib/commands/toolcontext.c
-===================================================================
---- LVM2.2.02.120.orig/lib/commands/toolcontext.c
-+++ LVM2.2.02.120/lib/commands/toolcontext.c
+--- a/lib/commands/toolcontext.c
++++ b/lib/commands/toolcontext.c
@@ -1637,8 +1637,10 @@ struct cmd_context *create_toolcontext(u
unsigned threaded)
{
if (cmd->linebuffer) {
/* Reset stream buffering to defaults */
if (is_valid_fd(STDIN_FILENO) &&
-Index: LVM2.2.02.120/tools/lvmcmdline.c
-===================================================================
---- LVM2.2.02.120.orig/tools/lvmcmdline.c
-+++ LVM2.2.02.120/tools/lvmcmdline.c
+--- a/tools/lvmcmdline.c
++++ b/tools/lvmcmdline.c
@@ -1606,6 +1606,7 @@ int lvm_split(char *str, int *argc, char
/* Make sure we have always valid filedescriptors 0,1,2 */
static int _check_standard_fds(void)
-Index: LVM2.2.02.119/lib/mm/memlock.c
-===================================================================
---- LVM2.2.02.119.orig/lib/mm/memlock.c
-+++ LVM2.2.02.119/lib/mm/memlock.c
+--- a/lib/mm/memlock.c
++++ b/lib/mm/memlock.c
@@ -161,12 +161,15 @@ static void _allocate_memory(void)
* memory on free(), this is good enough for our purposes.
*/