svn commit: r451607 - head/multimedia/libvpx/files
Jan Beich
jbeich at FreeBSD.org
Mon Oct 9 11:04:19 UTC 2017
Author: jbeich
Date: Mon Oct 9 11:04:17 2017
New Revision: 451607
URL: https://svnweb.freebsd.org/changeset/ports/451607
Log:
multimedia/libvpx: add missing glibc 2.19+ compat
Modified:
head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c (contents, props changed)
Modified: head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
==============================================================================
--- head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c Mon Oct 9 10:50:00 2017 (r451606)
+++ head/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c Mon Oct 9 11:04:17 2017 (r451607)
@@ -1,6 +1,6 @@
--- vpx_ports/arm_cpudetect.c.orig 2017-01-12 20:27:27 UTC
+++ vpx_ports/arm_cpudetect.c
-@@ -147,6 +147,57 @@ int arm_cpu_caps(void) {
+@@ -147,6 +147,60 @@ int arm_cpu_caps(void) {
}
return flags & mask;
}
@@ -12,6 +12,7 @@
+#include <sys/param.h>
+#include <sys/sysctl.h>
+#include <elf.h>
++#include <errno.h>
+#include <unistd.h>
+
+static unsigned long getauxval(unsigned long type) {
@@ -28,6 +29,8 @@
+ for (size_t i = 0; i < nitems(auxv); i++)
+ if ((unsigned long)auxv[i].a_type == type)
+ return auxv[i].a_un.a_val;
++
++ errno = ENOENT;
+ }
+ return 0;
+}
More information about the svn-ports-head
mailing list