ports/math/openblas/files/patch-cpuid__arm.c
Joseph Mingrone d6a774a4d4 math/openblas: Fix build on 12-CURRENT armv6.
The build still fails on 11 armv6, however MFC of r313873 will hopefully
fix the build there as well.

While here also add LICENSE_FILE and fix portlint warnings.

PR:		217279
Submitted by:	mikael.urankar@gmail.com
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer), swills (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D9801
2017-02-25 18:19:50 +00:00

12 lines
171 B
C

--- cpuid_arm.c.orig 2016-09-01 03:58:42 UTC
+++ cpuid_arm.c
@@ -181,7 +181,8 @@ int detect(void)
}
}
-
+#else
+ return CPU_ARMV6;
#endif
return CPU_UNKNOWN;