Error compiling xf86-video-intel

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Sat, 02 Mar 2024 15:06:28 UTC
-- intel_virtual_output-virtual.o ---
virtual.c:499:11: error: use of undeclared identifier 'ETIME'
  499 |                 return -ETIME;
      |                         ^
virtual.c:506:11: error: use of undeclared identifier 'ETIME'
  506 |                 return -ETIME;
      |                         ^
virtual.c:3008:12: error: use of undeclared identifier 'ETIME'
 3008 |                         return -ETIME;
      |                                 ^
virtual.c:3042:16: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes]
 3042 | __attribute__((format(gnu_printf, 3, 4)))
      |                ^
virtual.c:3056:40: warning: format string is not a string literal [-Wformat-nonliteral]
 3056 |         len = vsnprintf(buf+4, sizeof(buf)-4, format, va)+5;
      |                                               ^~~~~~
virtual.c:3465:17: error: use of undeclared identifier 'ETIME'
 3465 |                                 if (ret != -ETIME) {
      |                                             ^
2 warnings and 4 errors generated.
*** [intel_virtual_output-virtual.o] Error code 1

make[2]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df/tools
1 error

make[2]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df/tools

make[1]: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df

make: stopped in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-drivers/xf86-video-intel
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-drivers/xf86-video-intel
[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# 


This is the error message in my system :[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# uname -a
FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 stable/14-n266661-a727d8d7f50f: Fri Feb  9 22:57:13 CET 2024     filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
Filippo