Skip to content

Commit

Permalink
ffmpeg6: a minor follow-up fix for gcc (no revbump)
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jul 14, 2024
1 parent 7e43669 commit b9e66fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion multimedia/ffmpeg6/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,11 @@ 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]
# vulkan_av1.c:216:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
if {[string match *gcc* ${configure.compiler}]} {
configure.cflags-append \
-Wno-error=incompatible-pointer-types
-Wno-error=incompatible-pointer-types \
-Wno-error=int-conversion
}

platform powerpc {
Expand Down

0 comments on commit b9e66fd

Please sign in to comment.