aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-eq/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-eq/files/patch-configure')
-rw-r--r--audio/xmms-eq/files/patch-configure53
1 files changed, 53 insertions, 0 deletions
diff --git a/audio/xmms-eq/files/patch-configure b/audio/xmms-eq/files/patch-configure
new file mode 100644
index 000000000000..5b635f1daf03
--- /dev/null
+++ b/audio/xmms-eq/files/patch-configure
@@ -0,0 +1,53 @@
+--- configure.orig Sun May 16 03:59:17 2004
++++ configure Tue Jun 14 18:53:43 2005
+@@ -9690,9 +9690,9 @@
+
+ have_solaris=no
+ arch_type=ix86
+-SSE_RES=`cat /proc/cpuinfo|grep sse`
+-SSE2_RES=`cat /proc/cpuinfo|grep sse2`
+-MMX_RES=`cat /proc/cpuinfo|grep mmx`
++SSE_RES=`grep 'Features=.*[<,]SSE[>,]' /var/run/dmesg.boot`
++SSE2_RES=`grep 'Features=.*[<,]SSE2[>,]' /var/run/dmesg.boot`
++MMX_RES=`grep 'Features=.*[<,]MMX[>,]' /var/run/dmesg.boot`
+ ARCH_DEFINES=""
+
+ if test "x$mmx" = xyes; then
+@@ -9708,27 +9708,6 @@
+ if test "x$debug" = xno; then
+ case "$host" in
+ i386-*-* | i86pc-*-*)
+- ;;
+- i486-*-*)
+- ARCH_DEFINES="-march=i486"
+- ;;
+- i586-*-*)
+- ARCH_DEFINES="-march=i586"
+- if test "x$benchmark" = xyes; then
+- XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
+- fi
+- if test "x$autodetect" = xyes; then
+- if test "x$MMX_RES" != x; then
+- mmx=yes
+- fi
+- fi
+- if test "x$mmx" = xyes; then
+- autodetect=no
+- ARCH_DEFINES="$ARCH_DEFINES -m3dnow -mmmx"
+- fi
+- ;;
+- i686-*-*)
+- ARCH_DEFINES="-march=i686"
+ if test "x$benchmark" = xyes; then
+ XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
+ fi
+@@ -9775,6 +9754,9 @@
+ ARCH_DEFINES_DEFAULT="-O3"
+ have_solaris=yes
+ ;;
++ *)
++ arch_type="unknown"
++ ;;
+ esac
+ fi
+