1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/libptytty/hotfix.patch.cross
3 # Copyright (C) 2021 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 --- libptytty-2.0/CMakeLists.txt.vanilla 2021-11-29 18:09:29.931154608 +0100
15 +++ libptytty-2.0/CMakeLists.txt 2021-11-29 18:11:00.746159293 +0100
17 message(FATAL_ERROR "libptytty requires unix-compliant filehandle passing ability")
23 - #include <sys/stat.h>
24 - #include <sys/types.h>
30 - struct group *gr = getgrnam (\"tty\");
31 - char *tty = ttyname (0);
35 - && stat (tty, &st) == 0
36 - && st.st_gid == gr->gr_gid);