Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
With uclibc or musl configuration, $host does not match to '*-linux-gnu*'.
I touch configure directly instead of configure.ac because autoreconf
failed by version mismatch of autotools.
Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
diff -ur a/configure b/configure
--- a/configure 2014-07-20 15:15:05.000000000 +0900
+++ b/configure 2015-10-20 21:52:32.791442291 +0900
@@ -6843,7 +6843,7 @@
SHLIB_MAIN_LDFLAGS=""
SHLIB_OK=ok
;;
- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
SHLIB_SO_CFLAGS="-fPIC"
SHLIB_SO_LDFLAGS="$rpath -shared -o"
SHLIB_SO_SUFFIX="so"
diff -ur a/configure.ac b/configure.ac
--- a/configure.ac 2015-10-21 21:33:17.370000200 +0900
+++ b/configure.ac 2015-10-21 21:33:39.784110527 +0900
@@ -572,7 +572,7 @@
SHLIB_MAIN_LDFLAGS=""
SHLIB_OK=ok
;;
- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
SHLIB_SO_CFLAGS="-fPIC"
SHLIB_SO_LDFLAGS="$rpath -shared -o"
SHLIB_SO_SUFFIX="so"

View File

@@ -0,0 +1,62 @@
gc/configure.ac: add check for NO_GETCONTEXT definition
This patch is ported from bdwgc package. Since Gauche uses an internal
copy of the boehm gc code, it is affected by the same problem.
Both configure and configure.ac are modified because autoreconf fails
due to an incompatibility with the version of the autotools used by
Buildroot.
Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
Original credits of patch in bdwgc package:
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: add a comment, change variable name, use
AS_IF, remove debug traces, use AC_CHECK_FUNCS (as suggested by
Thomas)]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
diff -ur a/gc/configure b/gc/configure
--- a/gc/configure 2015-11-12 21:41:02.394822056 +0900
+++ b/gc/configure 2015-11-12 22:04:14.655157423 +0900
@@ -16153,6 +16153,23 @@
$as_echo "$ac_cv_fno_strict_aliasing" >&6; }
fi
+# Check for getcontext (uClibc can be configured without it, for example)
+for ac_func in getcontext
+do :
+ ac_fn_c_check_func "$LINENO" "getcontext" "ac_cv_func_getcontext"
+if test "x$ac_cv_func_getcontext" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_GETCONTEXT 1
+_ACEOF
+
+fi
+done
+
+if test "$ac_cv_func_getcontext" = "no"; then :
+ CFLAGS="$CFLAGS -DNO_GETCONTEXT"
+ CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"
+fi
+
case "$host" in
# While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
# and unnecessary everywhere.
diff -ur a/gc/configure.ac b/gc/configure.ac
--- a/gc/configure.ac 2015-11-12 22:31:44.851510997 +0900
+++ b/gc/configure.ac 2015-11-12 22:33:39.292191227 +0900
@@ -459,6 +459,12 @@
AC_MSG_RESULT($ac_cv_fno_strict_aliasing)
fi
+# Check for getcontext (uClibc can be configured without it, for example)
+AC_CHECK_FUNCS([getcontext])
+AS_IF([test "$ac_cv_func_getcontext" = "no"],
+ [CFLAGS="$CFLAGS -DNO_GETCONTEXT"
+ CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"])
+
case "$host" in
# While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
# and unnecessary everywhere.

View File

@@ -0,0 +1,28 @@
# Architecture dependency from the bundled bdwgc.
config BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
bool
default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k || \
BR2_mips || BR2_mipsel || BR2_mips64 || \
BR2_mips64el || BR2_powerpc || BR2_powerpc64 || \
BR2_powerpc64le || BR2_sh || BR2_sh64 || BR2_x86_64
config BR2_PACKAGE_GAUCHE
bool "gauche"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS
help
Gauche is an R7RS Scheme implementation developed to be a
handy script interpreter, which allows programmers and
system administrators to write small to large scripts for
their daily chores. Quick startup, built-in system
interface, native multilingual support are some of its
goals.
http://practical-scheme.net/gauche/
comment "gauche needs a toolchain w/ NPTL, dynamic library"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 7b18bcd70beaced1e004594be46c8cff95795318f6f5830dd2a8a700410fc149 Gauche-0.9.4.tgz
sha256 0ff5986540d8ad89eee595de766810f09e489a6a3363b47a65ce7ad18701ee01 13a196557848f22a1607a300643131345e9f32b3.patch

View File

@@ -0,0 +1,34 @@
################################################################################
#
# gauche
#
################################################################################
GAUCHE_VERSION = 0.9.4
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche
GAUCHE_LICENSE = BSD-3c, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
GAUCHE_LICENSE_FILES = COPYING
GAUCHE_DEPENDENCIES = host-gauche
GAUCHE_PATCH = https://github.com/shirok/Gauche/commit/13a196557848f22a1607a300643131345e9f32b3.patch
HOST_GAUCHE_CONF_OPTS = --without-zlib
GAUCHE_CONF_OPTS = --without-libatomic-ops
ifeq ($(BR2_PACKAGE_ZLIB),y)
GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR)
GAUCHE_DEPENDENCIES += zlib
else
GAUCHE_CONF_OPTS += --without-zlib
endif
# Detection of c99 support in configure fails without WCHAR. To enable
# automatic detection of c99 support by configure, we need to enable
# WCHAR in toolchain. But actually we do not need WCHAR at gauche
# runtime. So reuesting WCHAR in toolchain just for automatic detection
# will be overkill. To solve this, explicitly -std=gnu99 is specified
# here.
GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
$(eval $(host-autotools-package))
$(eval $(autotools-package))