Browse Source

lvm2: update to version 2.02.176

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 7 years ago
parent
commit
d947a6cd79
3 changed files with 7 additions and 7 deletions
  1. +2
    -2
      utils/lvm2/Makefile
  2. +1
    -1
      utils/lvm2/patches/000-compile.patch
  3. +4
    -4
      utils/lvm2/patches/002-const-stdio.patch

+ 2
- 2
utils/lvm2/Makefile View File

@ -9,14 +9,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=LVM2 PKG_NAME:=LVM2
PKG_VERSION:=2.02.168
PKG_VERSION:=2.02.176
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/releases \ PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2/releases \
http://ftp.gwdg.de/pub/linux/sources.redhat.com/lvm2/ http://ftp.gwdg.de/pub/linux/sources.redhat.com/lvm2/
PKG_HASH:=23a3d1cddd41b3ef51812ebf83e9fa491f502fe74130d4263be327a91914660d
PKG_HASH:=dece83628c2c78a267a126ce6046d506582185ae5d40fb8d59b56547fccea473
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)


+ 1
- 1
utils/lvm2/patches/000-compile.patch View File

@ -1,6 +1,6 @@
--- a/make.tmpl.in --- a/make.tmpl.in
+++ b/make.tmpl.in +++ b/make.tmpl.in
@@ -19,7 +19,7 @@ SHELL = /bin/sh
@@ -19,7 +19,7 @@ SHELL = @SHELL@
# Allow environment to override any built-in default value for CC. # Allow environment to override any built-in default value for CC.
# If there is a built-in default, CC is NOT set to @CC@ here. # If there is a built-in default, CC is NOT set to @CC@ here.


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

@ -1,6 +1,6 @@
--- a/lib/commands/toolcontext.c --- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c
@@ -1843,7 +1843,7 @@ struct cmd_context *create_toolcontext(u
@@ -1869,7 +1869,7 @@ struct cmd_context *create_toolcontext(u
/* FIXME Make this configurable? */ /* FIXME Make this configurable? */
reset_lvm_errno(1); reset_lvm_errno(1);
@ -9,7 +9,7 @@
/* Set in/out stream buffering before glibc */ /* Set in/out stream buffering before glibc */
if (set_buffering) { if (set_buffering) {
/* Allocate 2 buffers */ /* Allocate 2 buffers */
@@ -2224,7 +2224,7 @@ void destroy_toolcontext(struct cmd_cont
@@ -2249,7 +2249,7 @@ void destroy_toolcontext(struct cmd_cont
if (cmd->libmem) if (cmd->libmem)
dm_pool_destroy(cmd->libmem); dm_pool_destroy(cmd->libmem);
@ -20,7 +20,7 @@
if (is_valid_fd(STDIN_FILENO) && if (is_valid_fd(STDIN_FILENO) &&
--- a/tools/lvmcmdline.c --- a/tools/lvmcmdline.c
+++ b/tools/lvmcmdline.c +++ b/tools/lvmcmdline.c
@@ -1815,6 +1815,7 @@ int lvm_split(char *str, int *argc, char
@@ -3074,6 +3074,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)
{ {
@ -28,7 +28,7 @@
int err = is_valid_fd(STDERR_FILENO); int err = is_valid_fd(STDERR_FILENO);
if (!is_valid_fd(STDIN_FILENO) && if (!is_valid_fd(STDIN_FILENO) &&
@@ -1841,6 +1842,12 @@ static int _check_standard_fds(void)
@@ -3100,6 +3101,12 @@ static int _check_standard_fds(void)
strerror(errno)); strerror(errno));
return 0; return 0;
} }


Loading…
Cancel
Save