Date:2010-03-26 09:44:21 (14 years 3 days ago)
Author:Xiangfu Liu
Commit:01766f2aa93d21cfeb61116a0a90d8c23992b78d
Message:[guile] disable multi thread in configure argument, for now need guile command in host

Files: guile/Makefile (1 diff)
guile/patches/0001-disable-csqrt.patch (1 diff)
guile/patches/0001-disable-pthread-check-disable-csqrt.patch (1 diff)
stardict/Makefile (1 diff)

Change Details

guile/Makefile
3434
3535TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
3636
37CONFIGURE_ARGS +=
37CONFIGURE_ARGS += --without-threads
3838
3939define Package/guile/install
4040    $(INSTALL_DIR) $(1)/usr/bin
guile/patches/0001-disable-csqrt.patch
1diff --git a/configure.in b/configure.in
2index 217ac83..c4c16fc 100644
3--- a/configure.in
4@@ -854,7 +854,7 @@ main (void)
5 }]])],
6     [guile_cv_use_csqrt=yes],
7     [guile_cv_use_csqrt="no, glibc 2.3 bug"],
8- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
9+ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])])
10   case $guile_cv_use_csqrt in
11     yes*)
12       AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free])
guile/patches/0001-disable-pthread-check-disable-csqrt.patch
1diff --git a/configure b/configure
2index a57297d..98857ae 100755
3+++ b/configure
4@@ -35053,6 +35053,8 @@ fi
5
6 if test "$with_threads" = pthreads; then
7
8+cat >> /dev/null << end_pthread_attr_getstack_check_part1
9+
10 { $as_echo "$as_me:$LINENO: checking whether pthread_attr_getstack works for the main thread" >&5
11 $as_echo_n "checking whether pthread_attr_getstack works for the main thread... " >&6; }
12 old_CFLAGS="$CFLAGS"
13@@ -35121,12 +35123,15 @@ $as_echo "$ac_try_echo") >&5
14   ac_status=$?
15   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16   (exit $ac_status); }; }; then
17+
18+end_pthread_attr_getstack_check_part1
19   works=yes
20
21 cat >>confdefs.h <<\_ACEOF
22 #define PTHREAD_ATTR_GETSTACK_WORKS 1
23 _ACEOF
24
25+cat >> /dev/null << end_pthread_attr_getstack_check_part2
26 else
27   $as_echo "$as_me: program exited with status $ac_status" >&5
28 $as_echo "$as_me: failed program was:" >&5
29@@ -35138,6 +35143,7 @@ fi
30 rm -rf conftest.dSYM
31 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32 fi
33+end_pthread_attr_getstack_check_part2
34
35
36 CFLAGS="$old_CFLAGS"
37diff --git a/configure.in b/configure.in
38index 217ac83..c4c16fc 100644
39+++ b/configure.in
40@@ -854,7 +854,7 @@ main (void)
41 }]])],
42     [guile_cv_use_csqrt=yes],
43     [guile_cv_use_csqrt="no, glibc 2.3 bug"],
44- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
45+ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])])
46   case $guile_cv_use_csqrt in
47     yes*)
48       AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free])
stardict/Makefile
1212PKG_VERSION:=3.0.1
1313
1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/
15PKG_SOURCE_URL:=http://stardictproject.googlecode.com/files/
1616PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
1717
1818PKG_INSTALL:=1

Archive Download the corresponding diff file



interactive