SOURCES: mythtv-x86_64-configure.patch - fix for compiler called a...

glen glen at pld-linux.org
Sun Sep 4 12:47:32 CEST 2005


Author: glen                         Date: Sun Sep  4 10:47:32 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for compiler called amd64- on PLD

---- Files affected:
SOURCES:
   mythtv-x86_64-configure.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mythtv-x86_64-configure.patch
diff -u SOURCES/mythtv-x86_64-configure.patch:1.1 SOURCES/mythtv-x86_64-configure.patch:1.2
--- SOURCES/mythtv-x86_64-configure.patch:1.1	Sun Sep  4 12:46:46 2005
+++ SOURCES/mythtv-x86_64-configure.patch	Sun Sep  4 12:47:27 2005
@@ -26,3 +26,25 @@
  case "$cpu" in
    x86)
    ;;
+--- ./configure~	2005-09-04 11:48:59.000000000 +0300
++++ ./configure	2005-09-04 11:49:01.000000000 +0300
+@@ -237,12 +237,13 @@
+   x86)
+   ;;
+   x86_64)
+-    if [ "`$cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \
+-         -z "`echo $CFLAGS | grep -- -m32`"  ]; then
+-      cpu="x86_64"
+-    else
+-      cpu="x86"
+-    fi
++	if [ "`$cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" ]; then
++		if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
++			cpu="x86_64"
++		else
++			cpu="x86"
++		fi
++	fi
+   ;;
+   # armv4l is a subset of armv5tel
+   armv4l|armv5tel)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mythtv-x86_64-configure.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list