* updated libkomparediff2 (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / base / util-linux / uuidgen.patch
blob279374f1f499128889455b6d25002b61f806f7da
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../util-linux/uuidgen.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 Don't try to cerate /lib/uuid/whatever files, they don't exist by default
18 and it causes write outside basedir for firefox corss builds.
20 - René Rebe <rene@exatcode.de>
22 --- util-linux-2.33.2/libuuid/src/gen_uuid.c.orig 2020-09-28 22:31:48.801715175 +0200
23 +++ util-linux-2.33.2/libuuid/src/gen_uuid.c 2020-09-28 22:31:59.468715950 +0200
24 @@ -221,7 +221,7 @@
26 THREAD_LOCAL int adjustment = 0;
27 THREAD_LOCAL struct timeval last = {0, 0};
28 - THREAD_LOCAL int state_fd = -2;
29 + THREAD_LOCAL int state_fd = -1;
30 THREAD_LOCAL FILE *state_f;
31 THREAD_LOCAL uint16_t clock_seq;
32 struct timeval tv;