1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/plocate/hotfix-stat-redefinition.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Avoid redefinition conflicts between sys/stat.h and linux/stat.h.
16 - NoTag <notag@t2sde.org>
18 --- plocate-1.1.22/io_uring_engine.h.vanilla 2024-04-05 13:33:53.356396188 +0200
19 +++ plocate-1.1.22/io_uring_engine.h 2024-04-05 13:34:19.229397202 +0200
21 #include <string_view>
22 #include <sys/socket.h>
23 #include <sys/types.h>
24 -#include <linux/stat.h>