diff options
author | Benda Xu <heroxbd@gentoo.org> | 2013-10-11 21:18:02 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2013-10-11 21:18:02 +0900 |
commit | 48e6efaadbff6c48cc4c4636fa222b1c73c941eb (patch) | |
tree | 91ef3fb18a4f442ba252ca96764954c976a43f26 /sys-libs/glibc/files/2.17 | |
parent | prefixify /etc/resolv.conf in glibc (diff) | |
download | android-48e6efaadbff6c48cc4c4636fa222b1c73c941eb.tar.gz android-48e6efaadbff6c48cc4c4636fa222b1c73c941eb.tar.bz2 android-48e6efaadbff6c48cc4c4636fa222b1c73c941eb.zip |
remove eselect-boost, dpkg. patch glibc shell calls.
Diffstat (limited to 'sys-libs/glibc/files/2.17')
-rw-r--r-- | sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch index 50453b9..fd66bb9 100644 --- a/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch +++ b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch @@ -424,3 +424,29 @@ Index: work/glibc-2.17/resolv/resolv.h #endif struct res_sym { +Index: work/glibc-2.17/sysdeps/posix/system.c +=================================================================== +--- work.orig/glibc-2.17/sysdeps/posix/system.c ++++ work/glibc-2.17/sysdeps/posix/system.c +@@ -26,7 +26,7 @@ + #include <sysdep-cancel.h> + + +-#define SHELL_PATH "/bin/sh" /* Path of the shell. */ ++#define SHELL_PATH "@GENTOO_PORTAGE_EPREFIX@/bin/sh" /* Path of the shell. */ + #define SHELL_NAME "sh" /* Name to give it. */ + + +Index: work/glibc-2.17/libio/iopopen.c +=================================================================== +--- work.orig/glibc-2.17/libio/iopopen.c ++++ work/glibc-2.17/libio/iopopen.c +@@ -222,7 +222,7 @@ _IO_new_proc_open (fp, command, mode) + _IO_close (fd); + } + +- _IO_execl ("/bin/sh", "sh", "-c", command, (char *) 0); ++ _IO_execl ("@GENTOO_PORTAGE_EPREFIX@/bin/sh", "sh", "-c", command, (char *) 0); + _IO__exit (127); + } + _IO_close (child_end); |