mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
Compare commits
42 Commits
2014.02-rc
...
2014.02-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
085d4f0270 | ||
|
|
b614b25156 | ||
|
|
3c150f893d | ||
|
|
6eb425891e | ||
|
|
cc5b999cf6 | ||
|
|
171fb7aa0c | ||
|
|
ac99683578 | ||
|
|
a8b2e42623 | ||
|
|
fdbd7418fb | ||
|
|
615d65d3c6 | ||
|
|
209b48ae2a | ||
|
|
551c4ca7a5 | ||
|
|
c3d539b53f | ||
|
|
a423ec1519 | ||
|
|
3a0776b9d6 | ||
|
|
31d212b3e1 | ||
|
|
8e63d54e2a | ||
|
|
52aef8aebc | ||
|
|
c72cb08cb1 | ||
|
|
e78d357551 | ||
|
|
40f7068f11 | ||
|
|
e158dbf0bd | ||
|
|
a6892c69e8 | ||
|
|
7341eb8276 | ||
|
|
4b9a294e1c | ||
|
|
a25df76b39 | ||
|
|
eedfc7121c | ||
|
|
4ea812ea48 | ||
|
|
b0a3ad646e | ||
|
|
66c4d32f7c | ||
|
|
55ad3cfd3f | ||
|
|
2f78767bb8 | ||
|
|
1358a2e802 | ||
|
|
15ec3de799 | ||
|
|
e00ee4c835 | ||
|
|
48c9548ce7 | ||
|
|
dd1c4f65b1 | ||
|
|
a728e2fe35 | ||
|
|
ae3298d7d4 | ||
|
|
06b53255cf | ||
|
|
41ca57cb74 | ||
|
|
a37930a5ba |
23
CHANGES
23
CHANGES
@@ -1,3 +1,26 @@
|
||||
2014.02-rc2, Released February 20th, 2014
|
||||
|
||||
Fixes all over the tree. Static linking / nommu fixes and
|
||||
annotations for several packages.
|
||||
|
||||
Updated/fixed packages: boost, busybox, collectd, coreutils,
|
||||
dropbear, elfutils, feh, gcc, gst1-libav, imagemagick, iozone,
|
||||
jimtcl, kexec, libvncserver, lvm2, lxc, mplayer, netsnmp, nut,
|
||||
opencv, python, python3, qtuio, systemd, thrift, transmission,
|
||||
uclibc, vlc, webkit
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5450: AT91SAM9260 Bootstrap compilation problem
|
||||
#5582: libiconv 1.14 failed to build
|
||||
#5624: When building directfb, BR2_TARGET_LDFLAGS not used by..
|
||||
#5852: [2012.11] usb_modeswitch should depends of "BR2_PACK..
|
||||
#6218: binutils-2.23.2/gas fails with undefined reference to..
|
||||
#6236: binutils-2.23.2/bfd fails with undefined reference to..
|
||||
#6470: If the build directory is a child of /usr, the build..
|
||||
#6776: systemd error: static declaration of 'execvpe' follows..
|
||||
#6818: toolchainfile.cmake has absolut path references
|
||||
|
||||
2014.02-rc1, Released February 11th, 2014
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
3
Makefile
3
Makefile
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2014 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2014 by the Buildroot developers <buildroot@buildroot.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -24,7 +25,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2014.02-rc1
|
||||
export BR2_VERSION:=2014.02-rc2
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION=3.81
|
||||
|
||||
@@ -36,4 +36,4 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beaglebone/linux-3.12.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-bone"
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-bone am335x-boneblack"
|
||||
|
||||
@@ -56,4 +56,4 @@ $ make HOSTCC=gcc-4.3 uclibc-menuconfig
|
||||
$ make HOSTCC=gcc-4.3 busybox-menuconfig
|
||||
|
||||
Please feed suggestions, bug reports, insults, and bribes back to the
|
||||
buildroot mailing list: buildroot@uclibc.org
|
||||
buildroot mailing list: buildroot@buildroot.org
|
||||
|
||||
@@ -25,6 +25,6 @@ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
You have been warned.
|
||||
|
||||
You can contact the webmaster at <buildroot@uclibc.org> if you have some sort
|
||||
You can contact the webmaster at <buildroot@buildroot.org> if you have some sort
|
||||
of problem with this.
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@ or
|
||||
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2014.02-rc1</b>, which can be
|
||||
The latest release candidate is <b>2014.02-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2014.02-rc1.tar.gz">buildroot-2014.02-rc1.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2014.02-rc1.tar.gz.sign">PGP signature</a>)
|
||||
<a href="/downloads/buildroot-2014.02-rc2.tar.gz">buildroot-2014.02-rc2.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2014.02-rc2.tar.gz.sign">PGP signature</a>)
|
||||
or
|
||||
<a href="/downloads/buildroot-2014.02-rc1.tar.bz2">buildroot-2014.02-rc1.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.02-rc1.tar.bz2.sign">PGP signature</a>).
|
||||
<a href="/downloads/buildroot-2014.02-rc2.tar.bz2">buildroot-2014.02-rc2.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.02-rc2.tar.bz2.sign">PGP signature</a>).
|
||||
<p>
|
||||
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<br>
|
||||
Mail all comments, insults, suggestions and bribes to
|
||||
<br>
|
||||
The Buildroot developers <A HREF="mailto:buildroot@uclibc.org">buildroot@uclibc.org</A><BR>
|
||||
The Buildroot developers <A HREF="mailto:buildroot@buildroot.org">buildroot@buildroot.org</A><BR>
|
||||
</font>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -57,7 +57,9 @@
|
||||
<br><a href="http://autobuild.buildroot.org">Autobuilder</a>
|
||||
<br><a href="http://patchwork.buildroot.org">Patchwork</a>
|
||||
<br><a href="/sponsors.html">Sponsors</a>
|
||||
|
||||
<br><a href="https://plus.google.com/100084591154899263420?prsrc=3" rel="publisher" target="_top" style="text-decoration:none;">
|
||||
<img src="https://ssl.gstatic.com/images/icons/gplus-32.png" alt="Google+" style="border:0;width:32px;height:32px;"/>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ before submitting them using your favorite text editor.
|
||||
Lastly, send/submit your patch set to the Buildroot mailing list:
|
||||
|
||||
---------------------
|
||||
$ git send-email --to buildroot@busybox.net outgoing/*
|
||||
$ git send-email --to buildroot@buildroot.org outgoing/*
|
||||
---------------------
|
||||
|
||||
Note that +git+ should be configured to use your mail account.
|
||||
|
||||
@@ -5,12 +5,26 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>20 February 2014 -- 2014.02-rc2 released</b>
|
||||
|
||||
<p>Another week, another release candidate with more cleanups and
|
||||
build fixes. See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2014.02-rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2014.02-rc2.tar.bz2">2014.02-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>11 February 2014 -- 2014.02-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2014.02-rc1">CHANGES</a>
|
||||
file for details.</p>
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2014-February/089055.html">announcement</a>.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2014.02-rc1.tar.bz2">2014.02-rc1
|
||||
|
||||
@@ -21,7 +21,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "3.13.2"
|
||||
bool "3.13.3"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -104,7 +104,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.13.2" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "3.13.3" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
@@ -77,6 +77,7 @@ config BR2_PACKAGE_BOOST_SYSTEM
|
||||
|
||||
config BR2_PACKAGE_BOOST_TEST
|
||||
bool "boost-test"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
|
||||
config BR2_PACKAGE_BOOST_THREAD
|
||||
bool "boost-thread"
|
||||
|
||||
@@ -75,6 +75,13 @@ define BUSYBOX_SET_MDEV
|
||||
endef
|
||||
endif
|
||||
|
||||
# sha passwords need USE_BB_CRYPT_SHA
|
||||
ifeq ($(BR2_TARGET_GENERIC_PASSWD_SHA256)$(BR2_TARGET_GENERIC_PASSWD_SHA512),y)
|
||||
define BUSYBOX_SET_CRYPT_SHA
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_USE_BB_CRYPT_SHA,$(BUSYBOX_BUILD_CONFIG))
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_USE_MMU),y)
|
||||
define BUSYBOX_SET_MMU
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_NOMMU,$(BUSYBOX_BUILD_CONFIG))
|
||||
@@ -173,15 +180,14 @@ define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
|
||||
endef
|
||||
endif
|
||||
|
||||
# We do this here to avoid busting a modified .config in configure
|
||||
BUSYBOX_POST_EXTRACT_HOOKS += BUSYBOX_COPY_CONFIG
|
||||
|
||||
define BUSYBOX_CONFIGURE_CMDS
|
||||
$(BUSYBOX_COPY_CONFIG)
|
||||
$(BUSYBOX_SET_MMU)
|
||||
$(BUSYBOX_SET_LARGEFILE)
|
||||
$(BUSYBOX_SET_IPV6)
|
||||
$(BUSYBOX_PREFER_STATIC)
|
||||
$(BUSYBOX_SET_MDEV)
|
||||
$(BUSYBOX_SET_CRYPT_SHA)
|
||||
$(BUSYBOX_NETKITBASE)
|
||||
$(BUSYBOX_NETKITTELNET)
|
||||
$(BUSYBOX_INTERNAL_SHADOW_PASSWORDS)
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
COLLECTD_VERSION = 5.4.1
|
||||
COLLECTD_SITE = http://collectd.org/files
|
||||
COLLECTD_MAKE_OPT = LDFLAGS="$(TARGET_LDFLAGS) -lm"
|
||||
COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes
|
||||
COLLECTD_INSTALL_STAGING = YES
|
||||
COLLECTD_LICENSE = GPLv2 LGPLv2.1
|
||||
@@ -22,6 +21,16 @@ COLLECTD_PLUGINS_DISABLE = amqp apple_sensors aquaero ascent dbi email \
|
||||
tokyotyrant uuid varnish vserver write_mongodb write_redis \
|
||||
xmms zfs_arc
|
||||
|
||||
COLLECTD_LDFLAGS = $(TARGET_LDFLAGS) -lm
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
# collectd-tg indirectly needs pthread but doesn't link with -pthread,
|
||||
# causing static linker errors
|
||||
COLLECTD_LDFLAGS += -lpthread
|
||||
endif
|
||||
|
||||
COLLECTD_CONF_ENV += LDFLAGS="$(COLLECTD_LDFLAGS)"
|
||||
|
||||
COLLECTD_CONF_OPT += --with-nan-emulation --with-fp-layout=nothing \
|
||||
--localstatedir=/var --with-perl-bindings=no \
|
||||
$(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \
|
||||
|
||||
43
package/coreutils/coreutils-01-spawn-uclibc.patch
Normal file
43
package/coreutils/coreutils-01-spawn-uclibc.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
From 71cf16e435bf5db64abcf81a9dc6dc36ce37d58d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
|
||||
Date: Tue, 14 Jan 2014 16:59:07 +0000
|
||||
Subject: [PATCH] spawn: fix link error on uclibc
|
||||
|
||||
* m4/spawn_h.m4 (gl_HAVE_POSIX_SPAWN): use AC_SEARCH_LIBS,
|
||||
to incorporate -lrt if needed (on uclibc for example).
|
||||
* modules/posix_spawn: Reference the substituted LIB.
|
||||
|
||||
Patch status: suggested by gnulib maintainer
|
||||
(http://article.gmane.org/gmane.comp.lib.gnulib.bugs/33610), not in upstream
|
||||
gnulib yet
|
||||
|
||||
This issue should be fixed in coreutils version 8.23.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
|
||||
diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4
|
||||
index 87fe122..3eb835c 100644
|
||||
--- a/m4/spawn_h.m4
|
||||
+++ b/m4/spawn_h.m4
|
||||
@@ -64,7 +64,15 @@ AC_DEFUN([gl_HAVE_POSIX_SPAWN],
|
||||
dnl once only, before all statements that occur in other macros.
|
||||
AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
|
||||
|
||||
- AC_CHECK_FUNCS_ONCE([posix_spawn])
|
||||
+ LIB_POSIX_SPAWN=
|
||||
+ AC_SUBST([LIB_POSIX_SPAWN])
|
||||
+ gl_saved_libs=$LIBS
|
||||
+ AC_SEARCH_LIBS([posix_spawn], [rt],
|
||||
+ [test "$ac_cv_search_posix_spawn" = "none required" ||
|
||||
+ LIB_POSIX_SPAWN=$ac_cv_search_posix_spawn])
|
||||
+ AC_CHECK_FUNCS([posix_spawn])
|
||||
+ LIBS=$gl_saved_libs
|
||||
+
|
||||
if test $ac_cv_func_posix_spawn != yes; then
|
||||
HAVE_POSIX_SPAWN=0
|
||||
fi
|
||||
|
||||
--
|
||||
1.7.7.6
|
||||
|
||||
@@ -10,6 +10,9 @@ COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz
|
||||
COREUTILS_LICENSE = GPLv3+
|
||||
COREUTILS_LICENSE_FILES = COPYING
|
||||
|
||||
# patching gnulib .m4 file
|
||||
COREUTILS_AUTORECONF = YES
|
||||
|
||||
# If both coreutils and busybox are selected, make certain coreutils
|
||||
# wins the fight over who gets to have their utils actually installed.
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
|
||||
@@ -7,6 +7,7 @@ config BR2_PACKAGE_CRYPTSETUP
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
depends on BR2_LARGEFILE # lvm2, util-linux
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_PREFER_STATIC_LIB # lvm2
|
||||
depends on BR2_USE_WCHAR # util-linux
|
||||
help
|
||||
This tool helps manipulate dm-crypt and luks partitions for
|
||||
@@ -14,6 +15,6 @@ config BR2_PACKAGE_CRYPTSETUP
|
||||
|
||||
https://code.google.com/p/cryptsetup/
|
||||
|
||||
comment "cryptsetup needs a toolchain w/ largefile, wchar"
|
||||
comment "cryptsetup needs a toolchain w/ largefile, wchar, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
|
||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DMRAID
|
||||
bool "dmraid"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_PREFER_STATIC_LIB # lvm2
|
||||
# triggers gcc ice
|
||||
depends on !BR2_arc
|
||||
select BR2_PACKAGE_LVM2
|
||||
@@ -12,7 +13,7 @@ config BR2_PACKAGE_DMRAID
|
||||
dmraid uses the Linux device-mapper to create devices with
|
||||
respective mappings for the ATARAID sets discovered.
|
||||
|
||||
comment "dmraid needs a toolchain w/ largefile"
|
||||
comment "dmraid needs a toolchain w/ largefile, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_LARGEFILE
|
||||
depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
|
||||
depends on !BR2_arc
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -ur dropbear-0.48/includes.h dropbear-0.48-patched/includes.h
|
||||
--- dropbear-0.48/includes.h 2006-03-09 09:06:02.000000000 -0600
|
||||
+++ dropbear-0.48-patched/includes.h 2006-03-15 22:36:12.000000000 -0600
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <sys/param.h> /* required for BSD4_4 define */
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
+#define _GNU_SOURCE
|
||||
#include <sys/time.h>
|
||||
#include <sys/un.h>
|
||||
#include <sys/wait.h>
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DROPBEAR_VERSION = 2013.62
|
||||
DROPBEAR_VERSION = 2014.63
|
||||
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
|
||||
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.bz2
|
||||
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
|
||||
|
||||
@@ -7,6 +7,9 @@ config BR2_PACKAGE_ELFUTILS
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_WCHAR
|
||||
# canonicalize_file_name() not available on uClibc 0.9.31, used
|
||||
# only for AVR32
|
||||
depends on !BR2_avr32
|
||||
help
|
||||
Libraries/utilities to handle ELF objects (drop in
|
||||
replacement for libelf).
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_FEH
|
||||
bool "feh"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_XLIB_LIBXINERAMA
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
select BR2_PACKAGE_IMLIB2_PNG
|
||||
|
||||
29
package/gcc/4.7.3/850-xtensa-libgcc-linker-script.patch
Normal file
29
package/gcc/4.7.3/850-xtensa-libgcc-linker-script.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From a89db366b98fffc61b20074e658c7285fb302776 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <a89db366b98fffc61b20074e658c7285fb302776.1392126646.git.baruch@tkos.co.il>
|
||||
From: sterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>
|
||||
Date: Tue, 21 Jan 2014 19:29:23 +0000
|
||||
Subject: [PATCH] 2014-01-21 Baruch Siach <barch@tkos.co.il>
|
||||
|
||||
* config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
|
||||
|
||||
Patch status: upstream (4.7 branch commit r206898)
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
|
||||
diff --git a/libgcc/config.host b/libgcc/config.host
|
||||
index e18e1d25021d..a6f7c450d702 100644
|
||||
--- a/libgcc/config.host
|
||||
+++ b/libgcc/config.host
|
||||
@@ -1127,7 +1127,7 @@ xtensa*-*-elf*)
|
||||
extra_parts="$extra_parts crti.o crtn.o"
|
||||
;;
|
||||
xtensa*-*-linux*)
|
||||
- tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux"
|
||||
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
|
||||
md_unwind_header=xtensa/linux-unwind.h
|
||||
;;
|
||||
am33_2.0-*-linux*)
|
||||
--
|
||||
1.8.5.3
|
||||
|
||||
29
package/gcc/4.8.2/850-xtensa-libgcc-linker-script.patch
Normal file
29
package/gcc/4.8.2/850-xtensa-libgcc-linker-script.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 7c722c07a0781e4279f643650bc528422c80ce5e Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <7c722c07a0781e4279f643650bc528422c80ce5e.1392126765.git.baruch@tkos.co.il>
|
||||
From: sterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>
|
||||
Date: Tue, 21 Jan 2014 19:50:02 +0000
|
||||
Subject: [PATCH] 2014-01-21 Baruch Siach <barch@tkos.co.il>
|
||||
|
||||
* config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
|
||||
|
||||
Patch status: upstream (4.8 branch commit r206905)
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
|
||||
diff --git a/libgcc/config.host b/libgcc/config.host
|
||||
index ee16d60e34a6..302aa6135211 100644
|
||||
--- a/libgcc/config.host
|
||||
+++ b/libgcc/config.host
|
||||
@@ -1102,7 +1102,7 @@ xtensa*-*-elf*)
|
||||
extra_parts="$extra_parts crti.o crtn.o"
|
||||
;;
|
||||
xtensa*-*-linux*)
|
||||
- tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux"
|
||||
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
|
||||
md_unwind_header=xtensa/linux-unwind.h
|
||||
;;
|
||||
am33_2.0-*-linux*)
|
||||
--
|
||||
1.8.5.3
|
||||
|
||||
@@ -83,4 +83,12 @@ endif
|
||||
GST1_LIBAV_CONF_OPT = \
|
||||
--with-libav-extra-configure="$(GST1_LIBAV_CONF_EXTRA_OPT)"
|
||||
|
||||
GST1_LIBAV_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_xtensa),y)
|
||||
GST1_LIBAV_CFLAGS += -mtext-section-literals
|
||||
endif
|
||||
|
||||
GST1_LIBAV_CONF_ENV += CFLAGS="$(GST1_LIBAV_CFLAGS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_IMAGEMAGICK
|
||||
bool "imagemagick"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
ImageMagick(R) is a software suite to create, edit, and compose
|
||||
bitmap images. It can read, convert and write images in a variety of
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_IOZONE
|
||||
bool "iozone"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
IOzone is a filesystem benchmark tool.
|
||||
The benchmark generates and measures a variety of file operations
|
||||
|
||||
@@ -38,7 +38,7 @@ endif
|
||||
|
||||
define JIMTCL_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_OPTS) CCACHE=none \
|
||||
./configure --prefix=/usr \
|
||||
$(JIMTCL_SHARED) \
|
||||
)
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 507e210daf047a5ef98de680151ace745297d82e Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <507e210daf047a5ef98de680151ace745297d82e.1392728124.git.baruch@tkos.co.il>
|
||||
From: Dave Young <dyoung@redhat.com>
|
||||
Date: Thu, 6 Feb 2014 14:30:44 +0800
|
||||
Subject: [PATCH] kernel image probe function return value checking fix
|
||||
|
||||
Currently kexec will use the kernel image type when probe function return
|
||||
value >=0. It looks odd, but previously it works. Since commit bf06cf2095
|
||||
it does not work anymore.
|
||||
|
||||
During my testing for arm zImage, in 2nd kernel the atags pointer and the
|
||||
machine_id are not valid, I did a lot of debugging in kernel, finally I found
|
||||
this is caused by a kexec tools bug instead.
|
||||
|
||||
Because uImage will be probed before zImage, also the uImage probe return 1
|
||||
instead of -1 since bf06cf2095, thus kexec will mistakenly think it is uImage.
|
||||
|
||||
Fix this issue by regarding it's valid only when probe return 0.
|
||||
|
||||
Signed-off-by: Dave Young <dyoung@redhat.com>
|
||||
Signed-off-by: Simon Horman <horms@verge.net.au>
|
||||
---
|
||||
kexec/kexec.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kexec/kexec.c b/kexec/kexec.c
|
||||
index f13e5124aacc..703d524836b4 100644
|
||||
--- a/kexec/kexec.c
|
||||
+++ b/kexec/kexec.c
|
||||
@@ -691,7 +691,7 @@ static int my_load(const char *type, int fileind, int argc, char **argv,
|
||||
}
|
||||
if (!type || guess_only) {
|
||||
for (i = 0; i < file_types; i++) {
|
||||
- if (file_type[i].probe(kernel_buf, kernel_size) >= 0)
|
||||
+ if (file_type[i].probe(kernel_buf, kernel_size) == 0)
|
||||
break;
|
||||
}
|
||||
if (i == file_types) {
|
||||
--
|
||||
1.8.5.3
|
||||
|
||||
@@ -13,7 +13,8 @@ if BR2_PACKAGE_LIBPLAYER
|
||||
config BR2_PACKAGE_LIBPLAYER_MPLAYER
|
||||
bool "mplayer backend"
|
||||
# mplayer
|
||||
depends on !BR2_sh4a && !BR2_sh4aeb && !BR2_microblaze && !BR2_aarch64
|
||||
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb || \
|
||||
BR2_microblaze || BR2_aarch64 || BR2_nios)
|
||||
# mplayer
|
||||
depends on BR2_LARGEFILE
|
||||
# mplayer
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_LIBVNCSERVER
|
||||
bool "libvncserver"
|
||||
depends on BR2_USE_MMU # VNCommand.c uses fork()
|
||||
help
|
||||
libvncserver is a VNC server/client library.
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
Fix a problem with the 3.3 kernel headers. Specifically, the umode_t type
|
||||
is defined within a __KERNEL__ preprocessor ifdef region, and so the type
|
||||
is not usable by non-kernel code. Visit the following URL for more details.
|
||||
|
||||
* http://www.spinics.net/lists/linux-fsdevel/msg52638.html
|
||||
|
||||
The commit that created the problem can be seen at the following URL.
|
||||
|
||||
* http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=0583fcc96bb117763c0fa74c123573c0112dec65
|
||||
|
||||
diff -Nur a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h
|
||||
--- a/include/linux/ext2_fs.h 2012-03-18 23:15:34.000000000 +0000
|
||||
+++ b/include/linux/ext2_fs.h 2012-03-21 11:47:53.015548437 +0000
|
||||
@@ -209,7 +209,7 @@
|
||||
#define EXT2_OTHER_FLMASK (EXT2_NODUMP_FL | EXT2_NOATIME_FL)
|
||||
|
||||
/* Mask out flags that are inappropriate for the given type of inode. */
|
||||
-static inline __u32 ext2_mask_flags(umode_t mode, __u32 flags)
|
||||
+static inline __u32 ext2_mask_flags(unsigned short mode, __u32 flags)
|
||||
{
|
||||
if (S_ISDIR(mode))
|
||||
return flags;
|
||||
@@ -71,15 +71,15 @@ config BR2_DEFAULT_KERNEL_VERSION
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.0.101" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.2.54" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.4.79" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.2.55" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.4.80" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.6.11" if BR2_KERNEL_HEADERS_3_6
|
||||
default "3.7.10" if BR2_KERNEL_HEADERS_3_7
|
||||
default "3.8.13" if BR2_KERNEL_HEADERS_3_8
|
||||
default "3.9.11" if BR2_KERNEL_HEADERS_3_9
|
||||
default "3.10.29" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.10.30" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.11.10" if BR2_KERNEL_HEADERS_3_11
|
||||
default "3.12.10" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.13.2" if BR2_KERNEL_HEADERS_3_13
|
||||
default "3.12.11" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.13.3" if BR2_KERNEL_HEADERS_3_13
|
||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LVM2
|
||||
bool "lvm2 & device mapper"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_MMU # needs fork()
|
||||
depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
|
||||
help
|
||||
This is LVM2, the rewrite of The Linux Logical Volume Manager.
|
||||
LVM supports enterprise level volume management of disk and disk
|
||||
@@ -33,6 +34,6 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
|
||||
|
||||
endif
|
||||
|
||||
comment "lvm2 needs a toolchain w/ largefile"
|
||||
comment "lvm2 needs a toolchain w/ largefile, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_LARGEFILE
|
||||
depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
|
||||
|
||||
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LXC
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_avr32 # no timerfd
|
||||
depends on !BR2_nios2 # the toolchain doesn't support setns syscall
|
||||
help
|
||||
Linux Containers (LXC), provides the ability to group and isolate
|
||||
of a set of processes in a jail by virtualizing and accounting the
|
||||
@@ -16,4 +17,5 @@ config BR2_PACKAGE_LXC
|
||||
comment "lxc needs a toolchain w/ IPv6, threads, largefile"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_avr32 # no timerfd
|
||||
depends on !BR2_nios2 # the toolchain doesn't support setns syscall
|
||||
depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
|
||||
|
||||
@@ -8,15 +8,13 @@ config BR2_PACKAGE_MIDORI
|
||||
depends on BR2_INSTALL_LIBSTDCPP # webkit
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # webkit -> enchant -> libglib2
|
||||
depends on BR2_USE_WCHAR # webkit
|
||||
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||
BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64) # webkit
|
||||
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
||||
help
|
||||
Midori is a lightweight web browser based on WebKit
|
||||
|
||||
http://software.twotoasts.de/?page=midori
|
||||
|
||||
comment "midori needs libgtk2 and a toolchain w/ C++, wchar, threads"
|
||||
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||
BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64)
|
||||
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_LIBGTK2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_MPLAYER
|
||||
bool "mplayer"
|
||||
# Those architectures are not supported by MPlayer
|
||||
depends on !(BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|
||||
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|
||||
|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
|
||||
# Broken support for <ARMv5
|
||||
depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t \
|
||||
@@ -29,6 +29,6 @@ config BR2_PACKAGE_MPLAYER_MENCODER
|
||||
endif
|
||||
|
||||
comment "mplayer needs a toolchain w/ largefile"
|
||||
depends on !(BR2_sh2 || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|
||||
|| BR2_microblaze || BR2_aarch64)
|
||||
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|
||||
|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -40,6 +40,10 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
NETSNMP_DEPENDENCIES += openssl
|
||||
NETSNMP_CONF_OPT += \
|
||||
--with-openssl=$(STAGING_DIR)/usr/include/openssl
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
# openssl uses zlib, so we need to explicitly link with it when static
|
||||
NETSNMP_CONF_ENV += LIBS=-lz
|
||||
endif
|
||||
else
|
||||
NETSNMP_CONF_OPT += --without-openssl
|
||||
endif
|
||||
|
||||
@@ -14,10 +14,14 @@ NUT_DEPENDENCIES = host-pkgconf
|
||||
# Our patch changes m4 macros, so we need to autoreconf
|
||||
NUT_AUTORECONF = YES
|
||||
|
||||
# Disable parallel builds
|
||||
NUT_MAKE = $(MAKE1)
|
||||
|
||||
# Put the PID files in a read-write place (/var/run is a tmpfs)
|
||||
# since the default location (/var/state/ups) maybe readonly.
|
||||
NUT_CONF_OPT = \
|
||||
--with-altpidpath=/var/run/upsd
|
||||
--with-altpidpath=/var/run/upsd \
|
||||
--without-hal
|
||||
|
||||
NUT_CONF_ENV = \
|
||||
GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config \
|
||||
|
||||
@@ -26,12 +26,6 @@ config BR2_PACKAGE_OPENCV_LIB_CONTRIB
|
||||
help
|
||||
Include opencv_contrib module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_CORE
|
||||
bool "core"
|
||||
default y
|
||||
help
|
||||
Include opencv_core module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
bool "features2d"
|
||||
default y
|
||||
|
||||
@@ -34,7 +34,7 @@ OPENCV_CONF_OPT += \
|
||||
-DBUILD_opencv_androidcamera=OFF \
|
||||
-DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV_LIB_CALIB3D),ON,OFF) \
|
||||
-DBUILD_opencv_contrib=$(if $(BR2_PACKAGE_OPENCV_LIB_CONTRIB),ON,OFF) \
|
||||
-DBUILD_opencv_core=$(if $(BR2_PACKAGE_OPENCV_LIB_CORE),ON,OFF) \
|
||||
-DBUILD_opencv_core=ON \
|
||||
-DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV_LIB_FEATURES2D),ON,OFF) \
|
||||
-DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV_LIB_FLANN),ON,OFF) \
|
||||
-DBUILD_opencv_gpu=$(if $(BR2_PACKAGE_OPENCV_LIB_GPU),ON,OFF) \
|
||||
|
||||
@@ -26,7 +26,6 @@ HOST_PYTHON_CONF_OPT += \
|
||||
--disable-curses \
|
||||
--disable-codecs-cjk \
|
||||
--disable-nis \
|
||||
--disable-unicodedata \
|
||||
--disable-dbm \
|
||||
--disable-gdbm \
|
||||
--disable-bsddb \
|
||||
@@ -100,6 +99,7 @@ endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y)
|
||||
PYTHON_CONF_OPT += --disable-unicodedata
|
||||
HOST_PYTHON_CONF_OPT += --disable-unicodedata
|
||||
endif
|
||||
|
||||
# Default is UCS2 w/o a conf opt
|
||||
|
||||
@@ -23,7 +23,6 @@ HOST_PYTHON3_CONF_OPT += \
|
||||
--disable-curses \
|
||||
--disable-codecs-cjk \
|
||||
--disable-nis \
|
||||
--disable-unicodedata \
|
||||
--disable-test-modules \
|
||||
--disable-idle3
|
||||
|
||||
@@ -88,6 +87,7 @@ endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y)
|
||||
PYTHON3_CONF_OPT += --disable-unicodedata
|
||||
HOST_PYTHON3_CONF_OPT += --disable-unicodedata
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y)
|
||||
|
||||
@@ -51,13 +51,22 @@ define QTUIO_INSTALL_EXAMPLES
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT_STATIC),y)
|
||||
QTUIO_LIBRARY = libqTUIO.a
|
||||
else
|
||||
QTUIO_LIBRARY = libqTUIO.so*
|
||||
define QTUIO_INSTALL_TARGET_LIBRARY
|
||||
cp -dpf $(@D)/lib/$(QTUIO_LIBRARY) $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QTUIO_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(@D)/lib/libqTUIO.so* $(TARGET_DIR)/usr/lib
|
||||
$(QTUIO_INSTALL_TARGET_LIBRARY)
|
||||
$(QTUIO_INSTALL_EXAMPLES)
|
||||
endef
|
||||
|
||||
define QTUIO_INSTALL_STAGING_CMDS
|
||||
cp -dpf $(@D)/lib/libqTUIO.so* $(STAGING_DIR)/usr/lib
|
||||
cp -dpf $(@D)/lib/$(QTUIO_LIBRARY) $(STAGING_DIR)/usr/lib
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -6,11 +6,11 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||
units/serial-getty@.service.m4 | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: systemd-37/units/getty@.service.m4
|
||||
Index: b/units/getty@.service.m4
|
||||
===================================================================
|
||||
--- systemd-37.orig/units/getty@.service.m4
|
||||
+++ systemd-37/units/getty@.service.m4
|
||||
@@ -32,7 +32,7 @@
|
||||
--- a/units/getty@.service.m4
|
||||
+++ b/units/getty@.service.m4
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
[Service]
|
||||
Environment=TERM=linux
|
||||
@@ -19,11 +19,11 @@ Index: systemd-37/units/getty@.service.m4
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
UtmpIdentifier=%I
|
||||
Index: systemd-37/units/serial-getty@.service.m4
|
||||
Index: b/units/serial-getty@.service.m4
|
||||
===================================================================
|
||||
--- systemd-37.orig/units/serial-getty@.service.m4
|
||||
+++ systemd-37/units/serial-getty@.service.m4
|
||||
@@ -32,7 +32,7 @@
|
||||
--- a/units/serial-getty@.service.m4
|
||||
+++ b/units/serial-getty@.service.m4
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
[Service]
|
||||
Environment=TERM=vt100
|
||||
@@ -6,8 +6,8 @@ Date: Wed Mar 21 23:47:44 2012 +0100
|
||||
|
||||
Let's use NAME_MAX, as suggested by Dan Walsh
|
||||
|
||||
diff --git a/src/journal/journald.c b/src/journal/journald.c
|
||||
index d27cb60..87390bd 100644
|
||||
Index: b/src/journal/journald.c
|
||||
===================================================================
|
||||
--- a/src/journal/journald.c
|
||||
+++ b/src/journal/journald.c
|
||||
@@ -29,7 +29,6 @@
|
||||
@@ -18,7 +18,7 @@ index d27cb60..87390bd 100644
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include <systemd/sd-login.h>
|
||||
@@ -2149,10 +2148,20 @@ static int process_event(Server *s, struct epoll_event *ev) {
|
||||
@@ -2141,10 +2140,20 @@
|
||||
size_t label_len = 0;
|
||||
union {
|
||||
struct cmsghdr cmsghdr;
|
||||
@@ -13,18 +13,23 @@ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
src/macro.h | 15 +++++++++++++++
|
||||
2 files changed, 17 insertions(+)
|
||||
|
||||
Index: systemd-44/src/macro.h
|
||||
Index: b/src/macro.h
|
||||
===================================================================
|
||||
--- systemd-44.orig/src/macro.h
|
||||
+++ systemd-44/src/macro.h
|
||||
@@ -28,6 +28,21 @@
|
||||
--- a/src/macro.h
|
||||
+++ b/src/macro.h
|
||||
@@ -28,6 +28,33 @@
|
||||
#include <sys/uio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
+#ifdef __UCLIBC__
|
||||
+/* uclibc does not implement mkostemp GNU extension */
|
||||
+#define mkostemp(x,y) mkstemp(x)
|
||||
+/* uclibc may not define MSG_CMSG_CLOEXEC */
|
||||
+#if defined HAVE_DECL_MSG_CMSG_CLOEXEC && !HAVE_DECL_MSG_CMSG_CLOEXEC
|
||||
+#define MSG_CMSG_CLOEXEC 0x40000000
|
||||
+#endif
|
||||
+/* uclibc does not implement execvpe GNU extension */
|
||||
+#ifndef HAVE_EXECVPE
|
||||
+#ifndef _GNU_SOURCE
|
||||
+#define _GNU_SOURCE
|
||||
+#endif
|
||||
@@ -35,14 +40,21 @@ Index: systemd-44/src/macro.h
|
||||
+ environ = (char **)envp;
|
||||
+ return execvp(file, argv);
|
||||
+}
|
||||
+#endif
|
||||
+#endif /* HAVE_EXECVPE */
|
||||
+#ifndef HAVE_DUP3
|
||||
+#include <asm/unistd.h>
|
||||
+static inline int dup3(int oldfd, int newfd, int flags) {
|
||||
+ return syscall(__NR_dup3, oldfd, newfd, flags);
|
||||
+}
|
||||
+#endif /* HAVE_DUP3 */
|
||||
+#endif /* __UCLIBC__ */
|
||||
#define _printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
|
||||
#define _sentinel_ __attribute__ ((sentinel))
|
||||
#define _noreturn_ __attribute__((noreturn))
|
||||
Index: systemd-44/src/journal/journal-file.c
|
||||
Index: b/src/journal/journal-file.c
|
||||
===================================================================
|
||||
--- systemd-44.orig/src/journal/journal-file.c
|
||||
+++ systemd-44/src/journal/journal-file.c
|
||||
--- a/src/journal/journal-file.c
|
||||
+++ b/src/journal/journal-file.c
|
||||
@@ -229,11 +229,13 @@
|
||||
}
|
||||
}
|
||||
@@ -57,3 +69,16 @@ Index: systemd-44/src/journal/journal-file.c
|
||||
|
||||
if (fstat(f->fd, &f->last_stat) < 0)
|
||||
return -errno;
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -111,6 +111,8 @@
|
||||
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
|
||||
AC_SEARCH_LIBS([dlsym], [dl], [], [AC_MSG_ERROR([*** Dynamic linking loader library not found])])
|
||||
+AC_CHECK_FUNCS([execvpe dup3])
|
||||
+AC_CHECK_DECLS([MSG_CMSG_CLOEXEC], [], [], [#include <sys/socket.h>])
|
||||
|
||||
save_LIBS="$LIBS"
|
||||
LIBS=
|
||||
@@ -22,6 +22,8 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
SYSTEMD_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
SYSTEMD_AUTORECONF = YES
|
||||
|
||||
SYSTEMD_CONF_OPT += \
|
||||
--with-distro=other \
|
||||
--disable-selinux \
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
THRIFT-2229 thrift failed to build on OSX 10.9 GM
|
||||
|
||||
---
|
||||
compiler/cpp/src/thrifty.yy | 4 ++--
|
||||
tutorial/cpp/CppClient.cpp | 6 +++---
|
||||
tutorial/cpp/CppServer.cpp | 16 ++++++++--------
|
||||
3 files changed, 13 insertions(+), 13 deletions(-)
|
||||
mode change 100644 => 100755 compiler/cpp/src/thrifty.yy
|
||||
|
||||
diff --git a/compiler/cpp/src/thrifty.yy b/compiler/cpp/src/thrifty.yy
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index b543552..8814332
|
||||
--- a/compiler/cpp/src/thrifty.yy
|
||||
+++ b/compiler/cpp/src/thrifty.yy
|
||||
@@ -675,7 +675,7 @@ ConstValue:
|
||||
$$ = new t_const_value();
|
||||
$$->set_integer($1);
|
||||
if (!g_allow_64bit_consts && ($1 < INT32_MIN || $1 > INT32_MAX)) {
|
||||
- pwarning(1, "64-bit constant \"%"PRIi64"\" may not work in all languages.\n", $1);
|
||||
+ pwarning(1, "64-bit constant \"%" PRIi64"\" may not work in all languages.\n", $1);
|
||||
}
|
||||
}
|
||||
| tok_dub_constant
|
||||
@@ -987,7 +987,7 @@ FieldIdentifier:
|
||||
* warn if the user-specified negative value isn't what
|
||||
* thrift would have auto-assigned.
|
||||
*/
|
||||
- pwarning(1, "Nonpositive field key (%"PRIi64") differs from what would be "
|
||||
+ pwarning(1, "Nonpositive field key (%" PRIi64") differs from what would be "
|
||||
"auto-assigned by thrift (%d).\n", $1, y_field_val);
|
||||
}
|
||||
/*
|
||||
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp
|
||||
index ba71caa..b91df2e 100644
|
||||
--- a/tutorial/cpp/CppClient.cpp
|
||||
+++ b/tutorial/cpp/CppClient.cpp
|
||||
@@ -38,9 +38,9 @@ using namespace shared;
|
||||
using namespace boost;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
- shared_ptr<TTransport> socket(new TSocket("localhost", 9090));
|
||||
- shared_ptr<TTransport> transport(new TBufferedTransport(socket));
|
||||
- shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
|
||||
+ boost::shared_ptr<TTransport> socket(new TSocket("localhost", 9090));
|
||||
+ boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));
|
||||
+ boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
|
||||
CalculatorClient client(protocol);
|
||||
|
||||
try {
|
||||
diff --git a/tutorial/cpp/CppServer.cpp b/tutorial/cpp/CppServer.cpp
|
||||
index d0dbad9..f19258c 100644
|
||||
--- a/tutorial/cpp/CppServer.cpp
|
||||
+++ b/tutorial/cpp/CppServer.cpp
|
||||
@@ -113,11 +113,11 @@ protected:
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
- shared_ptr<TProtocolFactory> protocolFactory(new TBinaryProtocolFactory());
|
||||
- shared_ptr<CalculatorHandler> handler(new CalculatorHandler());
|
||||
- shared_ptr<TProcessor> processor(new CalculatorProcessor(handler));
|
||||
- shared_ptr<TServerTransport> serverTransport(new TServerSocket(9090));
|
||||
- shared_ptr<TTransportFactory> transportFactory(new TBufferedTransportFactory());
|
||||
+ boost::shared_ptr<TProtocolFactory> protocolFactory(new TBinaryProtocolFactory());
|
||||
+ boost::shared_ptr<CalculatorHandler> handler(new CalculatorHandler());
|
||||
+ boost::shared_ptr<TProcessor> processor(new CalculatorProcessor(handler));
|
||||
+ boost::shared_ptr<TServerTransport> serverTransport(new TServerSocket(9090));
|
||||
+ boost::shared_ptr<TTransportFactory> transportFactory(new TBufferedTransportFactory());
|
||||
|
||||
TSimpleServer server(processor,
|
||||
serverTransport,
|
||||
@@ -128,10 +128,10 @@ int main(int argc, char **argv) {
|
||||
/**
|
||||
* Or you could do one of these
|
||||
|
||||
- shared_ptr<ThreadManager> threadManager =
|
||||
+ boost::shared_ptr<ThreadManager> threadManager =
|
||||
ThreadManager::newSimpleThreadManager(workerCount);
|
||||
- shared_ptr<PosixThreadFactory> threadFactory =
|
||||
- shared_ptr<PosixThreadFactory>(new PosixThreadFactory());
|
||||
+ boost::shared_ptr<PosixThreadFactory> threadFactory =
|
||||
+ boost::shared_ptr<PosixThreadFactory>(new PosixThreadFactory());
|
||||
threadManager->threadFactory(threadFactory);
|
||||
threadManager->start();
|
||||
TThreadPoolServer server(processor,
|
||||
--
|
||||
1.8.5.3
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
THRIFT-2367 Build failure: stdlib and boost both define uint64_t
|
||||
|
||||
Fix: remove "using namespace boost;"
|
||||
Patch: Roger Meier
|
||||
---
|
||||
lib/cpp/src/thrift/transport/TSSLServerSocket.cpp | 8 +++-----
|
||||
lib/cpp/src/thrift/transport/TSSLSocket.cpp | 7 +++----
|
||||
tutorial/cpp/CppClient.cpp | 2 --
|
||||
tutorial/cpp/CppServer.cpp | 2 --
|
||||
4 files changed, 6 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp b/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
|
||||
index 4689e4a..df5ed75 100644
|
||||
--- a/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
|
||||
+++ b/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
|
||||
@@ -22,25 +22,23 @@
|
||||
|
||||
namespace apache { namespace thrift { namespace transport {
|
||||
|
||||
-using namespace boost;
|
||||
-
|
||||
/**
|
||||
* SSL server socket implementation.
|
||||
*/
|
||||
TSSLServerSocket::TSSLServerSocket(int port,
|
||||
- shared_ptr<TSSLSocketFactory> factory):
|
||||
+ boost::shared_ptr<TSSLSocketFactory> factory):
|
||||
TServerSocket(port), factory_(factory) {
|
||||
factory_->server(true);
|
||||
}
|
||||
|
||||
TSSLServerSocket::TSSLServerSocket(int port, int sendTimeout, int recvTimeout,
|
||||
- shared_ptr<TSSLSocketFactory> factory):
|
||||
+ boost::shared_ptr<TSSLSocketFactory> factory):
|
||||
TServerSocket(port, sendTimeout, recvTimeout),
|
||||
factory_(factory) {
|
||||
factory_->server(true);
|
||||
}
|
||||
|
||||
-shared_ptr<TSocket> TSSLServerSocket::createSocket(int client) {
|
||||
+boost::shared_ptr<TSocket> TSSLServerSocket::createSocket(int client) {
|
||||
return factory_->createSocket(client);
|
||||
}
|
||||
|
||||
diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
|
||||
index 029c541..5029f74 100644
|
||||
--- a/lib/cpp/src/thrift/transport/TSSLSocket.cpp
|
||||
+++ b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
|
||||
@@ -41,7 +41,6 @@
|
||||
#define OPENSSL_VERSION_NO_THREAD_ID 0x10000000L
|
||||
|
||||
using namespace std;
|
||||
-using namespace boost;
|
||||
using namespace apache::thrift::concurrency;
|
||||
|
||||
struct CRYPTO_dynlock_value {
|
||||
@@ -489,7 +488,7 @@ int TSSLSocketFactory::passwordCallback(char* password,
|
||||
return length;
|
||||
}
|
||||
|
||||
-static shared_array<Mutex> mutexes;
|
||||
+static boost::shared_array<Mutex> mutexes;
|
||||
|
||||
static void callbackLocking(int mode, int n, const char*, int) {
|
||||
if (mode & CRYPTO_LOCK) {
|
||||
@@ -533,7 +532,7 @@ void TSSLSocketFactory::initializeOpenSSL() {
|
||||
SSL_library_init();
|
||||
SSL_load_error_strings();
|
||||
// static locking
|
||||
- mutexes = shared_array<Mutex>(new Mutex[::CRYPTO_num_locks()]);
|
||||
+ mutexes = boost::shared_array<Mutex>(new Mutex[::CRYPTO_num_locks()]);
|
||||
if (mutexes == NULL) {
|
||||
throw TTransportException(TTransportException::INTERNAL_ERROR,
|
||||
"initializeOpenSSL() failed, "
|
||||
@@ -591,7 +590,7 @@ void buildErrors(string& errors, int errno_copy) {
|
||||
}
|
||||
}
|
||||
if (errors.empty()) {
|
||||
- errors = "error code: " + lexical_cast<string>(errno_copy);
|
||||
+ errors = "error code: " + boost::lexical_cast<string>(errno_copy);
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp
|
||||
index ba71caa..6db8db6 100644
|
||||
--- a/tutorial/cpp/CppClient.cpp
|
||||
+++ b/tutorial/cpp/CppClient.cpp
|
||||
@@ -35,8 +35,6 @@ using namespace apache::thrift::transport;
|
||||
using namespace tutorial;
|
||||
using namespace shared;
|
||||
|
||||
-using namespace boost;
|
||||
-
|
||||
int main(int argc, char** argv) {
|
||||
shared_ptr<TTransport> socket(new TSocket("localhost", 9090));
|
||||
shared_ptr<TTransport> transport(new TBufferedTransport(socket));
|
||||
diff --git a/tutorial/cpp/CppServer.cpp b/tutorial/cpp/CppServer.cpp
|
||||
index d0dbad9..d0bff32 100644
|
||||
--- a/tutorial/cpp/CppServer.cpp
|
||||
+++ b/tutorial/cpp/CppServer.cpp
|
||||
@@ -41,8 +41,6 @@ using namespace apache::thrift::server;
|
||||
using namespace tutorial;
|
||||
using namespace shared;
|
||||
|
||||
-using namespace boost;
|
||||
-
|
||||
class CalculatorHandler : public CalculatorIf {
|
||||
public:
|
||||
CalculatorHandler() {}
|
||||
--
|
||||
1.8.5.3
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
transmission: fix incorrect check of CXX when ccache is enabled
|
||||
|
||||
When ccache is enabled, the configure script is called with
|
||||
CXX="/path/to/ccache /path/to/cxx". The AC_PROG_CXX correctly deals with
|
||||
this, but the transmission-specific extra checks on CXX do not. It uses
|
||||
AC_CHECK_PROG, which takes the first word of CXX (ccache) only.
|
||||
|
||||
This patch removes the seemingly unneeded extra checks, and additionally
|
||||
replaces HAVE_CXX=yes/no with a direct check on CXX, as it is only used in
|
||||
one place.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
|
||||
Upstream-status: submitted: https://trac.transmissionbt.com/ticket/5612
|
||||
|
||||
---
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -69,15 +69,6 @@ AC_SUBST(LIBAPPINDICATOR_MINIMUM)
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
-if test "x$CXX" != "x"; then # CXX is set...
|
||||
- if test -f "$CXX"; then # maybe it's an absolute path passed in env variables...
|
||||
- AC_MSG_CHECKING([for $CXX])
|
||||
- HAVE_CXX="yes"
|
||||
- AC_MSG_RESULT([$HAVE_CXX])
|
||||
- else
|
||||
- AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no])
|
||||
- fi
|
||||
-fi
|
||||
AC_C_INLINE
|
||||
if test "x$GCC" = "xyes" ; then
|
||||
|
||||
@@ -216,7 +207,7 @@ AC_CHECK_LIB([rt],
|
||||
|
||||
AC_MSG_CHECKING([µTP])
|
||||
build_utp="no"
|
||||
-if test "x$HAVE_CXX" = "xyes" ; then
|
||||
+if test "x$CXX" != "x" ; then
|
||||
have_utp="yes"
|
||||
else
|
||||
have_utp="no"
|
||||
@@ -14,6 +14,7 @@ TRANSMISSION_DEPENDENCIES = \
|
||||
libevent \
|
||||
openssl \
|
||||
zlib
|
||||
TRANSMISSION_AUTORECONF = YES
|
||||
|
||||
TRANSMISSION_CONF_OPT = \
|
||||
--disable-libnotify \
|
||||
|
||||
@@ -453,9 +453,8 @@ define UCLIBC_SETUP_DOT_CONFIG
|
||||
oldconfig
|
||||
endef
|
||||
|
||||
UCLIBC_POST_PATCH_HOOKS += UCLIBC_SETUP_DOT_CONFIG
|
||||
|
||||
define UCLIBC_CONFIGURE_CMDS
|
||||
$(UCLIBC_SETUP_DOT_CONFIG)
|
||||
$(MAKE1) -C $(UCLIBC_DIR) \
|
||||
$(UCLIBC_MAKE_FLAGS) \
|
||||
PREFIX=$(STAGING_DIR) \
|
||||
|
||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_UDISKS
|
||||
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_PREFER_STATIC_LIB # lvm2
|
||||
select BR2_PACKAGE_UDEV
|
||||
select BR2_PACKAGE_UDEV_ALL_EXTRAS
|
||||
select BR2_PACKAGE_DBUS
|
||||
@@ -36,8 +37,9 @@ config BR2_PACKAGE_UDISKS_LVM2
|
||||
|
||||
endif
|
||||
|
||||
comment "udisks needs udev /dev management and a toolchain w/ wchar, threads"
|
||||
comment "udisks needs udev /dev management and a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on !BR2_avr32
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_PREFER_STATIC_LIB
|
||||
|
||||
@@ -30,7 +30,8 @@ VLC_CONF_OPT += \
|
||||
--disable-goom \
|
||||
--disable-projectm \
|
||||
--disable-vsxu \
|
||||
--disable-mtp
|
||||
--disable-mtp \
|
||||
--without-opencv
|
||||
|
||||
# Set powerpc altivec appropriately
|
||||
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
|
||||
@@ -226,7 +227,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA),y)
|
||||
VLC_CONF_OPT += --enable-lua
|
||||
VLC_DEPENDENCIES += lua
|
||||
VLC_DEPENDENCIES += lua host-lua
|
||||
else
|
||||
VLC_CONF_OPT += --disable-lua
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,18 @@
|
||||
config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
||||
bool
|
||||
# ARM needs BLX, so v5t+
|
||||
default y if (BR2_arm || BR2_armeb) && \
|
||||
!(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_fa526)
|
||||
default y if BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||
BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_WEBKIT
|
||||
bool "webkit"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR # enchant -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # enchant -> libglib2
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||
BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64)
|
||||
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
select BR2_PACKAGE_ENCHANT
|
||||
select BR2_PACKAGE_HARFBUZZ
|
||||
@@ -29,7 +36,6 @@ config BR2_PACKAGE_WEBKIT
|
||||
http://webkit.org/
|
||||
|
||||
comment "webkit needs libgtk2 and a toolchain w/ C++, wchar, threads"
|
||||
depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
|
||||
BR2_powerpc || BR2_sh || BR2_sparc || BR2_x86_64)
|
||||
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -57,7 +57,7 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \
|
||||
|
||||
XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \
|
||||
--disable-xnest --disable-xephyr --disable-dmx \
|
||||
--with-builder-addr=buildroot@uclibc.org \
|
||||
--with-builder-addr=buildroot@buildroot.org \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1" \
|
||||
--with-fontdir=/usr/share/fonts/X11/ --localstatedir=/var \
|
||||
--$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb
|
||||
|
||||
Reference in New Issue
Block a user