update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From 9b18a98614a9f201b0883c2b15e7c7bde0aa0ff2 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 5 Feb 2017 17:12:00 +0100
|
||||
Subject: [PATCH] compat: don't re-define program_invocation_short_name
|
||||
|
||||
program_invocation_short_name is defined in errno.h, and its definition
|
||||
can differ between the various C libraries: glibc defines it as:
|
||||
extern char *program_invocation_short_name;
|
||||
|
||||
while uClibc defines it as:
|
||||
extern const char *program_invocation_short_name;
|
||||
|
||||
So there is not simple solution to know the prototype.
|
||||
|
||||
But since it is defined in errno.h, there is no reason to try and define
|
||||
it ourselves; let's just trust what the header provides.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
compat/getprogname.c | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/compat/getprogname.c b/compat/getprogname.c
|
||||
index 80a496d..ad619fc 100644
|
||||
--- a/compat/getprogname.c
|
||||
+++ b/compat/getprogname.c
|
||||
@@ -19,11 +19,10 @@
|
||||
#include "compat.h"
|
||||
|
||||
#if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
|
||||
+#include <errno.h>
|
||||
const char *
|
||||
getprogname(void)
|
||||
{
|
||||
- extern char *program_invocation_short_name;
|
||||
-
|
||||
return (program_invocation_short_name);
|
||||
}
|
||||
#elif defined(HAVE___PROGNAME)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
19
bsp/buildroot-2017.02.11/package/tmux/Config.in
Normal file
19
bsp/buildroot-2017.02.11/package/tmux/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_TMUX
|
||||
bool "tmux"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR # mbtowc()
|
||||
depends on BR2_ENABLE_LOCALE # runtime
|
||||
select BR2_PACKAGE_LIBEVENT
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
tmux is a terminal multiplexer, it enables a number of
|
||||
terminals (or windows) to be accessed and controlled from a
|
||||
single terminal.
|
||||
|
||||
NOTE: tmux needs a working UTF-8 locale (BR2_GENERATE_LOCALE)
|
||||
|
||||
https://tmux.github.io/
|
||||
|
||||
comment "tmux needs a toolchain w/ wchar, locale"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE
|
||||
2
bsp/buildroot-2017.02.11/package/tmux/tmux.hash
Normal file
2
bsp/buildroot-2017.02.11/package/tmux/tmux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b tmux-2.3.tar.gz
|
||||
13
bsp/buildroot-2017.02.11/package/tmux/tmux.mk
Normal file
13
bsp/buildroot-2017.02.11/package/tmux/tmux.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# tmux
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TMUX_VERSION = 2.3
|
||||
TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION)
|
||||
TMUX_LICENSE = ISC
|
||||
TMUX_LICENSE_FILES = README
|
||||
TMUX_DEPENDENCIES = libevent ncurses host-pkgconf
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user