diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-09-28 16:01:13 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-09-28 16:01:13 +0000 |
commit | 0ed7d2cc66aa9c1bff409bd107ead3616fdf7b6e (patch) | |
tree | fc29e0b70d9319a76acbd5da9fb65a228aa76bfa /dev-vcs/cssc/files | |
parent | Add LINGUAS support so that USE=nls actually makes sense. (diff) | |
download | historical-0ed7d2cc66aa9c1bff409bd107ead3616fdf7b6e.tar.gz historical-0ed7d2cc66aa9c1bff409bd107ead3616fdf7b6e.tar.bz2 historical-0ed7d2cc66aa9c1bff409bd107ead3616fdf7b6e.zip |
Fix building against sys-libs/glibc-2.16 (bug #436510).
Package-Manager: portage-2.2.0_alpha134/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/cssc/files')
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.3.0-gets.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/cssc/files/cssc-1.3.0-gets.patch b/dev-vcs/cssc/files/cssc-1.3.0-gets.patch new file mode 100644 index 000000000000..d844b83a0990 --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.3.0-gets.patch @@ -0,0 +1,13 @@ +--- a/gl/lib/stdio.in.h ++++ b/gl/lib/stdio.in.h +@@ -138,8 +138,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#ifdef gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ |