pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/libaom
Module Name: pkgsrc
Committed By: he
Date: Mon Dec 27 10:45:59 UTC 2021
Modified Files:
pkgsrc/multimedia/libaom: distinfo
Added Files:
pkgsrc/multimedia/libaom/patches: patch-aom__ports_ppc__cpudetect.c
Log Message:
Fix libaom so that it at least builds on NetBSD/powerpc.
No dynamic CPU feature detection so far on NetBSD/powerpc.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/multimedia/libaom/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/libaom/distinfo
diff -u pkgsrc/multimedia/libaom/distinfo:1.13 pkgsrc/multimedia/libaom/distinfo:1.14
--- pkgsrc/multimedia/libaom/distinfo:1.13 Sat Nov 13 11:27:34 2021
+++ pkgsrc/multimedia/libaom/distinfo Mon Dec 27 10:45:59 2021
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.13 2021/11/13 11:27:34 nia Exp $
+$NetBSD: distinfo,v 1.14 2021/12/27 10:45:59 he Exp $
BLAKE2s (libaom-3.2.0.tar.gz) = 0324096a1c955c6db4fa194397280810c36398b51b05833633d621268a88a68c
SHA512 (libaom-3.2.0.tar.gz) = 649bebde85c1a42b0c1c3d2d3b7110b999e3ee1c8e76595259e4e75a8b0f3918e23ff7c7e2c313da4d579882f55bf29765bb882570280adc81f3bc1e82f1ee19
Size (libaom-3.2.0.tar.gz) = 4717955 bytes
+SHA1 (patch-aom__ports_ppc__cpudetect.c) = 3ee7048d8ab543605f5c14fe7d872c63fde1028e
SHA1 (patch-build_cmake_aom__configure.cmake) = 87a8b65cee873f7deff18cd74c140cd7e8c95924
SHA1 (patch-build_cmake_exports.cmake) = be181c5718a5fac75f31bd8e74f214fc8b610ad9
SHA1 (patch-build_cmake_version.cmake) = 1e6b4a1373c0d54cafdc8ad5c153881e41758bd6
Added files:
Index: pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c
diff -u /dev/null pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c:1.1
--- /dev/null Mon Dec 27 10:45:59 2021
+++ pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c Mon Dec 27 10:45:59 2021
@@ -0,0 +1,25 @@
+$NetBSD: patch-aom__ports_ppc__cpudetect.c,v 1.1 2021/12/27 10:45:59 he Exp $
+
+Make this at least build on NetBSD.
+So far no dynamic CPU feature detection on NetBSD.
+
+--- work/aom_ports/ppc_cpudetect.c.orig 2021-10-14 18:05:43.000000000 +0000
++++ work/aom_ports/ppc_cpudetect.c
+@@ -12,14 +12,16 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <stdint.h>
++#if !defined(__NetBSD__)
+ #include <asm/cputable.h>
+ #include <linux/auxvec.h>
++#endif
+
+ #include "config/aom_config.h"
+
+ #include "aom_ports/ppc.h"
+
+-#if CONFIG_RUNTIME_CPU_DETECT
++#if (CONFIG_RUNTIME_CPU_DETECT && !defined(__NetBSD__))
+ static int cpu_env_flags(int *flags) {
+ char *env;
+ env = getenv("AOM_SIMD_CAPS");
Home |
Main Index |
Thread Index |
Old Index