summaryrefslogtreecommitdiff
path: root/math/gotoblas/files/patch-dynamic.c
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2010-02-16 05:02:41 +0000
committerMaho Nakata <maho@FreeBSD.org>2010-02-16 05:02:41 +0000
commitcfb8e54b4d628559f0fa42535ca4128c71d07c09 (patch)
tree20aac47aa328f18344ae6f96ec7efa4fede107de /math/gotoblas/files/patch-dynamic.c
parent- Mark MAKE_JOBS_UNSAFE=yes (diff)
Fix dynamic arch build.
Feature safe: yes
Diffstat (limited to 'math/gotoblas/files/patch-dynamic.c')
-rw-r--r--math/gotoblas/files/patch-dynamic.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/gotoblas/files/patch-dynamic.c b/math/gotoblas/files/patch-dynamic.c
new file mode 100644
index 000000000000..84b4a44478a7
--- /dev/null
+++ b/math/gotoblas/files/patch-dynamic.c
@@ -0,0 +1,14 @@
+--- 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) {