void-packages/srcpkgs/libqmi/patches/musl.patch

12 lines
480 B
Diff

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