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'.
This commit is contained in:
宋文武 2015-10-19 22:21:21 +08:00
parent 1cb16f1ea3
commit 20848f3637
1 changed files with 3 additions and 2 deletions

View File

@ -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")))