mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 01:49:41 +02:00
[guile] disable multi thread in configure argument, for now need guile command in host
This commit is contained in:
parent
fcffe7adb2
commit
01766f2aa9
@ -34,7 +34,7 @@ endef
|
|||||||
|
|
||||||
TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||||
|
|
||||||
CONFIGURE_ARGS +=
|
CONFIGURE_ARGS += --without-threads
|
||||||
|
|
||||||
define Package/guile/install
|
define Package/guile/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
13
guile/patches/0001-disable-csqrt.patch
Normal file
13
guile/patches/0001-disable-csqrt.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/configure.in b/configure.in
|
||||||
|
index 217ac83..c4c16fc 100644
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -854,7 +854,7 @@ main (void)
|
||||||
|
}]])],
|
||||||
|
[guile_cv_use_csqrt=yes],
|
||||||
|
[guile_cv_use_csqrt="no, glibc 2.3 bug"],
|
||||||
|
- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
|
||||||
|
+ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])])
|
||||||
|
case $guile_cv_use_csqrt in
|
||||||
|
yes*)
|
||||||
|
AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free])
|
@ -1,50 +0,0 @@
|
|||||||
diff --git a/configure b/configure
|
|
||||||
index a57297d..98857ae 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -35053,6 +35053,8 @@ fi
|
|
||||||
|
|
||||||
if test "$with_threads" = pthreads; then
|
|
||||||
|
|
||||||
+cat >> /dev/null << end_pthread_attr_getstack_check_part1
|
|
||||||
+
|
|
||||||
{ $as_echo "$as_me:$LINENO: checking whether pthread_attr_getstack works for the main thread" >&5
|
|
||||||
$as_echo_n "checking whether pthread_attr_getstack works for the main thread... " >&6; }
|
|
||||||
old_CFLAGS="$CFLAGS"
|
|
||||||
@@ -35121,12 +35123,15 @@ $as_echo "$ac_try_echo") >&5
|
|
||||||
ac_status=$?
|
|
||||||
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; }; then
|
|
||||||
+
|
|
||||||
+end_pthread_attr_getstack_check_part1
|
|
||||||
works=yes
|
|
||||||
|
|
||||||
cat >>confdefs.h <<\_ACEOF
|
|
||||||
#define PTHREAD_ATTR_GETSTACK_WORKS 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
+cat >> /dev/null << end_pthread_attr_getstack_check_part2
|
|
||||||
else
|
|
||||||
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
||||||
$as_echo "$as_me: failed program was:" >&5
|
|
||||||
@@ -35138,6 +35143,7 @@ fi
|
|
||||||
rm -rf conftest.dSYM
|
|
||||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
+end_pthread_attr_getstack_check_part2
|
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="$old_CFLAGS"
|
|
||||||
diff --git a/configure.in b/configure.in
|
|
||||||
index 217ac83..c4c16fc 100644
|
|
||||||
--- a/configure.in
|
|
||||||
+++ b/configure.in
|
|
||||||
@@ -854,7 +854,7 @@ main (void)
|
|
||||||
}]])],
|
|
||||||
[guile_cv_use_csqrt=yes],
|
|
||||||
[guile_cv_use_csqrt="no, glibc 2.3 bug"],
|
|
||||||
- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])])
|
|
||||||
+ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])])
|
|
||||||
case $guile_cv_use_csqrt in
|
|
||||||
yes*)
|
|
||||||
AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free])
|
|
@ -12,7 +12,7 @@ PKG_NAME:=stardict
|
|||||||
PKG_VERSION:=3.0.1
|
PKG_VERSION:=3.0.1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/
|
PKG_SOURCE_URL:=http://stardictproject.googlecode.com/files/
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
Loading…
Reference in New Issue
Block a user