diff options
Diffstat (limited to 'meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch')
-rw-r--r-- | meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch b/meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch index 00e6657e09..7a2c888701 100644 --- a/meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch +++ b/meta/recipes-extended/mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch | |||
@@ -1,3 +1,11 @@ | |||
1 | From e37f7f6a0f1ef1b594574d11a8b90b8c861d047b Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> | ||
3 | Date: Sun, 15 Mar 2015 09:02:14 +0000 | ||
4 | Subject: [PATCH] mdadm: Fix build in x32 ABI | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
1 | When try to print time_t values as a long int it causes an error because time_t | 9 | When try to print time_t values as a long int it causes an error because time_t |
2 | data type in x32 ABI is long long int. | 10 | data type in x32 ABI is long long int. |
3 | 11 | ||
@@ -5,11 +13,15 @@ Upstream-Status: Pending | |||
5 | 13 | ||
6 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | 14 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> |
7 | 15 | ||
8 | Index: mdadm-4.0/monitor.c | 16 | --- |
9 | =================================================================== | 17 | monitor.c | 5 ++++- |
10 | --- mdadm-4.0.orig/monitor.c | 18 | 1 file changed, 4 insertions(+), 1 deletion(-) |
11 | +++ mdadm-4.0/monitor.c | 19 | |
12 | @@ -445,9 +445,12 @@ static int read_and_act(struct active_ar | 20 | diff --git a/monitor.c b/monitor.c |
21 | index 81537ed..7c33382 100644 | ||
22 | --- a/monitor.c | ||
23 | +++ b/monitor.c | ||
24 | @@ -445,9 +445,12 @@ static int read_and_act(struct active_array *a, fd_set *fds) | ||
13 | if (FD_ISSET(mdi->bb_fd, fds)) | 25 | if (FD_ISSET(mdi->bb_fd, fds)) |
14 | check_for_cleared_bb(a, mdi); | 26 | check_for_cleared_bb(a, mdi); |
15 | } | 27 | } |