Browse Source

lvm2: update source and refresh patches

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 10 years ago
parent
commit
3a81a9b9fa
3 changed files with 8 additions and 14 deletions
  1. +2
    -2
      utils/lvm2/Makefile
  2. +4
    -8
      utils/lvm2/patches/002-const-stdio.patch
  3. +2
    -4
      utils/lvm2/patches/003-no-mallinfo.patch

+ 2
- 2
utils/lvm2/Makefile View File

@ -9,13 +9,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=LVM2 PKG_NAME:=LVM2
PKG_VERSION:=2.02.120
PKG_VERSION:=2.02.121
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 LGPL-2.1 PKG_LICENSE:=GPL-2.0 LGPL-2.1
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2 PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2
PKG_MD5SUM:=326df8542d3a2376da907e98a0888ccf
PKG_MD5SUM:=702c61bf07a8fc6dc0db6e9d323d9f6d
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)


+ 4
- 8
utils/lvm2/patches/002-const-stdio.patch View File

@ -1,7 +1,5 @@
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 @@ -1637,8 +1637,10 @@ struct cmd_context *create_toolcontext(u
unsigned threaded) unsigned threaded)
{ {
@ -31,10 +29,8 @@ Index: LVM2.2.02.120/lib/commands/toolcontext.c
if (cmd->linebuffer) { if (cmd->linebuffer) {
/* Reset stream buffering to defaults */ /* Reset stream buffering to defaults */
if (is_valid_fd(STDIN_FILENO) && 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 @@ -1606,6 +1606,7 @@ int lvm_split(char *str, int *argc, char
/* Make sure we have always valid filedescriptors 0,1,2 */ /* Make sure we have always valid filedescriptors 0,1,2 */
static int _check_standard_fds(void) static int _check_standard_fds(void)


+ 2
- 4
utils/lvm2/patches/003-no-mallinfo.patch View File

@ -1,7 +1,5 @@
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) @@ -161,12 +161,15 @@ static void _allocate_memory(void)
* memory on free(), this is good enough for our purposes. * memory on free(), this is good enough for our purposes.
*/ */


Loading…
Cancel
Save