diff --git a/srcpkgs/vlc/patches/x265-4.0-pic_out.patch b/srcpkgs/vlc/patches/x265-4.0-pic_out.patch new file mode 100644 index 00000000000..f7f66d570ee --- /dev/null +++ b/srcpkgs/vlc/patches/x265-4.0-pic_out.patch @@ -0,0 +1,14 @@ +*** a/modules/codec/x265.c 2025-06-01 22:43:12.511233665 -0400 +--- b/modules/codec/x265.c 2025-06-01 23:35:53.645226763 -0400 +*************** static block_t *Encode(encoder_t *p_enc, +*** 90,93 **** + uint32_t i_nal = 0; + x265_encoder_encode(p_sys->h, &nal, &i_nal, +! likely(p_pict) ? &pic : NULL, &pic); + +--- 90,94 ---- + uint32_t i_nal = 0; ++ x265_picture *pic_out = NULL; + x265_encoder_encode(p_sys->h, &nal, &i_nal, +! likely(p_pict) ? &pic : NULL, &pic_out); + diff --git a/srcpkgs/vlc/template b/srcpkgs/vlc/template index f7691a29fc1..f98ea019344 100644 --- a/srcpkgs/vlc/template +++ b/srcpkgs/vlc/template @@ -1,7 +1,7 @@ # Template file for 'vlc' pkgname=vlc version=3.0.21 -revision=3 +revision=4 build_style=gnu-configure configure_args="--disable-gme --disable-libtar --enable-jack --enable-live555 --disable-fluidsynth --enable-dvdread