diff options
author | Ned Ludd <solar@gentoo.org> | 2004-06-15 07:09:54 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-06-15 07:09:54 +0000 |
commit | 6d402876a4cf8d2870689730b6272e946d88ac06 (patch) | |
tree | f94870c334be14eed8d4a7cc1ad4b2b98a9a89f7 /sys-apps/grep/files | |
parent | run gnuconfig_update when using uclibc (Manifest recommit) (diff) | |
download | gentoo-2-6d402876a4cf8d2870689730b6272e946d88ac06.tar.gz gentoo-2-6d402876a4cf8d2870689730b6272e946d88ac06.tar.bz2 gentoo-2-6d402876a4cf8d2870689730b6272e946d88ac06.zip |
added uclibc support
Diffstat (limited to 'sys-apps/grep/files')
-rw-r--r-- | sys-apps/grep/files/grep-2.5.1-restrict_arr.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch b/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch new file mode 100644 index 000000000000..aa71bbcb9db0 --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch @@ -0,0 +1,12 @@ +--- lib/posix/regex.h.mps 2004-06-09 22:00:00.000000000 +0200 ++++ lib/posix/regex.h 2004-06-09 22:00:40.000000000 +0200 +@@ -533,7 +533,9 @@ extern int re_exec _RE_ARGS ((const char + /* For now unconditionally define __restrict_arr to expand to nothing. + Ideally we would have a test for the compiler which allows defining + it to restrict. */ ++#ifndef __restrict_arr + #define __restrict_arr ++#endif + + /* POSIX compatibility. */ + extern int regcomp _RE_ARGS ((regex_t *__restrict __preg, |