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,20 @@
configure: on Linux, the BSD functions require linking against libbsd
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(Rebased against 20150325-3.1)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac
--- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200
+++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200
@@ -117,6 +117,10 @@
#AC_FUNC_REALLOC
AC_TYPE_SIGNAL
AC_FUNC_STAT
+
+# Search for libbsd for *vis functions
+AC_CHECK_LIB([bsd], [vis])
+
AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat fgetln vis strvis strunvis __secure_getenv secure_getenv])
# strlcpy

View File

@@ -0,0 +1,21 @@
config BR2_PACKAGE_LIBEDIT
bool "libedit"
depends on BR2_USE_WCHAR
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_NCURSES
help
The editline library (from BSD) provides generic line editing
and history functions. It slightly resembles GNU readline.
The official homepage is at:
http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/
Jess Thrysoee maintains an autotoolified package, which we use
in Buildroot as it makes it much simpler than using the upstream
sources which require pmake.
http://www.thrysoee.dk/editline
comment "libedit needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR

View File

@@ -0,0 +1,2 @@
# Locally computed
sha256 c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 libedit-20150325-3.1.tar.gz

View File

@@ -0,0 +1,39 @@
################################################################################
#
# libedit
#
################################################################################
LIBEDIT_VERSION = 20150325-3.1
LIBEDIT_SITE = http://www.thrysoee.dk/editline
LIBEDIT_INSTALL_STAGING = YES
LIBEDIT_DEPENDENCIES = ncurses
LIBEDIT_LICENSE = BSD-3c
LIBEDIT_LICENSE_FILES = COPYING
# We're patching configure.ac
LIBEDIT_AUTORECONF = YES
# Needed for autoreconf to work properly
define LIBEDIT_FIXUP_M4_DIR
mkdir $(@D)/m4
endef
LIBEDIT_POST_EXTRACT_HOOKS += LIBEDIT_FIXUP_M4_DIR
# Doesn't really support !wchar, but support is disabled otherwise
LIBEDIT_CONF_OPTS += --enable-widec
# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__,
# so let's define it manually
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L"
endif
# Note: libbsd required for *vis functions, but works only with a toolchain
# with __progname; otherwise, some features are disabled, as if libbsd was
# missing entirely.
ifeq ($(BR2_PACKAGE_LIBBSD),y)
LIBEDIT_DEPENDENCIES += libbsd
endif
$(eval $(autotools-package))