1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../util-linux/uuidgen.patch
5 # Copyright (C) 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
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;