[Bug 277510] x11-drivers/xf86-video-intel: virtual.c:499:11: error: use of undeclared identifier 'ETIME'

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277510

            Bug ID: 277510
           Summary: x11-drivers/xf86-video-intel: virtual.c:499:11: error:
                    use of undeclared identifier 'ETIME'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Host: CURRENT (FreeBSD 15.0-CURRENT #20 main-n268656-d3befb534b9c: Mon Mar  4
16:38:02 CET 2024 amd64), recent ports tree (today's update).

Linker error:

[..]
libtool: link: cc -I/usr/local/include -D_THREAD_SAFE
-I/usr/local/include/libpng16 -O2 -pipe -Werror=uninitialized
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-fstack-protector-strong -o cursor cursor-cursor.o  -L/usr/local/lib -lXfixes
-lX11 -lpng16
--- 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.