summaryrefslogtreecommitdiff
path: root/devel/liboil/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/liboil/patches/patch-aa')
-rw-r--r--devel/liboil/patches/patch-aa24
1 files changed, 3 insertions, 21 deletions
diff --git a/devel/liboil/patches/patch-aa b/devel/liboil/patches/patch-aa
index 1abbd51dd84..6c97a842959 100644
--- a/devel/liboil/patches/patch-aa
+++ b/devel/liboil/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.2 2006/10/23 18:39:24 drochner Exp $
+$NetBSD: patch-aa,v 1.3 2006/11/24 13:02:49 drochner Exp $
---- liboil/liboilcpu.c.orig 2006-05-23 02:07:56.000000000 +0200
+--- liboil/liboilcpu.c.orig 2006-11-06 02:37:03.000000000 +0100
+++ liboil/liboilcpu.c
@@ -518,6 +518,14 @@ oil_cpu_detect_cpuid (void)
- OIL_WARNING("L2 cache: %d kbytes, %d assoc, %d lines/tag, %d line size\n",
+ OIL_INFO("L2 cache: %d kbytes, %d assoc, %d lines/tag, %d line size",
(ecx>>16)&0xffff, (ecx>>12)&0xf, (ecx>>8)&0xf, ecx&0xff);
}
+
@@ -17,21 +17,3 @@ $NetBSD: patch-aa,v 1.2 2006/10/23 18:39:24 drochner Exp $
}
/* Reduce the set of CPU capabilities detected by whatever detection mechanism
-@@ -542,7 +550,7 @@ oil_cpu_detect_kernel_support (void)
- OIL_IMPL_FLAG_MMXEXT | OIL_IMPL_FLAG_SSE3);
- }
- #endif
--#if !defined(__linux__) && !defined(__FreeBSD__)
-+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
- /* If we don't know that the operating system supports SSE, don't trust that
- * it will properly support it.
- */
-@@ -743,7 +751,7 @@ oil_cpu_detect_mips(void)
- static void
- oil_cpu_detect_arch(void)
- {
--#ifdef __i386__
-+#if defined(__i386__) || defined(__amd64__)
- oil_cpu_detect_i386();
- #endif
- #if defined(__powerpc__) || defined(__PPC__) || defined(__ppc__)