[Bug 266278] graphics/drm-510-kmod update to 5.10.113_5 does not compile on 13.1-STABLE amd64

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Sep 2022 18:08:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266278

            Bug ID: 266278
           Summary: graphics/drm-510-kmod update to 5.10.113_5  does not
                    compile on 13.1-STABLE amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl

13.1-STABLE #0 stable/13-f25bd922c amd64

/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.113_5/drivers/dma-buf/sync_file.c:394:3:
error: implicit declaration of function 'cpu_relax' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
                cpu_relax();
                ^
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.113_5/drivers/dma-buf/sync_file.c:394:3:
note: did you mean 'cpu_reset'?
./machine/cpu.h:81:6: note: 'cpu_reset' declared here
void    cpu_reset(void);
        ^
1 error generated.
*** [sync_file.o] Error code 1

make[2]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.113_5/dmabuf
1 error

make[2]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.113_5/dmabuf

make[1]: stopped in
/usr/obj/usr/ports/graphics/drm-510-kmod/work/drm-kmod-drm_v5.10.113_5

-- 
You are receiving this mail because:
You are the assignee for the bug.