guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: mesa: Patch the dlopen call for 'libudev.so'.


From: ???
Subject: 01/01: gnu: mesa: Patch the dlopen call for 'libudev.so'.
Date: Mon, 19 Oct 2015 14:27:36 +0000

iyzsong pushed a commit to branch dbus-update
in repository guix.

commit 20848f3637af2bb97db03e9cd2e01d11494c6f02
Author: 宋文武 <address@hidden>
Date:   Mon Oct 19 22:21:21 2015 +0800

    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'.
---
 gnu/packages/gl.scm |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index eee3d24..ec6a7f1 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]