summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-12-04 20:28:08 +0100
committerSebastian Pipping <sping@gentoo.org>2016-12-04 20:28:08 +0100
commit05307e4b2c199686722c7d7c89fa4018339fbf83 (patch)
tree46a1b388e96e1c6866e32980b1c45af84816c36a /media-gfx
parentdev-perl/File-MimeInfo: Bump to version 0.280.0 (diff)
downloadgentoo-05307e4b2c199686722c7d7c89fa4018339fbf83.tar.gz
gentoo-05307e4b2c199686722c7d7c89fa4018339fbf83.tar.bz2
gentoo-05307e4b2c199686722c7d7c89fa4018339fbf83.zip
media-gfx/gimp: Remove guard to addwrite (bug #569738 comment 21)
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/gimp-2.9.2-r2.ebuild6
-rw-r--r--media-gfx/gimp/gimp-2.9.4-r1.ebuild6
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild6
3 files changed, 12 insertions, 6 deletions
diff --git a/media-gfx/gimp/gimp-2.9.2-r2.ebuild b/media-gfx/gimp/gimp-2.9.2-r2.ebuild
index 3182ecc7a031..cfafe60c64aa 100644
--- a/media-gfx/gimp/gimp-2.9.2-r2.ebuild
+++ b/media-gfx/gimp/gimp-2.9.2-r2.ebuild
@@ -132,8 +132,10 @@ src_configure() {
src_compile() {
# Bugs #569738 and #591214
local nv
- for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do
- [[ -e "${nv}" ]] && addwrite "${nv}"
+ for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
+ # We do not check for existence as they may show up later
+ # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
+ addwrite "${nv}"
done
addwrite /dev/dri/ # bug #574038
addwrite /dev/ati/ # bug 589198
diff --git a/media-gfx/gimp/gimp-2.9.4-r1.ebuild b/media-gfx/gimp/gimp-2.9.4-r1.ebuild
index 5b9c5ce7fb63..dd0b0d14c94a 100644
--- a/media-gfx/gimp/gimp-2.9.4-r1.ebuild
+++ b/media-gfx/gimp/gimp-2.9.4-r1.ebuild
@@ -135,8 +135,10 @@ src_configure() {
src_compile() {
# Bugs #569738 and #591214
local nv
- for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do
- [[ -e "${nv}" ]] && addwrite "${nv}"
+ for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
+ # We do not check for existence as they may show up later
+ # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
+ addwrite "${nv}"
done
addwrite /dev/dri/ # bug #574038
addwrite /dev/ati/ # bug 589198
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 0261d403512b..9704f356410f 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -138,8 +138,10 @@ src_configure() {
src_compile() {
# Bugs #569738 and #591214
local nv
- for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do
- [[ -e "${nv}" ]] && addwrite "${nv}"
+ for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
+ # We do not check for existence as they may show up later
+ # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
+ addwrite "${nv}"
done
addwrite /dev/dri/ # bug #574038
addwrite /dev/ati/ # bug 589198