Dash:
[t2-trunk.git] / package / filesystem / udev / runpatch.patch
blob9ea41c3705f5d9dc0150fcbd1d8c96e2282a74b1
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../udev/runpatch.patch
5 # Copyright (C) 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- udev-182/src/libudev.c.vanilla 2020-03-08 14:27:48.536223015 +0100
18 +++ udev-182/src/libudev.c 2020-03-08 14:28:48.600218073 +0100
19 @@ -251,7 +251,7 @@
20 goto err;
22 if (udev->run_path == NULL)
23 - if (set_value(&udev->run_path, "/run/udev") == NULL)
24 + if (set_value(&udev->run_path, "/dev/.udev") == NULL)
25 goto err;
27 if (udev->rules_path[0] == NULL) {
28 @@ -426,7 +426,7 @@
29 * udev_get_run_path:
30 * @udev: udev library context
32 - * Retrieve the udev runtime directory path. The default is "/run/udev".
33 + * Retrieve the udev runtime directory path. The default is "/dev/.udev".
35 * Returns: the runtime directory path
36 **/