diff options
Diffstat (limited to 'meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch')
-rw-r--r-- | meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch b/meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch index 3818936087..b214f0b05d 100644 --- a/meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch +++ b/meta-oe/recipes-extended/libblockdev/files/0005-fix-a-clang-compiling-issue.patch | |||
@@ -19,17 +19,17 @@ Upstream-Status: Submitted [https://github.com/storaged-project/libblockdev/pull | |||
19 | 19 | ||
20 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 20 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
21 | --- | 21 | --- |
22 | src/plugins/crypto.c | 6 +++--- | 22 | src/plugins/crypto.c | 6 +++--- |
23 | src/plugins/fs.c | 4 ++-- | 23 | src/plugins/fs/vfat.c | 4 ++-- |
24 | src/plugins/part.c | 4 ++-- | 24 | src/plugins/part.c | 4 ++-- |
25 | src/utils/exec.c | 2 +- | 25 | src/utils/exec.c | 2 +- |
26 | 4 files changed, 8 insertions(+), 8 deletions(-) | 26 | 4 files changed, 8 insertions(+), 8 deletions(-) |
27 | 27 | ||
28 | diff --git a/src/plugins/crypto.c b/src/plugins/crypto.c | 28 | diff --git a/src/plugins/crypto.c b/src/plugins/crypto.c |
29 | index 8fbce4f..7ee7cdc 100644 | 29 | index 563093e..b961471 100644 |
30 | --- a/src/plugins/crypto.c | 30 | --- a/src/plugins/crypto.c |
31 | +++ b/src/plugins/crypto.c | 31 | +++ b/src/plugins/crypto.c |
32 | @@ -881,7 +881,7 @@ gboolean bd_crypto_tc_open (const gchar *device, const gchar *name, const guint8 | 32 | @@ -970,7 +970,7 @@ gboolean bd_crypto_tc_open (const gchar *device, const gchar *name, const guint8 |
33 | gint ret = 0; | 33 | gint ret = 0; |
34 | guint64 progress_id = 0; | 34 | guint64 progress_id = 0; |
35 | gchar *msg = NULL; | 35 | gchar *msg = NULL; |
@@ -38,7 +38,7 @@ index 8fbce4f..7ee7cdc 100644 | |||
38 | 38 | ||
39 | msg = g_strdup_printf ("Started opening '%s' TrueCrypt/VeraCrypt device", device); | 39 | msg = g_strdup_printf ("Started opening '%s' TrueCrypt/VeraCrypt device", device); |
40 | progress_id = bd_utils_report_started (msg); | 40 | progress_id = bd_utils_report_started (msg); |
41 | @@ -999,7 +999,7 @@ static gchar *replace_char (gchar *str, gchar orig, gchar new) { | 41 | @@ -1090,7 +1090,7 @@ static gchar *replace_char (gchar *str, gchar orig, gchar new) { |
42 | return str; | 42 | return str; |
43 | } | 43 | } |
44 | 44 | ||
@@ -47,7 +47,7 @@ index 8fbce4f..7ee7cdc 100644 | |||
47 | CERTCertificate *cert, GError **error) { | 47 | CERTCertificate *cert, GError **error) { |
48 | gpointer packet_data = NULL; | 48 | gpointer packet_data = NULL; |
49 | gsize packet_data_size = 0; | 49 | gsize packet_data_size = 0; |
50 | @@ -1008,7 +1008,7 @@ static gboolean write_escrow_data_file (struct libvk_volume *volume, struct libv | 50 | @@ -1099,7 +1099,7 @@ static gboolean write_escrow_data_file (struct libvk_volume *volume, struct libv |
51 | gsize bytes_written = 0; | 51 | gsize bytes_written = 0; |
52 | GError *tmp_error = NULL; | 52 | GError *tmp_error = NULL; |
53 | 53 | ||
@@ -56,11 +56,11 @@ index 8fbce4f..7ee7cdc 100644 | |||
56 | ui, LIBVK_PACKET_FORMAT_ASYMMETRIC_WRAP_SECRET_ONLY, error); | 56 | ui, LIBVK_PACKET_FORMAT_ASYMMETRIC_WRAP_SECRET_ONLY, error); |
57 | 57 | ||
58 | if (!packet_data) { | 58 | if (!packet_data) { |
59 | diff --git a/src/plugins/fs.c b/src/plugins/fs.c | 59 | diff --git a/src/plugins/fs/vfat.c b/src/plugins/fs/vfat.c |
60 | index c4b6ac8..647096d 100644 | 60 | index 3ed7d4a..5ff7795 100644 |
61 | --- a/src/plugins/fs.c | 61 | --- a/src/plugins/fs/vfat.c |
62 | +++ b/src/plugins/fs.c | 62 | +++ b/src/plugins/fs/vfat.c |
63 | @@ -2614,8 +2614,8 @@ BDFSVfatInfo* bd_fs_vfat_get_info (const gchar *device, GError **error) { | 63 | @@ -376,8 +376,8 @@ BDFSVfatInfo* bd_fs_vfat_get_info (const gchar *device, GError **error) { |
64 | */ | 64 | */ |
65 | gboolean bd_fs_vfat_resize (const gchar *device, guint64 new_size, GError **error) { | 65 | gboolean bd_fs_vfat_resize (const gchar *device, guint64 new_size, GError **error) { |
66 | PedDevice *ped_dev = NULL; | 66 | PedDevice *ped_dev = NULL; |
@@ -72,10 +72,10 @@ index c4b6ac8..647096d 100644 | |||
72 | PedSector start = 0; | 72 | PedSector start = 0; |
73 | PedSector length = 0; | 73 | PedSector length = 0; |
74 | diff --git a/src/plugins/part.c b/src/plugins/part.c | 74 | diff --git a/src/plugins/part.c b/src/plugins/part.c |
75 | index 12d2ef7..d277688 100644 | 75 | index fed8300..6b2a690 100644 |
76 | --- a/src/plugins/part.c | 76 | --- a/src/plugins/part.c |
77 | +++ b/src/plugins/part.c | 77 | +++ b/src/plugins/part.c |
78 | @@ -849,7 +849,7 @@ static PedPartition* add_part_to_disk (PedDevice *dev, PedDisk *disk, BDPartType | 78 | @@ -926,7 +926,7 @@ static PedPartition* add_part_to_disk (PedDevice *dev, PedDisk *disk, BDPartType |
79 | return NULL; | 79 | return NULL; |
80 | } | 80 | } |
81 | 81 | ||
@@ -84,7 +84,7 @@ index 12d2ef7..d277688 100644 | |||
84 | if (!part) { | 84 | if (!part) { |
85 | set_parted_error (error, BD_PART_ERROR_FAIL); | 85 | set_parted_error (error, BD_PART_ERROR_FAIL); |
86 | g_prefix_error (error, "Failed to create new partition on device '%s'", dev->path); | 86 | g_prefix_error (error, "Failed to create new partition on device '%s'", dev->path); |
87 | @@ -1427,7 +1427,7 @@ gboolean bd_part_set_part_flags (const gchar *disk, const gchar *part, guint64 f | 87 | @@ -1564,7 +1564,7 @@ gboolean bd_part_set_part_flags (const gchar *disk, const gchar *part, guint64 f |
88 | PedPartition *ped_part = NULL; | 88 | PedPartition *ped_part = NULL; |
89 | const gchar *part_num_str = NULL; | 89 | const gchar *part_num_str = NULL; |
90 | gint part_num = 0; | 90 | gint part_num = 0; |
@@ -94,7 +94,7 @@ index 12d2ef7..d277688 100644 | |||
94 | gboolean ret = FALSE; | 94 | gboolean ret = FALSE; |
95 | guint64 progress_id = 0; | 95 | guint64 progress_id = 0; |
96 | diff --git a/src/utils/exec.c b/src/utils/exec.c | 96 | diff --git a/src/utils/exec.c b/src/utils/exec.c |
97 | index 7ac44fd..0a3094c 100644 | 97 | index 11c1489..dcf87e5 100644 |
98 | --- a/src/utils/exec.c | 98 | --- a/src/utils/exec.c |
99 | +++ b/src/utils/exec.c | 99 | +++ b/src/utils/exec.c |
100 | @@ -354,7 +354,7 @@ gboolean bd_utils_exec_and_report_progress (const gchar **argv, const BDExtraArg | 100 | @@ -354,7 +354,7 @@ gboolean bd_utils_exec_and_report_progress (const gchar **argv, const BDExtraArg |
@@ -107,5 +107,5 @@ index 7ac44fd..0a3094c 100644 | |||
107 | gboolean err_done = FALSE; | 107 | gboolean err_done = FALSE; |
108 | GString *stdout_data = g_string_new (NULL); | 108 | GString *stdout_data = g_string_new (NULL); |
109 | -- | 109 | -- |
110 | 1.8.3.1 | 110 | 2.14.3 |
111 | 111 | ||