diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-11-27 18:01:47 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-11-27 18:01:47 +0000 |
commit | 1e35eca3e0c7e1e42f0dc776e837efc80febd555 (patch) | |
tree | e76de1e2c530bbf0f546ffbe7328aa5f24f7a19b /app-shells/posh/files/posh-glibc-2.16.patch | |
parent | whitespace (diff) | |
download | gentoo-2-1e35eca3e0c7e1e42f0dc776e837efc80febd555.tar.gz gentoo-2-1e35eca3e0c7e1e42f0dc776e837efc80febd555.tar.bz2 gentoo-2-1e35eca3e0c7e1e42f0dc776e837efc80febd555.zip |
Version bump. Backport a patch for glibc-2.16 compatibility (bug #432618).
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'app-shells/posh/files/posh-glibc-2.16.patch')
-rw-r--r-- | app-shells/posh/files/posh-glibc-2.16.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-shells/posh/files/posh-glibc-2.16.patch b/app-shells/posh/files/posh-glibc-2.16.patch new file mode 100644 index 000000000000..8c29def10f72 --- /dev/null +++ b/app-shells/posh/files/posh-glibc-2.16.patch @@ -0,0 +1,19 @@ +Description: explicitly include sys/resource.h, for eglibc 2.16 + sys/resource.h is no longer included by sys/wait.h + http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d94a4670800de6e8f088b8630ad5142866127980 +Author: Stefano Rivera <stefanor@ubuntu.com> +Last-Updated: 2012-11-07 + +--- a/ksh_wait.h ++++ b/ksh_wait.h +@@ -5,6 +5,10 @@ + # include <sys/wait.h> + #endif + ++#ifdef HAVE_SYS_RESOURCE_H ++# include <sys/resource.h> ++#endif ++ + #ifndef POSIX_SYS_WAIT + /* Get rid of system macros (which probably use union wait) */ + # undef WIFCORED |