storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libvdpau / tracing.patch
blobcc4fdf88e48fcb58c608f69268d3f1c5b38039c2
1 diff --git a/src/vdpau_wrapper.c b/src/vdpau_wrapper.c
2 index 79dcb94..6249af4 100644
3 --- a/src/vdpau_wrapper.c
4 +++ b/src/vdpau_wrapper.c
5 @@ -185,8 +185,7 @@ static VdpStatus _vdp_open_driver(
6 if (vdpau_trace && atoi(vdpau_trace)) {
7 SetDllHandle * set_dll_handle;
9 - _vdp_trace_dll = dlopen(VDPAU_MODULEDIR "/libvdpau_trace.so.1",
10 - RTLD_NOW | RTLD_GLOBAL);
11 + _vdp_trace_dll = dlopen("libvdpau_trace.so.1", RTLD_NOW | RTLD_GLOBAL);
12 if (!_vdp_trace_dll) {
13 fprintf(stderr, "Failed to open VDPAU trace library %s\n", dlerror());
14 _VDP_ERROR_BREAKPOINT();
15 diff --git a/trace/meson.build b/trace/meson.build
16 index 5381b8b..4af408f 100644
17 --- a/trace/meson.build
18 +++ b/trace/meson.build
19 @@ -4,5 +4,4 @@ trace = shared_library('vdpau_trace',
20 dependencies : libdl,
21 version : '1.0.0',
22 install : true,
23 - install_dir : moduledir,