Saturday, March 01, 2025

Re: UPDATE: libvpx - PowerPC

ping.

On 2025-02-14 3:08 a.m., Brad Smith wrote:
> Here is a diff for libvpx to add PowerPC CPU feature detection for
> PowerPC64 instead of the stub just to build.
>
> Needs testing on PowerPC64.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/multimedia/libvpx/Makefile,v
> retrieving revision 1.61
> diff -u -p -u -p -r1.61 Makefile
> --- Makefile 24 Nov 2024 08:38:14 -0000 1.61
> +++ Makefile 14 Feb 2025 07:25:16 -0000
> @@ -4,6 +4,7 @@ GH_ACCOUNT= webmproject
> GH_PROJECT= libvpx
> GH_TAGNAME= v1.15.0
> EPOCH= 0
> +REVISION= 0
> CATEGORIES= multimedia
>
> SHARED_LIBS= vpx 18.0
> Index: patches/patch-vpx_ports_aarch32_cpudetect_c
> ===================================================================
> RCS file: /cvs/ports/multimedia/libvpx/patches/patch-vpx_ports_aarch32_cpudetect_c,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 patch-vpx_ports_aarch32_cpudetect_c
> --- patches/patch-vpx_ports_aarch32_cpudetect_c 24 Nov 2024 08:38:14 -0000 1.3
> +++ patches/patch-vpx_ports_aarch32_cpudetect_c 14 Feb 2025 07:25:16 -0000
> @@ -1,4 +1,4 @@
> -Allow ARM CPU runtime detection code to build on OpenBSD.
> +Add ARM CPU feature detection support for OpenBSD.
>
> Index: vpx_ports/aarch32_cpudetect.c
> --- vpx_ports/aarch32_cpudetect.c.orig
> Index: patches/patch-vpx_ports_ppc_cpudetect_c
> ===================================================================
> RCS file: /cvs/ports/multimedia/libvpx/patches/patch-vpx_ports_ppc_cpudetect_c,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 patch-vpx_ports_ppc_cpudetect_c
> --- patches/patch-vpx_ports_ppc_cpudetect_c 11 Mar 2022 19:39:22 -0000 1.2
> +++ patches/patch-vpx_ports_ppc_cpudetect_c 14 Feb 2025 07:25:16 -0000
> @@ -1,31 +1,70 @@
> -Allow PowerPC CPU runtime detection code to build on OpenBSD.
> +Add PowerPC CPU feature detection support for OpenBSD.
>
> Index: vpx_ports/ppc_cpudetect.c
> --- vpx_ports/ppc_cpudetect.c.orig
> +++ vpx_ports/ppc_cpudetect.c
> -@@ -8,16 +8,19 @@
> +@@ -8,11 +8,8 @@
> * be found in the AUTHORS file in the root of the source tree.
> */
>
> -+#if defined(__linux__)
> - #include <fcntl.h>
> +-#include <fcntl.h>
> #include <unistd.h>
> #include <stdint.h>
> - #include <asm/cputable.h>
> - #include <linux/auxvec.h>
> -+

No comments:

Post a Comment