Skip to content

Commit

Permalink
ffmpeg6: fix build with gcc14
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and pmetzger committed Jul 8, 2024
1 parent 1c2f61c commit 3d74119
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions multimedia/ffmpeg6/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ platform darwin {
}
}

# libavcodec/pcm-bluray.c:172:45: error: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
# libavcodec/pcm-dvd.c:155:37: error: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
if {[string match *gcc* ${configure.compiler}]} {
configure.cflags-append \
-Wno-error=incompatible-pointer-types
}

platform powerpc {
# absence of altivec is not automatically detected
if {[catch {sysctl hw.vectorunit} result] || $result == 0} {
Expand Down

0 comments on commit 3d74119

Please sign in to comment.