diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-08-18 12:55:21 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:04:38 +0100 |
commit | 03df3137156027cf01ce2e9970749268f16f5975 (patch) | |
tree | 0e46f92ac8d8feac6e30b5781e3791d629ffc95c /meta/packages/coreutils/coreutils-5.3.0/install-cross.patch | |
parent | 7303807ef13c0a02434941852530fecce8778619 (diff) | |
download | poky-03df3137156027cf01ce2e9970749268f16f5975.tar.gz |
coreutils: upgrade to latest GPLv2 version (6.9)
Before adding latest coreutils GPLv3 version, first we upgrade existing
recipe to latest GPLv2 version here.
To ensure a clean process, all bits are coded from scratch including
patches and recipe, except that in recipe lines about update-alternative
are reused from previous 5.3.0. All new patches are licensed under
GPLv2.
Tested simple features with most coreutils commands
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/coreutils/coreutils-5.3.0/install-cross.patch')
-rw-r--r-- | meta/packages/coreutils/coreutils-5.3.0/install-cross.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/packages/coreutils/coreutils-5.3.0/install-cross.patch b/meta/packages/coreutils/coreutils-5.3.0/install-cross.patch deleted file mode 100644 index 98ba3d916c..0000000000 --- a/meta/packages/coreutils/coreutils-5.3.0/install-cross.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | --- src/install.c~ 2003-08-09 18:46:45.000000000 +0100 | ||
2 | +++ src/install.c 2004-03-27 18:38:45.000000000 +0000 | ||
3 | @@ -516,7 +516,14 @@ | ||
4 | strip (const char *path) | ||
5 | { | ||
6 | int status; | ||
7 | - pid_t pid = fork (); | ||
8 | + pid_t pid; | ||
9 | + char *strip_name; | ||
10 | + | ||
11 | + strip_name = getenv ("STRIP"); | ||
12 | + if (strip_name == NULL) | ||
13 | + strip_name = "strip"; | ||
14 | + | ||
15 | + pid = fork (); | ||
16 | |||
17 | switch (pid) | ||
18 | { | ||
19 | @@ -524,7 +531,7 @@ | ||
20 | error (EXIT_FAILURE, errno, _("fork system call failed")); | ||
21 | break; | ||
22 | case 0: /* Child. */ | ||
23 | - execlp ("strip", "strip", path, NULL); | ||
24 | + execlp (strip_name, "strip", path, NULL); | ||
25 | error (EXIT_FAILURE, errno, _("cannot run strip")); | ||
26 | break; | ||
27 | default: /* Parent. */ | ||