summaryrefslogtreecommitdiff
path: root/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-09-22 20:51:59 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-09-22 20:51:59 +0000
commita82c8883c2fce3dce52a6903b338134e1558961e (patch)
tree1f1e4ee5045ce09aa16d0ed988180187265e3551 /audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
parentUpdate ngx_http_redis module from 0.1.2 to 0.2.0 accordingly. (diff)
Update to 4.2 build 2000.
Feature safe: yes
Diffstat (limited to 'audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c')
-rw-r--r--audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c b/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
deleted file mode 100644
index 1946cbece015..000000000000
--- a/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- setup/FreeBSD/oss/build/osscore.c.orig 2008-12-14 16:35:26.000000000 -0500
-+++ setup/FreeBSD/oss/build/osscore.c 2009-07-10 16:14:12.000000000 -0400
-@@ -419,20 +419,20 @@
- if (!(flags_reg & FLAGS_ID))
- return 0;
-
--#define CPUID_FXSR (1<<24)
--#define CPUID_SSE (1<<25)
--#define CPUID_SSE2 (1<<26)
-+#define OSS_CPUID_FXSR (1<<24)
-+#define OSS_CPUID_SSE (1<<25)
-+#define OSS_CPUID_SSE2 (1<<26)
-
- cpuid (1, &eax, &ebx, &ecx, &edx);
-
-- if (!(edx & CPUID_FXSR))
-+ if (!(edx & OSS_CPUID_FXSR))
- return 0;
-
- /*
- * Older machines require different FP handling than the latest ones. Use the SSE
- * instruction set as an indicator.
- */
-- if (!(edx & CPUID_SSE))
-+ if (!(edx & OSS_CPUID_SSE))
- old_arch = 1;
-
- return 1;