# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/suspend/hotfix.patch # Copyright (C) 2009 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Attention: same fix in x11/ddcxinfo! --- suspend/vbetool/lrmi.c.vanilla 2009-10-30 18:58:30.000000000 +0000 +++ suspend/vbetool/lrmi.c 2009-10-30 18:56:02.000000000 +0000 @@ -54,6 +54,14 @@ #include "include/lrmi.h" #include "x86-common.h" +#ifndef TF_MASK +#define TF_MASK X86_EFLAGS_TF +#define IF_MASK X86_EFLAGS_IF +#define IOPL_MASK X86_EFLAGS_IOPL +#define VIF_MASK X86_EFLAGS_VIF +#define VIP_MASK X86_EFLAGS_VIP +#endif + #if defined(__linux__) #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) #elif defined(__NetBSD__) || defined(__FreeBSD__)