aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-04-10 08:12:43 +0800
committerjbeich <jbeich@FreeBSD.org>2018-04-10 08:12:43 +0800
commit577af9ab79d39a660cefe228076cd22fa294b416 (patch)
tree395b106645454b833fc3c16a26f72bff8bb7f2ac
parentc8c8ad92008fa1014ebaaea6e76233b6fae72e36 (diff)
downloadfreebsd-ports-graphics-577af9ab79d39a660cefe228076cd22fa294b416.tar.gz
freebsd-ports-graphics-577af9ab79d39a660cefe228076cd22fa294b416.tar.zst
freebsd-ports-graphics-577af9ab79d39a660cefe228076cd22fa294b416.zip
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
-rw-r--r--multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c b/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
index 06fe93405b4..58e55fc9337 100644
--- a/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
+++ b/multimedia/libvpx/files/patch-vpx__ports_arm__cpudetect.c
@@ -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>