From 5c7efd61132bd305a24c4716bb909a255a1cc29e Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 26 May 2026 16:56:14 +0100 Subject: [PATCH] libx264: update to git HEAD of 2025-09-10 Changes since 2024-05-13: c24e06c2 configure: Check for SVE support in MS armasm64 via as_check 3a8b5be2 aarch64: Use elf_aux_info() for CPU feature detection on FreeBSD/OpenBSD 1243d9ff Provide x264_getauxval() wrapper for getauxvaul() and elf_aux_info() 80c1c47c configure: Add DragonFly support 3a21e97b Fix build with Android NDK and API < 24 for 32-bit targets b1d2de88 Use getauxval() on Linux and elf_aux_info() on FreeBSD/OpenBSD on arm/ppc da14df55 Make use of sysconf(3) _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF 023112c6 aarch64: defines involving bit shifts should be unsigned 938601b9 Use sysctlbyname(3) hw.logicalcpu on macOS a64111b1 Enable use of __sync_fetch_and_add() wherever detected instead of just X86 450946f9 ci: Test compiling for Android 52f7694d Use sched_getaffinity on Android 373697b4 Bump dates to 2025 c80f8a28 msvsdepend: Allow using the script for .S sources too 27d83708 Makefile: Generate dependency information implicitly while compiling a0191bd8 configure: Use as_check for checking for aarch64 features 72ce1cde configure: Use as_check for the main check for whether NEON is supported f87ca183 configure: Check for .arch and .arch_extension for enabling aarch64 extensions 87044b21 aarch64: Use configure detected directives for enabling SVE/SVE2 fc4012fb configure: Check for the dotprod and i8mm aarch64 extensions 0e48d072 aarch64: Add flags for runtime detection of dotprod and i8mm 570f6c70 aarch64: Add runtime detection of extensions on Windows and macOS fe9e4a7f Provide implementations for functions using the instructions SDOT/UDOT in the DotProd Armv8 extension. 32c3b801 lavf: Update the code to work with the latest libavutil API 4360ac37 ci: Fix ffmpeg build 40617ddb ci: Remove vlc-contrib dependency 85b5ccea Update gas-preprocessor.pl to the latest upstream version ff620d0c configure: Use MSYSTEM_CARCH for default arch on msys2 714e07b4 arm: Don't test x264_cpu_fast_neon_mrc_test on Windows 291476d7 windows: Fix named pipes detection b35605ac i8mm & neon hpel_filter optimization 0480cb05 riscv64: add compile support Signed-off-by: Daniel Golle (cherry picked from commit 775c87e364fe93758bdee8d68a5f8f43f8ff1df7) --- libs/libx264/Makefile | 6 +++--- .../patches/001-fix-x32-build-by-disabling-asm.patch | 4 ++-- .../patches/002-dont-default-to-cortex-a9-with-neon.patch | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/libx264/Makefile b/libs/libx264/Makefile index 05c5c3d84a..59d24675d5 100644 --- a/libs/libx264/Makefile +++ b/libs/libx264/Makefile @@ -12,9 +12,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://code.videolan.org/videolan/x264.git -PKG_SOURCE_DATE:=2024-05-13 -PKG_SOURCE_VERSION:=4613ac3c15fd75cebc4b9f65b7fb95e70a3acce1 -PKG_MIRROR_HASH:=03d8ca3495185504a601e36bff017e1044cb3f6c32cb567fb12d6f9707bb78cd +PKG_SOURCE_DATE:=2025-09-10 +PKG_SOURCE_VERSION:=0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee +PKG_MIRROR_HASH:=03c13f100cf6bd3c3d309f410be159794103ae2ee73f82f33e4b871d718b1fcd PKG_MAINTAINER:=Adrian Panella PKG_LICENSE:=GPL-2.0-or-later diff --git a/libs/libx264/patches/001-fix-x32-build-by-disabling-asm.patch b/libs/libx264/patches/001-fix-x32-build-by-disabling-asm.patch index c36afb9e65..59c1c26dc7 100644 --- a/libs/libx264/patches/001-fix-x32-build-by-disabling-asm.patch +++ b/libs/libx264/patches/001-fix-x32-build-by-disabling-asm.patch @@ -18,7 +18,7 @@ Signed-off-by: Christopher Larson --- a/configure +++ b/configure -@@ -771,7 +771,13 @@ case $host_cpu in +@@ -793,7 +793,13 @@ case $host_cpu in AS_EXT=".asm" ASFLAGS="$ASFLAGS -DARCH_X86_64=1 -I\$(SRCPATH)/common/x86/" stack_alignment=16 @@ -33,7 +33,7 @@ Signed-off-by: Christopher Larson if [ "$SYS" = MACOSX ]; then ASFLAGS="$ASFLAGS -f macho64 -DPREFIX" if cc_check '' "-arch x86_64"; then -@@ -790,7 +796,11 @@ case $host_cpu in +@@ -812,7 +818,11 @@ case $host_cpu in RCFLAGS="--target=pe-x86-64 $RCFLAGS" fi else diff --git a/libs/libx264/patches/002-dont-default-to-cortex-a9-with-neon.patch b/libs/libx264/patches/002-dont-default-to-cortex-a9-with-neon.patch index 101821abfd..dd7b476a17 100644 --- a/libs/libx264/patches/002-dont-default-to-cortex-a9-with-neon.patch +++ b/libs/libx264/patches/002-dont-default-to-cortex-a9-with-neon.patch @@ -16,7 +16,7 @@ Signed-off-by: Maxin B. John --- a/configure +++ b/configure -@@ -988,9 +988,6 @@ if [ $asm = auto -a \( $ARCH = X86 -o $A +@@ -1016,9 +1016,6 @@ if [ $asm = auto -a \( $ARCH = X86 -o $A fi if [ $asm = auto -a $ARCH = ARM ] ; then