MFH: r466919

multimedia/libvpx: unbreak on armv7

vpx_ports/arm_cpudetect.c.o: In function `arm_cpu_caps':
arm_cpudetect.c:(.text+0x48): undefined reference to `getauxval'
arm_cpudetect.c:(.text+0x78): undefined reference to `getauxval'
c++: error: linker command failed with exit code 1 (use -v to see invocation)

PR:		224107
Reported by:	pkg-fallout
Submitted by:	Mikaël Urankar
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2018-04-10 00:16:58 +00:00
parent b17be0caa3
commit db594b1c1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=466928

View File

@ -6,7 +6,7 @@
}
+#elif defined(__FreeBSD__)
+
+#if __has_include(<sys/auxv.h>)
+#if 0 // __has_include(<sys/auxv.h>)
+#include <sys/auxv.h>
+#else
+#include <sys/param.h>