summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-03-24 07:35:01 -0700
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-09 18:40:21 +0200
commit445f95f8d3f668ca2c0d48633ac03afc11094d00 (patch)
treeb96287f46edbc220e9830937cd70d6721012eb03 /meta-oe/recipes-core
parente19f6ed0b2bb3454f52165ca124cb6d92beea364 (diff)
downloadmeta-openembedded-445f95f8d3f668ca2c0d48633ac03afc11094d00.tar.gz
systemd: Refresh uclibc patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/systemd/systemd/format-replace-m-uclibc.patch33
1 files changed, 21 insertions, 12 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd/format-replace-m-uclibc.patch b/meta-oe/recipes-core/systemd/systemd/format-replace-m-uclibc.patch
index 1c95023bb..dd86121bb 100644
--- a/meta-oe/recipes-core/systemd/systemd/format-replace-m-uclibc.patch
+++ b/meta-oe/recipes-core/systemd/systemd/format-replace-m-uclibc.patch
@@ -9,8 +9,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 9
10Index: git/src/mount-setup.c 10Index: git/src/mount-setup.c
11=================================================================== 11===================================================================
12--- git.orig/src/mount-setup.c 2012-01-25 21:27:23.000000000 -0800 12--- git.orig/src/mount-setup.c 2012-01-26 21:15:12.573084007 -0800
13+++ git/src/mount-setup.c 2012-01-25 21:59:43.897031326 -0800 13+++ git/src/mount-setup.c 2012-01-26 21:15:16.005084174 -0800
14@@ -182,10 +182,10 @@ 14@@ -182,10 +182,10 @@
15 (void) fgets(buf, sizeof(buf), f); 15 (void) fgets(buf, sizeof(buf), f);
16 16
@@ -49,8 +49,8 @@ Index: git/src/mount-setup.c
49 if (r < 0) { 49 if (r < 0) {
50Index: git/src/socket-util.c 50Index: git/src/socket-util.c
51=================================================================== 51===================================================================
52--- git.orig/src/socket-util.c 2012-01-25 21:27:23.000000000 -0800 52--- git.orig/src/socket-util.c 2012-01-26 21:15:12.593084008 -0800
53+++ git/src/socket-util.c 2012-01-25 21:59:43.897031326 -0800 53+++ git/src/socket-util.c 2012-01-26 21:15:16.005084174 -0800
54@@ -192,7 +192,7 @@ 54@@ -192,7 +192,7 @@
55 int socket_address_parse_netlink(SocketAddress *a, const char *s) { 55 int socket_address_parse_netlink(SocketAddress *a, const char *s) {
56 int family; 56 int family;
@@ -81,8 +81,8 @@ Index: git/src/socket-util.c
81 81
82Index: git/src/swap.c 82Index: git/src/swap.c
83=================================================================== 83===================================================================
84--- git.orig/src/swap.c 2012-01-25 21:27:23.000000000 -0800 84--- git.orig/src/swap.c 2012-01-26 21:15:12.593084008 -0800
85+++ git/src/swap.c 2012-01-25 21:59:43.897031326 -0800 85+++ git/src/swap.c 2012-01-26 21:15:16.005084174 -0800
86@@ -1049,11 +1049,12 @@ 86@@ -1049,11 +1049,12 @@
87 (void) fscanf(m->proc_swaps, "%*s %*s %*s %*s %*s\n"); 87 (void) fscanf(m->proc_swaps, "%*s %*s %*s %*s %*s\n");
88 88
@@ -113,8 +113,8 @@ Index: git/src/swap.c
113 return -ENOMEM; 113 return -ENOMEM;
114Index: git/src/tmpfiles.c 114Index: git/src/tmpfiles.c
115=================================================================== 115===================================================================
116--- git.orig/src/tmpfiles.c 2012-01-25 21:27:23.000000000 -0800 116--- git.orig/src/tmpfiles.c 2012-01-26 21:15:12.617084010 -0800
117+++ git/src/tmpfiles.c 2012-01-25 22:06:58.649052774 -0800 117+++ git/src/tmpfiles.c 2012-01-26 23:17:01.185437712 -0800
118@@ -73,8 +73,8 @@ 118@@ -73,8 +73,8 @@
119 typedef struct Item { 119 typedef struct Item {
120 ItemType type; 120 ItemType type;
@@ -180,6 +180,15 @@ Index: git/src/tmpfiles.c
180 &n) < 2) { 180 &n) < 2) {
181 log_error("[%s:%u] Syntax error.", fname, line); 181 log_error("[%s:%u] Syntax error.", fname, line);
182 r = -EIO; 182 r = -EIO;
183@@ -944,7 +941,7 @@
184 if (n >= 0) {
185 n += strspn(buffer+n, WHITESPACE);
186 if (buffer[n] != 0 && (buffer[n] != '-' || buffer[n+1] != 0)) {
187- i->argument = unquote(buffer+n, "\"");
188+ strcpy(i->argument, unquote(buffer+n, "\""));
189 if (!i->argument) {
190 log_error("Out of memory");
191 return -ENOMEM;
183@@ -1096,11 +1093,6 @@ 192@@ -1096,11 +1093,6 @@
184 r = 0; 193 r = 0;
185 194
@@ -194,8 +203,8 @@ Index: git/src/tmpfiles.c
194 203
195Index: git/src/mount.c 204Index: git/src/mount.c
196=================================================================== 205===================================================================
197--- git.orig/src/mount.c 2012-01-25 21:27:23.000000000 -0800 206--- git.orig/src/mount.c 2012-01-26 21:15:12.573084007 -0800
198+++ git/src/mount.c 2012-01-25 21:59:43.901031505 -0800 207+++ git/src/mount.c 2012-01-26 21:15:16.005084174 -0800
199@@ -24,6 +24,7 @@ 208@@ -24,6 +24,7 @@
200 #include <mntent.h> 209 #include <mntent.h>
201 #include <sys/epoll.h> 210 #include <sys/epoll.h>
@@ -282,8 +291,8 @@ Index: git/src/mount.c
282 free(o); 291 free(o);
283Index: git/src/umount.c 292Index: git/src/umount.c
284=================================================================== 293===================================================================
285--- git.orig/src/umount.c 2012-01-25 21:27:23.000000000 -0800 294--- git.orig/src/umount.c 2012-01-26 21:15:12.617084010 -0800
286+++ git/src/umount.c 2012-01-25 21:59:43.901031505 -0800 295+++ git/src/umount.c 2012-01-26 21:15:16.005084174 -0800
287@@ -60,7 +60,9 @@ 296@@ -60,7 +60,9 @@
288 297
289 static int mount_points_list_get(MountPoint **head) { 298 static int mount_points_list_get(MountPoint **head) {