[Bug 269090] emby-server multimedia/emby-server: Update to 4.7.11.0 compiling error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Jan 2023 02:16:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269090

            Bug ID: 269090
           Summary: emby-server multimedia/emby-server: Update to
                    4.7.11.0 compiling error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: driesm@freebsd.org
          Reporter: lbfoo@disroot.org
          Assignee: driesm@freebsd.org
             Flags: maintainer-feedback?(driesm@freebsd.org)

libavutil/hwcontext_vulkan.c:363:7: error: use of undeclared identifier
'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME'
    { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG
               },
      ^
libavutil/hwcontext_vulkan.c:364:7: error: use of undeclared identifier
'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME'
    { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG
               },
      ^
libavutil/hwcontext_vulkan.c:469:29: error: invalid application of 'sizeof' to
an incomplete type 'const VulkanOptExtension []'
        optional_exts_num = FF_ARRAY_ELEMS(optional_device_exts);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
libavutil/hwcontext_vulkan.c:1434:29: error: invalid application of 'sizeof' to
an incomplete type 'const VulkanOptExtension []'
        for (int j = 0; j < FF_ARRAY_ELEMS(optional_device_exts); j++) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
                                 ^~~
4 errors generated.
gmake[2]: *** [ffbuild/common.mak:79: libavutil/hwcontext_vulkan.o] Error 1

may related to the bundled ffmpeg-2022_05_07 (bug #261302)

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