Преглед на файлове

lvm2: update to version 2.02.145

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle преди 8 години
родител
ревизия
edbd16954b
променени са 2 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 2
    2
      utils/lvm2/Makefile
  2. 5
    5
      utils/lvm2/patches/002-const-stdio.patch

+ 2
- 2
utils/lvm2/Makefile Целия файл

@@ -9,13 +9,13 @@
9 9
 include $(TOPDIR)/rules.mk
10 10
 
11 11
 PKG_NAME:=LVM2
12
-PKG_VERSION:=2.02.141
12
+PKG_VERSION:=2.02.145
13 13
 PKG_RELEASE:=2
14 14
 PKG_LICENSE:=GPL-2.0 LGPL-2.1
15 15
 
16 16
 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
17 17
 PKG_SOURCE_URL:=ftp://sources.redhat.com/pub/lvm2/releases
18
-PKG_MD5SUM:=0bb6261f7ecb9ef70fd773c6a952de67
18
+PKG_MD5SUM:=fd952ba7d640f0bedcec0085e358b318
19 19
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
20 20
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
21 21
 

+ 5
- 5
utils/lvm2/patches/002-const-stdio.patch Целия файл

@@ -1,6 +1,6 @@
1 1
 --- a/lib/commands/toolcontext.c
2 2
 +++ b/lib/commands/toolcontext.c
3
-@@ -1741,8 +1741,10 @@ struct cmd_context *create_toolcontext(u
3
+@@ -1747,8 +1747,10 @@ struct cmd_context *create_toolcontext(u
4 4
  				       unsigned set_filters)
5 5
  {
6 6
  	struct cmd_context *cmd;
@@ -11,7 +11,7 @@
11 11
  
12 12
  #ifdef M_MMAP_MAX
13 13
  	mallopt(M_MMAP_MAX, 0);
14
-@@ -1778,7 +1780,7 @@ struct cmd_context *create_toolcontext(u
14
+@@ -1784,7 +1786,7 @@ struct cmd_context *create_toolcontext(u
15 15
  	/* FIXME Make this configurable? */
16 16
  	reset_lvm_errno(1);
17 17
  
@@ -20,7 +20,7 @@
20 20
  	/* Set in/out stream buffering before glibc */
21 21
  	if (set_buffering) {
22 22
  		/* Allocate 2 buffers */
23
-@@ -2161,7 +2163,7 @@ void destroy_toolcontext(struct cmd_cont
23
+@@ -2167,7 +2169,7 @@ void destroy_toolcontext(struct cmd_cont
24 24
  	if (cmd->libmem)
25 25
  		dm_pool_destroy(cmd->libmem);
26 26
  
@@ -31,7 +31,7 @@
31 31
  		if (is_valid_fd(STDIN_FILENO) &&
32 32
 --- a/tools/lvmcmdline.c
33 33
 +++ b/tools/lvmcmdline.c
34
-@@ -1741,6 +1741,7 @@ int lvm_split(char *str, int *argc, char
34
+@@ -1744,6 +1744,7 @@ int lvm_split(char *str, int *argc, char
35 35
  /* Make sure we have always valid filedescriptors 0,1,2 */
36 36
  static int _check_standard_fds(void)
37 37
  {
@@ -39,7 +39,7 @@
39 39
  	int err = is_valid_fd(STDERR_FILENO);
40 40
  
41 41
  	if (!is_valid_fd(STDIN_FILENO) &&
42
-@@ -1767,6 +1768,12 @@ static int _check_standard_fds(void)
42
+@@ -1770,6 +1771,12 @@ static int _check_standard_fds(void)
43 43
  		       strerror(errno));
44 44
  		return 0;
45 45
  	}