summaryrefslogtreecommitdiff
path: root/math/gotoblas/files/patch-cpuid_sparc.c
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2011-09-28 06:21:19 +0000
committerMaho Nakata <maho@FreeBSD.org>2011-09-28 06:21:19 +0000
commit97e17b67b6e968aeb543b994959fd9ffd800bceb (patch)
treebd4f27484809d7481c6a82fe406fc834debdf4b8 /math/gotoblas/files/patch-cpuid_sparc.c
parent- Change BUILD_DEPENDS from graphics/pgperl to graphics/p5-PGPLOT (diff)
Build fix with gcc46 [1] and other small improvements [2].
PR: 160973 Submitted by: bf [1, 2], Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> [1]
Diffstat (limited to 'math/gotoblas/files/patch-cpuid_sparc.c')
-rw-r--r--math/gotoblas/files/patch-cpuid_sparc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/gotoblas/files/patch-cpuid_sparc.c b/math/gotoblas/files/patch-cpuid_sparc.c
new file mode 100644
index 000000000000..8f66914be4dd
--- /dev/null
+++ b/math/gotoblas/files/patch-cpuid_sparc.c
@@ -0,0 +1,10 @@
+--- cpuid_sparc.c.orig 2010-11-05 09:57:49.000000000 -0400
++++ cpuid_sparc.c 2011-09-23 13:10:18.000000000 -0400
+@@ -49,6 +49,7 @@
+ }
+
+ void get_cpuconfig(void){
++ printf("#define SPARC\n");
+ printf("#define V9\n");
+ printf("#define DTB_ENTRIES 32\n");
+ }