opnsense-ports/math/gotoblas/files/patch-dynamic.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
476 B
C

--- driver/others/dynamic.c~ 2010-01-21 01:28:45.000000000 +0900
+++ driver/others/dynamic.c 2010-02-16 13:43:09.000000000 +0900
@@ -181,9 +181,9 @@
gotoblas = get_coretype();
#ifdef ARCH_X86
- if (gotoblas == NULL) gotoblas = gotoblas_KATMAI;
+ if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI;
#else
- if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
+ if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT;
#endif
if (gotoblas && gotoblas -> init) {