Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41215 Details for
Bug 66511
Porting: games.eclass fixes for MacOSX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
games.eclass.patch
games.eclass.patch (text/plain), 1.89 KB, created by
Joe Jezak (RETIRED)
on 2004-10-06 03:54:59 UTC
(
hide
)
Description:
games.eclass.patch
Filename:
MIME Type:
Creator:
Joe Jezak (RETIRED)
Created:
2004-10-06 03:54:59 UTC
Size:
1.89 KB
patch
obsolete
>--- /Volumes/Linux/usr/portage/eclass/games.eclass Fri Sep 24 06:35:43 2004 >+++ games.eclass Wed Oct 6 20:40:50 2004 >@@ -93,7 +93,7 @@ > dogameslib.so() { gameswrapper ${FUNCNAME/games} "$@"; } > newgamesbin() { gameswrapper ${FUNCNAME/games} "$@"; } > newgamessbin() { gameswrapper ${FUNCNAME/games} "$@"; } >- >+gamesownersr() { chown -R ${GAMES_USER}:${GAMES_GROUP} "$@"; } > gamesowners() { chown ${GAMES_USER}:${GAMES_GROUP} "$@"; } > gamesperms() { chmod u+rw,g+r-w,o-rwx "$@"; } > prepgamesdirs() { >@@ -101,9 +101,10 @@ > for dir in ${GAMES_PREFIX} ${GAMES_PREFIX_OPT} ${GAMES_DATADIR} ${GAMES_SYSCONFDIR} \ > ${GAMES_STATEDIR} ${GAMES_LIBDIR} ${GAMES_BINDIR} "$@" ; do > ( >- gamesowners -R ${D}/${dir} >- find ${D}/${dir} -type d -print0 | xargs --null chmod 750 >- find ${D}/${dir} -type f -print0 | xargs --null chmod o-rwx,g+r >+ local DDIR=`echo ${D}/${dir} | sed 's:/\{2,\}:/:g'`; >+ gamesownersr ${DDIR} >+ find ${DDIR} -type d -print0 | xargs --null chmod 750 >+ find ${DDIR} -type f -print0 | xargs --null chmod o-rwx,g+r > ) >& /dev/null > done > local f="" >@@ -132,8 +133,10 @@ > > # Dear carpaski and portage-dev team, we are so sorry. Lots of love, games team > # See Bug #61680 >- [ "$(getent passwd ${GAMES_USER_DED} | cut -f7 -d:)" == "/bin/false" ] \ >- && usermod -s /bin/bash "${GAMES_USER_DED}" >+ if ! useq macos && ! useq ppc-macos ; then >+ [ "$(getent passwd ${GAMES_USER_DED} | cut -f7 -d:)" == "/bin/false" ] \ >+ && usermod -s /bin/bash "${GAMES_USER_DED}" >+ fi > } > > games_src_compile() { >@@ -147,7 +150,12 @@ > ewarn "Remember, in order to play games, you have to" > ewarn "be in the '${GAMES_GROUP}' group." > echo >- einfo "See the usermod(8) manpage for more information." >+ if useq macos ; then >+ einfo "To add a user to the games group:" >+ einfo "niutil -appendprop / /groups/games users <username>" >+ else >+ einfo "See the usermod(8) manpage for more information." >+ end > echo > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66511
: 41215