diff options
author | 2013-01-21 12:33:10 +0000 | |
---|---|---|
committer | 2013-01-21 12:33:10 +0000 | |
commit | 1f18ccc06f3c2853acdcd6310831421ba2787138 (patch) | |
tree | 31b338470e68a65288ab0a2103bd7611f3bb1c5c /sys-fs/shake/files/shake-0.999-fix_stat_include.patch | |
parent | Drop stable ebuilds (see bugs #391789, #453242). (diff) | |
download | gentoo-2-1f18ccc06f3c2853acdcd6310831421ba2787138.tar.gz gentoo-2-1f18ccc06f3c2853acdcd6310831421ba2787138.tar.bz2 gentoo-2-1f18ccc06f3c2853acdcd6310831421ba2787138.zip |
Fix compilation with glibc-2.17, bug #451768
(Portage version: 2.2.0_alpha158/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'sys-fs/shake/files/shake-0.999-fix_stat_include.patch')
-rw-r--r-- | sys-fs/shake/files/shake-0.999-fix_stat_include.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/shake/files/shake-0.999-fix_stat_include.patch b/sys-fs/shake/files/shake-0.999-fix_stat_include.patch new file mode 100644 index 000000000000..b55776397288 --- /dev/null +++ b/sys-fs/shake/files/shake-0.999-fix_stat_include.patch @@ -0,0 +1,22 @@ +diff -Naur shake-fs-0.999.orig/judge.c shake-fs-0.999/judge.c +--- shake-fs-0.999.orig/judge.c 2013-01-21 13:21:17.171974754 +0100 ++++ shake-fs-0.999/judge.c 2013-01-21 13:21:31.346958593 +0100 +@@ -26,7 +26,6 @@ + #include <fcntl.h> // open() + #include <sys/types.h> // open(), umask() + #include <dirent.h> // scandir() +-#include <sys/stat.h> // stat(), umask() + #include <unistd.h> // stat() + #include <stdio.h> // printf(), tmpfile() + #include <error.h> // error() +diff -Naur shake-fs-0.999.orig/judge.h shake-fs-0.999/judge.h +--- shake-fs-0.999.orig/judge.h 2013-01-21 13:21:17.171974754 +0100 ++++ shake-fs-0.999/judge.h 2013-01-21 13:21:47.630940034 +0100 +@@ -22,6 +22,7 @@ + #include <stdbool.h> + #include <fcntl.h> + #include <time.h> ++#include <sys/stat.h> + typedef unsigned int uint; + typedef long long int llint; + |