Update buidlroot to version 2016.08.1
This commit is contained in:
34
bsp/buildroot/package/log4cpp/0001-Fix-musl-compile.patch
Normal file
34
bsp/buildroot/package/log4cpp/0001-Fix-musl-compile.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
From 17562259fb6684f351a70b98b4f3b438927ba1aa Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Mon, 11 Jul 2016 22:58:31 +0200
|
||||
Subject: [PATCH] Fix musl compile.
|
||||
|
||||
Include proper config.h (via log4cpp/Portability.hh) to fix the
|
||||
evaluate of LOG4CPP_HAVE_STDINT_H in the file tests/Clock.hh
|
||||
|
||||
Fixes:
|
||||
|
||||
Clock.hh:17:13: error: 'int64_t' does not name a type
|
||||
typedef int64_t usec_t;
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
log4cpp/tests/Clock.hh | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/log4cpp/tests/Clock.hh b/log4cpp/tests/Clock.hh
|
||||
index 4bf0ca4..45c6467 100644
|
||||
--- a/log4cpp/tests/Clock.hh
|
||||
+++ b/log4cpp/tests/Clock.hh
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef __CLOCK_H
|
||||
#define __CLOCK_H
|
||||
|
||||
+#include <log4cpp/Portability.hh>
|
||||
+
|
||||
#ifdef LOG4CPP_HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif // LOG4CPP_HAVE_STDINT_H
|
||||
--
|
||||
2.8.1
|
||||
|
||||
14
bsp/buildroot/package/log4cpp/Config.in
Executable file
14
bsp/buildroot/package/log4cpp/Config.in
Executable file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LOG4CPP
|
||||
bool "log4cpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Log4cpp is library of C++ classes for flexible logging to
|
||||
files, syslog, IDSA and other destinations. It is modeled
|
||||
after the Log4j Java library, staying as close to their API
|
||||
as is reasonable.
|
||||
|
||||
http://log4cpp.sourceforge.net/
|
||||
|
||||
comment "log4cpp needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
bsp/buildroot/package/log4cpp/log4cpp.hash
Executable file
3
bsp/buildroot/package/log4cpp/log4cpp.hash
Executable file
@@ -0,0 +1,3 @@
|
||||
# From http://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/
|
||||
md5 1e173df8ee97205f412ff84aa93b8fbe log4cpp-1.1.1.tar.gz
|
||||
sha1 23aa5bd7d6f79992c92bad3e1c6d64a34f8fcf68 log4cpp-1.1.1.tar.gz
|
||||
33
bsp/buildroot/package/log4cpp/log4cpp.mk
Executable file
33
bsp/buildroot/package/log4cpp/log4cpp.mk
Executable file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# log4cpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LOG4CPP_VERSION_MAJOR = 1.1
|
||||
LOG4CPP_VERSION = $(LOG4CPP_VERSION_MAJOR).1
|
||||
LOG4CPP_SOURCE = log4cpp-$(LOG4CPP_VERSION).tar.gz
|
||||
LOG4CPP_SITE = http://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-$(LOG4CPP_VERSION_MAJOR)
|
||||
LOG4CPP_SUBDIR = log4cpp
|
||||
# The "or later" is indicated in the HTML documentation
|
||||
LOG4CPP_LICENSE = LGPLv2.1+
|
||||
LOG4CPP_LICENSE_FILES = log4cpp/COPYING
|
||||
LOG4CPP_INSTALL_STAGING = YES
|
||||
LOG4CPP_CONF_OPTS = --enable-doxygen=no --enable-dot=no
|
||||
|
||||
# The default <pkg>_CONFIG_SCRIPTS handling does not apply
|
||||
define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
|
||||
$(SED) 's,prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
|
||||
-e 's,exec_prefix="/usr",prefix="$(STAGING_DIR)/usr",' \
|
||||
$(STAGING_DIR)/usr/bin/log4cpp-config
|
||||
endef
|
||||
|
||||
LOG4CPP_POST_INSTALL_STAGING_HOOKS += LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
|
||||
|
||||
define LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
|
||||
$(RM) $(TARGET_DIR)/usr/bin/log4cpp-config
|
||||
endef
|
||||
|
||||
LOG4CPP_POST_INSTALL_TARGET_HOOKS += LOG4CPP_TARGET_CONFIG_SCRIPT_REMOVE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user