update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Allow usage when fork() is not available
|
||||
|
||||
When fork() is not available, we need to define NO_ZPIPE so that
|
||||
libXpm doesn't try to fork/exec to use a pipe to uncompress compressed
|
||||
.xpm files. There is obviously a loss of functionality, but loading
|
||||
uncompressed .xpm files should continue to work.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
# Checks for library functions
|
||||
AC_CHECK_FUNCS([strlcat])
|
||||
+AC_CHECK_FUNC([fork],[], AC_DEFINE(NO_ZPIPE))
|
||||
|
||||
# Obtain compiler/linker options for dependencies
|
||||
PKG_CHECK_MODULES(XPM, xproto x11)
|
||||
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_XLIB_LIBXPM
|
||||
bool "libXpm"
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
select BR2_PACKAGE_XPROTO_XPROTO
|
||||
help
|
||||
X.Org Xpm library
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2016-December/002752.html
|
||||
sha256 fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec libXpm-3.5.12.tar.bz2
|
||||
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# xlib_libXpm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XLIB_LIBXPM_VERSION = 3.5.12
|
||||
XLIB_LIBXPM_SOURCE = libXpm-$(XLIB_LIBXPM_VERSION).tar.bz2
|
||||
XLIB_LIBXPM_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
||||
XLIB_LIBXPM_LICENSE = MIT
|
||||
XLIB_LIBXPM_LICENSE_FILES = COPYING
|
||||
XLIB_LIBXPM_INSTALL_STAGING = YES
|
||||
# we patch configure.ac
|
||||
XLIB_LIBXPM_AUTORECONF = YES
|
||||
XLIB_LIBXPM_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt xproto_xproto \
|
||||
$(if $(BR2_PACKAGE_GETTEXT),gettext) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
host-gettext
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user