summaryrefslogtreecommitdiffstats
path: root/debian/patches/apparmor-opencl.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
commit974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch)
tree1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/patches/apparmor-opencl.diff
parentAdding upstream version 1:7.0.4. (diff)
downloadlibreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.tar.xz
libreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.zip
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/apparmor-opencl.diff')
-rw-r--r--debian/patches/apparmor-opencl.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/apparmor-opencl.diff b/debian/patches/apparmor-opencl.diff
new file mode 100644
index 000000000..462f376bc
--- /dev/null
+++ b/debian/patches/apparmor-opencl.diff
@@ -0,0 +1,20 @@
+apparmor: Add opencl support
+
+AppArmor in Debian Buster now has OpenCL abstractions.
+
+Include OpenCL abstractions to fix OpenCL usage in Calc.
+Index: libreoffice-6.1.4/sysui/desktop/apparmor/program.soffice.bin
+===================================================================
+--- libreoffice-6.1.4.orig/sysui/desktop/apparmor/program.soffice.bin 2019-01-14 19:29:25.000000000 +0200
++++ libreoffice-6.1.4/sysui/desktop/apparmor/program.soffice.bin 2019-01-16 18:43:17.051781559 +0200
+@@ -98,6 +98,10 @@
+
+ #include <abstractions/user-tmp>
+
++ #include <abstractions/opencl-intel>
++ #include <abstractions/opencl-mesa>
++ #include <abstractions/opencl-nvidia>
++
+ #List directories for file browser
+ / r,
+ /**/ r,