summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-10-19 22:21:21 +0800
committer宋文武 <iyzsong@gmail.com>2015-10-19 22:21:21 +0800
commit20848f3637af2bb97db03e9cd2e01d11494c6f02 (patch)
tree4a1440b1ff623155681357df9c5f97d93e5bf74a
parent1cb16f1ea3a182339b4d4cbf28107a2cba29ac55 (diff)
downloadguix-20848f3637af2bb97db03e9cd2e01d11494c6f02.tar.gz
gnu: mesa: Patch the dlopen call for 'libudev.so'.
Fixes a regression introduced in d18c3c6.

* gnu/packages/gl.scm (mesa)[arguments]: Update the 'substitute*'
  call for 'libudev.so'.
-rw-r--r--gnu/packages/gl.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index eee3d245ab..ec6a7f1684 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -260,8 +260,9 @@ also known as DXTn or DXTC) for Mesa.")
                         (("\"libtxc_dxtn\\.so")
                          (string-append "\"" s2tc "/lib/libtxc_dxtn.so")))
                       (substitute* "src/loader/loader.c"
-                        (("dlopen\\(\"libudev\\.so")
-                         (string-append "dlopen(\"" udev "/lib/libudev.so")))
+                        (("udev_handle = dlopen\\(name")
+                         (string-append "udev_handle = dlopen(\""
+                                        udev "/lib/libudev.so\"")))
                       (substitute* "src/glx/dri_common.c"
                         (("dlopen\\(\"libGL\\.so")
                          (string-append "dlopen(\"" out "/lib/libGL.so")))