diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-12-01 14:45:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:30 +0000 |
commit | 0203b2b3af5858931fc82072551a264ec4506d52 (patch) | |
tree | 28946aa775299947330f4a02a100738ee7feaa64 /meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch | |
parent | 60a8f94c00101eff39428ff7548f45ffe1233103 (diff) | |
download | poky-0203b2b3af5858931fc82072551a264ec4506d52.tar.gz |
util-linux: Update to 2.20.1
Add patch remove setting CC, LD and LDFLAGS on commandline
since they are passed correctly via configure. Those setting
also caused the configure information about -std=gnu99 from
being passed correctly.
Removed patch that was fixed upstream
Added scanf configuration, since this is a cross-compile target check
libuuid removed an API that e2fsprogs uuidd used (uuid__generate_*),
thus we disable it in this patch and will now provide uuidd from
util-linux.
See http://sourceforge.net/projects/e2fsprogs/forums/forum/7053/topic/4639484
(From OE-Core rev: fdaf4e791fcacb48ea430ec768ad9a6919c65ce0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch new file mode 100644 index 0000000000..02e4d16ff7 --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | simpleinit: remove deprecated sigsetmask() | ||
2 | |||
3 | The sigsetmask() is deprecated in favor of sigprocmask(). | ||
4 | |||
5 | This is not needed upstream since simpleinit is removed from | ||
6 | util-linux-ng master | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | |||
10 | Upstream-Status: Inappropriate | ||
11 | |||
12 | Index: util-linux-2.19.1/simpleinit/shutdown.c | ||
13 | =================================================================== | ||
14 | --- util-linux-2.19.1.orig/simpleinit/shutdown.c 2011-03-04 03:47:47.000000000 -0800 | ||
15 | +++ util-linux-2.19.1/simpleinit/shutdown.c 2011-07-06 08:43:39.183849752 -0700 | ||
16 | @@ -145,7 +145,7 @@ | ||
17 | { | ||
18 | int c, i, fd; | ||
19 | char *ptr; | ||
20 | - | ||
21 | + sigset_t sigmask; | ||
22 | i = getdtablesize (); | ||
23 | for (fd = 3; fd < i; fd++) close (fd); | ||
24 | if (getpid () == 1) | ||
25 | @@ -153,7 +153,9 @@ | ||
26 | for (fd = 0; fd < 3; fd++) close (fd); | ||
27 | while (1) wait (NULL); /* Grim reaper never stops */ | ||
28 | } | ||
29 | - sigsetmask (0); /* simpleinit(8) blocks all signals: undo for ALRM */ | ||
30 | + /* simpleinit(8) blocks all signals: undo for ALRM */ | ||
31 | + sigemptyset(&sigmask); | ||
32 | + sigprocmask (SIG_SETMASK, &sigmask, NULL); | ||
33 | for (i = 1; i < NSIG; i++) signal (i, SIG_DFL); | ||
34 | |||
35 | setlocale(LC_ALL, ""); | ||