[Bug 289073] audio/cmus: Fails to build with FFmpeg 8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Aug 2025 12:44:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289073

            Bug ID: 289073
           Summary: audio/cmus: Fails to build with FFmpeg 8
           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: eduardo@FreeBSD.org

```
gn -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes
-Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security
-Wold-style-definition -Wno-pointer-sign -Werror-implicit-function-declaration
-Wno-un
used-parameter -Wno-missing-field-initializers -MMD -MP -MF .dep-op-sndio.lo
-DREALTIME_SCHEDULING -D_FILE_OFFSET_BITS=64  -fPIC -o op/sndio.lo op/sndio.c
ip/ffmpeg.c:229:3: error: call to undeclared function 'avcodec_close'; ISO C99
and later do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  229 |                 avcodec_close(cc);
      |                 ^
ip/ffmpeg.c:292:2: error: call to undeclared function 'avcodec_close'; ISO C99
and later do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  292 |         avcodec_close(priv->codec_context);
      |         ^
2 errors generated.
```

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