Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459422 Details for
Bug 605230
www-client/firefox[pgo] `shopt -s nullglob`not working?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
firefox-avoid-shopts.patch
firefox.patch (text/plain), 1.40 KB, created by
Francesco Riosa
on 2017-01-10 00:16:22 UTC
(
hide
)
Description:
firefox-avoid-shopts.patch
Filename:
MIME Type:
Creator:
Francesco Riosa
Created:
2017-01-10 00:16:22 UTC
Size:
1.40 KB
patch
obsolete
>diff --git a/www-client/firefox/firefox-50.1.0-r1.ebuild b/www-client/firefox/firefox-50.1.0-r1.ebuild >index 6c11378..1d3d7bf 100644 >--- a/www-client/firefox/firefox-50.1.0-r1.ebuild >+++ b/www-client/firefox/firefox-50.1.0-r1.ebuild >@@ -237,6 +237,8 @@ src_configure() { > } > > src_compile() { >+ local cards >+ local card > if use pgo; then > addpredict /root > addpredict /etc/gconf >@@ -244,19 +246,22 @@ src_compile() { > gnome2_environment_reset > > # Firefox tries to use dri stuff when it's run, see bug 380283 >- shopt -s nullglob >- cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') >- if test -z "${cards}"; then >- cards=$(echo -n /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') >- if test -n "${cards}"; then >+ cards=/dev/dri/card* >+ cards="${cards#/dev/dri/card\*}" >+ if [[ ${cards} == "" ]] ; then >+ cards="/dev/ati/card* /dev/nvidiactl*" >+ cards="${cards#/dev/ati/card\* }" >+ cards="${cards%/dev/nvidiactl\*}" >+ if [[ ${cards} != "" ]] ; then > # Binary drivers seem to cause access violations anyway, so > # let's use indirect rendering so that the device files aren't > # touched at all. See bug 394715. > export LIBGL_ALWAYS_INDIRECT=1 > fi > fi >- shopt -u nullglob >- addpredict "${cards}" >+ for card in cards; do >+ addpredict ${card} >+ done > > MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \ > virtx emake -f client.mk profiledbuild || die "virtx emake failed"
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 605230
: 459422