sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to test grimoire by Jaka Kranjc : 17334a8473db04d80732c37edde1863374605cfc
- From: Jaka Kranjc <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to test grimoire by Jaka Kranjc : 17334a8473db04d80732c37edde1863374605cfc
- Date: Tue, 30 May 2006 10:01:39 -0500
GIT changes to test grimoire by Jaka Kranjc :
17334a8473db04d80732c37edde1863374605cfc <lynxlynxlynx AT sourcemage.org>:
libs/libconnect/PRE_BUILD | 2 +-
libs/libconnect/configure.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 17334a8473db04d80732c37edde1863374605cfc
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libconnect: fixed cpu detection to be less generic
diff --git a/libs/libconnect/PRE_BUILD b/libs/libconnect/PRE_BUILD
index 6e9e0af..1dc9bc7 100755
--- a/libs/libconnect/PRE_BUILD
+++ b/libs/libconnect/PRE_BUILD
@@ -1,4 +1,4 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
-sed -i "s,MYARCH,${SMGL_COMPAT_ARCHS[0]}," $SCRIPT_DIRECTORY/configure.patch
&&
+sed -i "s,MYARCH,${SMGL_COMPAT_ARCHS[1]}," $SCRIPT_DIRECTORY/configure.patch
&&
patch -p0 < $SCRIPT_DIRECTORY/configure.patch
diff --git a/libs/libconnect/configure.patch b/libs/libconnect/configure.patch
index b34f077..66fd05d 100644
--- a/libs/libconnect/configure.patch
+++ b/libs/libconnect/configure.patch
@@ -11,8 +11,8 @@
- -o "$VENDO" == "RiseRiseRise" -o "$VENDO" == "GenuineTMx86" -o "$VENDO" ==
"TransmetaCPU"; then
- FAMILY="`cat /proc/cpuinfo | grep 'cpu family' | cut -d : -f 2 | sed
's/ //g'`86"
- echo "$FAMILY or clone."
-+if [[ MYARCH == 32 ]]; then
-+ echo "32 bit"
++if [[ MYARCH == ia32 ]]; then
++ echo "x86 or clone."
else
echo "Sorry. This library works only on Intel x86 and clone CPUs."
exit 1
- [SM-Commit] GIT changes to test grimoire by Jaka Kranjc : 17334a8473db04d80732c37edde1863374605cfc, Jaka Kranjc, 05/30/2006
Archive powered by MHonArc 2.6.24.