1 |
commit: 22b6db86586cbdb4662dbe5f61d85b6610104025 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 08:07:46 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 08:07:51 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b6db86 |
7 |
|
8 |
games.eclass: use group 0 to fix building on BSD systems #562262 |
9 |
|
10 |
eclass/games.eclass | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/games.eclass b/eclass/games.eclass |
14 |
index 03421b3..7d231e1 100644 |
15 |
--- a/eclass/games.eclass |
16 |
+++ b/eclass/games.eclass |
17 |
@@ -247,14 +247,14 @@ prepgamesdirs() { |
18 |
find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode |
19 |
|
20 |
# common trees should not be games owned #264872 #537580 |
21 |
- fowners root:root "${dir}" |
22 |
+ fowners root:0 "${dir}" |
23 |
fperms 755 "${dir}" |
24 |
if [[ ${dir} == "${GAMES_PREFIX}" \ |
25 |
|| ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then |
26 |
for d in $(get_libdir) bin ; do |
27 |
# check if dirs exist to avoid "nonfatal" option |
28 |
if [[ -e ${D}/${dir}/${d} ]] ; then |
29 |
- fowners root:root "${dir}/${d}" |
30 |
+ fowners root:0 "${dir}/${d}" |
31 |
fperms 755 "${dir}/${d}" |
32 |
fi |
33 |
done |