1 |
tommy 09/09/10 16:42:56 |
2 |
|
3 |
Added: dmraid-1.0.0_rc15-undo-p-rename.patch |
4 |
dmraid-1.0.0_rc15-devsk-isw.patch |
5 |
Log: |
6 |
Add missing patches |
7 |
(Portage version: 2.2_rc40-r1/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-fs/dmraid/files/dmraid-1.0.0_rc15-undo-p-rename.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/files/dmraid-1.0.0_rc15-undo-p-rename.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/files/dmraid-1.0.0_rc15-undo-p-rename.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: dmraid-1.0.0_rc15-undo-p-rename.patch |
16 |
=================================================================== |
17 |
Author: Giuseppe Iuculano <giuseppe@××××××××.it> |
18 |
Description: Removed "p" from device name. A proper upgrade script is needed before using it. |
19 |
--- a/1.0.0.rc15/lib/format/partition/dos.c |
20 |
+++ b/1.0.0.rc15/lib/format/partition/dos.c |
21 |
@@ -31,7 +31,7 @@ _name(struct lib_context *lc, struct rai |
22 |
{ |
23 |
const char *base = get_basename(lc, rd->di->path); |
24 |
|
25 |
- return type ? snprintf(str, len, "%s%s%u", base, OPT_STR_PARTCHAR(lc), |
26 |
+ return type ? snprintf(str, len, "%s%u", base, |
27 |
partition) : snprintf(str, len, "%s", base); |
28 |
} |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
1.1 sys-fs/dmraid/files/dmraid-1.0.0_rc15-devsk-isw.patch |
34 |
|
35 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/files/dmraid-1.0.0_rc15-devsk-isw.patch?rev=1.1&view=markup |
36 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/dmraid/files/dmraid-1.0.0_rc15-devsk-isw.patch?rev=1.1&content-type=text/plain |
37 |
|
38 |
Index: dmraid-1.0.0_rc15-devsk-isw.patch |
39 |
=================================================================== |
40 |
--- ./lib/device/scsi.c.org 2009-06-25 15:22:26.605895909 -0700 |
41 |
+++ ./lib/device/scsi.c 2009-06-25 15:56:39.784749181 -0700 |
42 |
@@ -110,7 +110,9 @@ |
43 |
} |
44 |
|
45 |
ret = ret && |
46 |
- (di->serial = dbg_strdup((char *) &response[p->start + 1])); |
47 |
+ (di->serial = dbg_strdup(remove_white_space |
48 |
+ (lc, (char *)&response[p->start + 1], |
49 |
+ MAX_RESPONSE_LEN))); |
50 |
} |
51 |
|
52 |
dbg_free(response); |
53 |
--- ./lib/metadata/metadata.c.org 2009-06-25 17:32:19.856309659 -0700 |
54 |
+++ ./lib/metadata/metadata.c 2009-06-25 17:32:35.502920755 -0700 |
55 |
@@ -839,7 +839,7 @@ |
56 |
*/ |
57 |
if (T_GROUP(rs)) { |
58 |
_discover_partitions(lc, &rs->sets); |
59 |
- return; |
60 |
+ continue; |
61 |
} |
62 |
|
63 |
/* |