diff options
author | Sebastian Pipping <sping@gentoo.org> | 2016-09-18 15:54:51 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2016-09-18 16:34:08 +0200 |
commit | 88cfe3aff7ddd01e66272436bb1eee86280c8ef0 (patch) | |
tree | e7e60291224ea029bb0aa809bd769aa6266d30b6 /media-gfx/gimp | |
parent | sci-mathematics/pymc: version bump to 2.3.6 and porting to EAPI 6 (diff) | |
download | gentoo-88cfe3aff7ddd01e66272436bb1eee86280c8ef0.tar.gz gentoo-88cfe3aff7ddd01e66272436bb1eee86280c8ef0.tar.bz2 gentoo-88cfe3aff7ddd01e66272436bb1eee86280c8ef0.zip |
media-gfx/gimp: Graphics device access (bug #569738)
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r-- | media-gfx/gimp/gimp-2.9.2-r2.ebuild | 8 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.9.4.ebuild | 8 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-9999.ebuild | 8 |
3 files changed, 15 insertions, 9 deletions
diff --git a/media-gfx/gimp/gimp-2.9.2-r2.ebuild b/media-gfx/gimp/gimp-2.9.2-r2.ebuild index 1d56b574fdf9..fee9f5109184 100644 --- a/media-gfx/gimp/gimp-2.9.2-r2.ebuild +++ b/media-gfx/gimp/gimp-2.9.2-r2.ebuild @@ -130,9 +130,11 @@ src_configure() { } src_compile() { - addwrite /dev/nvidiactl # bug #569738 - addwrite /dev/nvidia? # bug #569738 - addwrite /dev/nvidia-uvm # bug #591214 + # Bugs #569738 and #591214 + local nv + for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do + [[ -e "${nv}" ]] && addwrite "${nv}" + done addwrite /dev/dri/ # bug #574038 addwrite /dev/ati/ # bug 589198 addwrite /proc/mtrr # bug 589198 diff --git a/media-gfx/gimp/gimp-2.9.4.ebuild b/media-gfx/gimp/gimp-2.9.4.ebuild index 574267c4025d..f6f13aeea4ab 100644 --- a/media-gfx/gimp/gimp-2.9.4.ebuild +++ b/media-gfx/gimp/gimp-2.9.4.ebuild @@ -132,9 +132,11 @@ src_configure() { } src_compile() { - addwrite /dev/nvidiactl # bug #569738 - addwrite /dev/nvidia? # bug #569738 - addwrite /dev/nvidia-uvm # bug #591214 + # Bugs #569738 and #591214 + local nv + for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do + [[ -e "${nv}" ]] && addwrite "${nv}" + done addwrite /dev/dri/ # bug #574038 addwrite /dev/ati/ # bug 589198 addwrite /proc/mtrr # bug 589198 diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index 24dfd207afe7..7b4220a9e701 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.ebuild @@ -137,9 +137,11 @@ src_configure() { } src_compile() { - addwrite /dev/nvidiactl # bug #569738 - addwrite /dev/nvidia? # bug #569738 - addwrite /dev/nvidia-uvm # bug #591214 + # Bugs #569738 and #591214 + local nv + for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia[0-9] ; do + [[ -e "${nv}" ]] && addwrite "${nv}" + done addwrite /dev/dri/ # bug #574038 addwrite /dev/ati/ # bug 589198 addwrite /proc/mtrr # bug 589198 |