diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 13:23:09 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-25 13:23:09 +0000 |
commit | 2445bb8a765ecdcc2386a60c9c8e876cff727ad2 (patch) | |
tree | c58182e36d07fbbb65dec7cda4e634006b6a8ea6 /meta/packages/coreutils/coreutils-5.3.0/install-cross.patch | |
parent | ad2237b813cd10b2168422373cc4799e041c5885 (diff) | |
download | openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.gz openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.bz2 openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.tar.xz openembedded-core-2445bb8a765ecdcc2386a60c9c8e876cff727ad2.zip |
coreutils: add forgotten patches for 5.3.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1558 311d38ba-8fff-0310-9ca6-ca027cbcb966
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, 27 insertions, 0 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 new file mode 100644 index 000000000..98ba3d916 --- /dev/null +++ b/meta/packages/coreutils/coreutils-5.3.0/install-cross.patch @@ -0,0 +1,27 @@ +--- src/install.c~ 2003-08-09 18:46:45.000000000 +0100 ++++ src/install.c 2004-03-27 18:38:45.000000000 +0000 +@@ -516,7 +516,14 @@ + strip (const char *path) + { + int status; +- pid_t pid = fork (); ++ pid_t pid; ++ char *strip_name; ++ ++ strip_name = getenv ("STRIP"); ++ if (strip_name == NULL) ++ strip_name = "strip"; ++ ++ pid = fork (); + + switch (pid) + { +@@ -524,7 +531,7 @@ + error (EXIT_FAILURE, errno, _("fork system call failed")); + break; + case 0: /* Child. */ +- execlp ("strip", "strip", path, NULL); ++ execlp (strip_name, "strip", path, NULL); + error (EXIT_FAILURE, errno, _("cannot run strip")); + break; + default: /* Parent. */ |