summaryrefslogtreecommitdiff
path: root/biology/crux/files/patch-lib_Crux_CxPpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'biology/crux/files/patch-lib_Crux_CxPpc.c')
-rw-r--r--biology/crux/files/patch-lib_Crux_CxPpc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/biology/crux/files/patch-lib_Crux_CxPpc.c b/biology/crux/files/patch-lib_Crux_CxPpc.c
deleted file mode 100644
index ea100b5c9928..000000000000
--- a/biology/crux/files/patch-lib_Crux_CxPpc.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- lib/Crux/CxPpc.c.orig 2009-09-19 04:31:04 UTC
-+++ lib/Crux/CxPpc.c
-@@ -8,14 +8,11 @@ bool CxgPpcUseAltivec;
- void
- CxPpcCpuInit(void)
- {
-- int mib[2];
- int result, error;
- size_t len;
-
-- mib[0] = CTL_HW;
-- mib[1] = HW_VECTORUNIT;
- len = sizeof(result);
-- error = sysctl(mib, 2, &result, &len, NULL, 0);
-+ error = sysctlbyname("hw.altivec", &result, &len, NULL, 0);
- if (error != 0)
- {
- CxgPpcUseAltivec = false;