From 83737af1839b5d078147a8c0adc5aff0c5a697fa Mon Sep 17 00:00:00 2001 From: 1is7ac3 Date: Sun, 1 Jun 2025 18:00:11 -0400 Subject: [PATCH] vlc: rebuild for x265-4.0. closes: #54056 [via git-merge-pr] --- srcpkgs/vlc/patches/x265-4.0-pic_out.patch | 14 ++++++++++++++ srcpkgs/vlc/template | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/vlc/patches/x265-4.0-pic_out.patch 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