commit: 05307e4b2c199686722c7d7c89fa4018339fbf83 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Sun Dec 4 19:28:08 2016 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sun Dec 4 19:28:08 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05307e4b
media-gfx/gimp: Remove guard to addwrite (bug #569738 comment 21) Package-Manager: portage-2.3.2 media-gfx/gimp/gimp-2.9.2-r2.ebuild | 6 ++++-- media-gfx/gimp/gimp-2.9.4-r1.ebuild | 6 ++++-- media-gfx/gimp/gimp-9999.ebuild | 6 ++++-- 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 3182ecc..cfafe60 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 5b9c5ce..dd0b0d1 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 0261d40..9704f35 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