Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -1,28 +0,0 @@
# HG changeset patch
# User Adam Lackorzynski <adam@os.inf.tu-dresden.de>
# Date 1432407431 -7200
# Sat May 23 20:57:11 2015 +0200
# Node ID 8bf81e6a8e60e37c2dec9577a1be6357b8d56165
# Parent 8c784c80c17aa7a346d982db23bca5df67302cda
musl-libc compile fix
By Felix Janda <felix.janda@posteo.de>:
VC_MUSIC is enabled by default on linux and in dial.c the
necessary header are only included for glibc. (The wrong conditional
include has likely been introduced by the 2003-03-30 GNU/Hurd patch.)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Taken from upstream Mercurial commit 8bf81e6a8e60]
diff -r 8c784c80c17a -r 8bf81e6a8e60 src/dial.c
--- a/src/dial.c Sat May 23 20:56:29 2015 +0200
+++ b/src/dial.c Sat May 23 20:57:11 2015 +0200
@@ -39,7 +39,7 @@
#include "intl.h"
#ifdef VC_MUSIC
-# if defined(__GLIBC__)
+# if defined(__linux__) || defined(__GLIBC__)
# include <sys/ioctl.h>
# include <sys/kd.h>
# include <sys/time.h>

View File

@@ -0,0 +1,36 @@
From 238bbe98558bcd5ed9ab73ef03db82b57ab056ab Mon Sep 17 00:00:00 2001
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
Date: Fri, 31 Aug 2018 15:18:22 +0200
Subject: [PATCH] sysdep1: check if RS485 is support before setting its
parameters
Not every kernel supports RS485, so better check it before setting its
parameters.
Test if RS485 is supported by checking if these 3 macros are defined:
- SER_RS485_ENABLED
- TIOCGRS485
- TIOCSRS485
If they're not defined m_set485parms becomes a dummy function.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
src/sysdep1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sysdep1.c b/src/sysdep1.c
index 798b006..b03b442 100644
--- a/src/sysdep1.c
+++ b/src/sysdep1.c
@@ -599,7 +599,7 @@ void m_set485parms(int fd, int en, int rts_on_snd, int rts_aft_snd,
int rx_dur_tx, int term_bus, char *del_rts_bef_snd,
char *del_rts_aft_snd)
{
-#ifdef SER_RS485_ENABLED
+#if defined (SER_RS485_ENABLED) && defined (TIOCGRS485) && defined (TIOCSRS485)
struct serial_rs485 rs485conf;
if (ioctl(fd, TIOCGRS485, &rs485conf))
--
2.17.1

View File

@@ -1,51 +0,0 @@
# HG changeset patch
# User Adam Lackorzynski <adam@os.inf.tu-dresden.de>
# Date 1432407475 -7200
# Sat May 23 20:57:55 2015 +0200
# Node ID 93e5dd955c8bd944fd64bb04fd117c963c3758bc
# Parent 8bf81e6a8e60e37c2dec9577a1be6357b8d56165
Change MAXNAMLEN to POSIX's NAME_MAX
By Felix Janda <felix.janda@posteo.de>:
MAXNAMLEN is usually defined in <sys/param.h> but it is
better to use the equivalent POSIX NAME_MAX.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Taken from upstream Mercurial commit 93e5dd955c8b]
diff -r 8bf81e6a8e60 -r 93e5dd955c8b src/getsdir.c
--- a/src/getsdir.c Sat May 23 20:57:11 2015 +0200
+++ b/src/getsdir.c Sat May 23 20:57:55 2015 +0200
@@ -145,7 +145,7 @@
*
* The data will be in the form:
* typedef struct dirEntry {
- * char fname[MAXNAMLEN + 1];
+ * char fname[NAME_MAX + 1];
* time_t time;
* mode_t mode;
* } GETSDIR_ENTRY;
@@ -232,7 +232,7 @@
}
/* copy the filename */
- strncpy((*datptr)[cnt].fname, dp->d_name, MAXNAMLEN);
+ strncpy((*datptr)[cnt].fname, dp->d_name, NAME_MAX);
/* get information about the directory entry */
snprintf(fpath, sizeof(fpath), "%s/%s", dirpath, dp->d_name);
diff -r 8bf81e6a8e60 -r 93e5dd955c8b src/getsdir.h
--- a/src/getsdir.h Sat May 23 20:57:11 2015 +0200
+++ b/src/getsdir.h Sat May 23 20:57:55 2015 +0200
@@ -23,9 +23,10 @@
*/
#include <dirent.h>
+#include <limits.h>
typedef struct dirEntry { /* structure of data item */
- char fname[MAXNAMLEN + 1]; /* filename + terminating null */
+ char fname[NAME_MAX + 1]; /* filename + terminating null */
time_t time; /* last modification date */
mode_t mode; /* file mode (dir? etc.) */
ushort cflags; /* caller field for convenience */

View File

@@ -9,7 +9,7 @@ config BR2_PACKAGE_MINICOM
ANSI and VT102 terminals. It has a dialing directory and auto
zmodem download.
http://alioth.debian.org/projects/minicom/
https://salsa.debian.org/minicom-team/minicom
comment "minicom needs a toolchain w/ wchar"
depends on BR2_USE_MMU

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1 minicom-2.7.1.tar.gz
sha256 3bd58b594ac66545649c13ab2b728a4df0f78612eb030680d4152f7627d1f177 minicom-19ab49422f3431102c31fea01549121385113f80.tar.gz
sha256 cf80a758014eefbf068afffe3d462fc34ff4f528527524d8e100329c42094e15 COPYING

View File

@@ -4,10 +4,12 @@
#
################################################################################
MINICOM_VERSION = 2.7.1
MINICOM_SITE = https://alioth.debian.org/frs/download.php/file/4215
MINICOM_VERSION = 19ab49422f3431102c31fea01549121385113f80
MINICOM_SITE = https://salsa.debian.org/minicom-team/minicom.git
MINICOM_SITE_METHOD = git
MINICOM_LICENSE = GPL-2.0+
MINICOM_LICENSE_FILES = COPYING
MINICOM_AUTORECONF = YES
# pkg-config is only used to check for liblockdev, which we don't have
# in BR, so instead of adding host-pkgconf as a dependency, simply make
@@ -15,6 +17,15 @@ MINICOM_LICENSE_FILES = COPYING
# people have liblockdev1-dev installed
MINICOM_CONF_ENV = PKG_CONFIG=/bin/false
MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv)
MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv) \
$(TARGET_NLS_DEPENDENCIES)
# add host-gettext for AM_ICONV macro
MINICOM_DEPENDENCIES += host-gettext
# Autoreconf requires an existing m4 directory
define MINICOM_MKDIR_M4
mkdir -p $(@D)/m4
endef
MINICOM_POST_PATCH_HOOKS += MINICOM_MKDIR_M4
$(eval $(autotools-package))