Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 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>
|
||||
@@ -0,0 +1,51 @@
|
||||
# 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 */
|
||||
16
deprecated/firmware/buildroot/package/minicom/Config.in
Normal file
16
deprecated/firmware/buildroot/package/minicom/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_MINICOM
|
||||
bool "minicom"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Minicom is a menu driven communications program. It emulates
|
||||
ANSI and VT102 terminals. It has a dialing directory and auto
|
||||
zmodem download.
|
||||
|
||||
http://alioth.debian.org/projects/minicom/
|
||||
|
||||
comment "minicom needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4 minicom-2.7.tar.gz
|
||||
20
deprecated/firmware/buildroot/package/minicom/minicom.mk
Normal file
20
deprecated/firmware/buildroot/package/minicom/minicom.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# minicom
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MINICOM_VERSION = 2.7
|
||||
MINICOM_SITE = https://alioth.debian.org/frs/download.php/file/3977
|
||||
MINICOM_LICENSE = GPLv2+
|
||||
MINICOM_LICENSE_FILES = COPYING
|
||||
|
||||
# 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
|
||||
# sure the host version isn't used so we don't end up with problems if
|
||||
# people have liblockdev1-dev installed
|
||||
MINICOM_CONF_ENV = PKG_CONFIG=/bin/false
|
||||
|
||||
MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user