aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-07-11 04:28:12 +0800
committerjkim <jkim@FreeBSD.org>2009-07-11 04:28:12 +0800
commit8ff51527826032bd8346074540ed2464545f109c (patch)
tree302bdf10709831a364ed5ba1361280825c589161 /audio
parent6286796a4df96f3c4fbad39a64c5016455924b11 (diff)
downloadfreebsd-ports-gnome-8ff51527826032bd8346074540ed2464545f109c.tar.gz
freebsd-ports-gnome-8ff51527826032bd8346074540ed2464545f109c.tar.zst
freebsd-ports-gnome-8ff51527826032bd8346074540ed2464545f109c.zip
Fix build on -CURRENT.
Diffstat (limited to 'audio')
-rw-r--r--audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c28
1 files changed, 28 insertions, 0 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
new file mode 100644
index 000000000000..1946cbece015
--- /dev/null
+++ b/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
@@ -0,0 +1,28 @@
+--- 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;
ntw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/benchmarks/sipp?id=e875fbd4078a7a678fb132630a42414a9c9aca98'>- Update to 1.1.r8.20070116miwi2007-01-182-11/+15 * - Update to 1.1.r6.20061208miwi2006-12-229-344/+161 * Fix build on ia64.shaun2006-12-111-4/+6 * update to 1.1.r6itetcu2006-09-114-20/+31