mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to aom-3.13.1; from Brad (maintainer)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
COMMENT= Alliance for Open Media AV1 video codec
|
||||
|
||||
V= 3.12.1
|
||||
V= 3.13.1
|
||||
DISTNAME= libaom-$V
|
||||
PKGNAME= aom-$V
|
||||
CATEGORIES= multimedia
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (libaom-3.12.1.tar.gz) = npd1GA3sff1hp54AvaOAnUOJGu5rLjMf9/JphiB+oi4=
|
||||
SIZE (libaom-3.12.1.tar.gz) = 5497367
|
||||
SHA256 (libaom-3.13.1.tar.gz) = GeRaWnGS1pBWUimYPa2QDna1E6AjBsEgU/uaJiy+yn0=
|
||||
SIZE (libaom-3.13.1.tar.gz) = 6253958
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -861,7 +861,7 @@ if(BUILD_SHARED_LIBS)
|
||||
@@ -905,7 +905,7 @@ if(BUILD_SHARED_LIBS)
|
||||
# https://clang.llvm.org/docs/AddressSanitizer.html#usage. Similarly, see
|
||||
# https://clang.llvm.org/docs/MemorySanitizer.html#usage.
|
||||
if(NOT
|
||||
|
||||
@@ -1,21 +1,24 @@
|
||||
Add PowerPC CPU feature detection support for OpenBSD.
|
||||
|
||||
Index: aom_ports/ppc_cpudetect.c
|
||||
--- aom_ports/ppc_cpudetect.c.orig
|
||||
+++ aom_ports/ppc_cpudetect.c
|
||||
@@ -9,11 +9,8 @@
|
||||
@@ -9,7 +9,6 @@
|
||||
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||
*/
|
||||
|
||||
-#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -18,8 +17,6 @@
|
||||
#include "aom_ports/ppc.h"
|
||||
|
||||
#if CONFIG_RUNTIME_CPU_DETECT
|
||||
-#include <asm/cputable.h>
|
||||
-#include <linux/auxvec.h>
|
||||
|
||||
#include "config/aom_config.h"
|
||||
|
||||
@@ -37,6 +34,12 @@ static int cpu_env_mask(void) {
|
||||
static int cpu_env_flags(int *flags) {
|
||||
char *env;
|
||||
@@ -38,6 +35,12 @@ static int cpu_env_mask(void) {
|
||||
return env && *env ? (int)strtol(env, NULL, 0) : ~0;
|
||||
}
|
||||
|
||||
@@ -28,7 +31,7 @@ Index: aom_ports/ppc_cpudetect.c
|
||||
int ppc_simd_caps(void) {
|
||||
int flags;
|
||||
int mask;
|
||||
@@ -75,7 +78,40 @@ out_close:
|
||||
@@ -76,7 +79,40 @@ out_close:
|
||||
close(fd);
|
||||
return flags & mask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user