libqmi: fix musl
This commit is contained in:
parent
154c113219
commit
f0a6cc6e02
1 changed files with 11 additions and 0 deletions
11
srcpkgs/libqmi/patches/musl.patch
Normal file
11
srcpkgs/libqmi/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/libqmi-glib/qmi-utils.c.orig 2017-03-21 13:26:54.000000000 +0000
|
||||
+++ src/libqmi-glib/qmi-utils.c 2017-05-06 07:01:21.180900541 +0000
|
||||
@@ -740,7 +740,7 @@
|
||||
* /sys/bus/usb/drivers/qmi_wwan
|
||||
*/
|
||||
tmp = g_strdup_printf ("/sys/class/%s/%s/device/driver", subsystems[i], device_basename);
|
||||
- path = canonicalize_file_name (tmp);
|
||||
+ path = realpath (tmp, NULL);
|
||||
g_free (tmp);
|
||||
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS))
|
Loading…
Reference in a new issue