Compare commits
63
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ab8f10afa | ||
|
|
4b4fc27e1a | ||
|
|
ef9ffa3426 | ||
|
|
4e00f9daa0 | ||
|
|
5270553b90 | ||
|
|
af486457df | ||
|
|
4ebd2fa277 | ||
|
|
4a146b933e | ||
|
|
954509fb84 | ||
|
|
1dd696ffe2 | ||
|
|
f9aee682f9 | ||
|
|
2a1401fa92 | ||
|
|
86d902035d | ||
|
|
2b360bd547 | ||
|
|
1dc3864dab | ||
|
|
5879cc71dd | ||
|
|
a8bd6c4072 | ||
|
|
00f6de5fc7 | ||
|
|
a4aaf6eae0 | ||
|
|
d09d3a7fa0 | ||
|
|
8554be9f82 | ||
|
|
d5fec33bd5 | ||
|
|
f937bbb716 | ||
|
|
be95978f3c | ||
|
|
6714d79a22 | ||
|
|
459f7302df | ||
|
|
48d5bebe76 | ||
|
|
205c528304 | ||
|
|
4c0aacbc31 | ||
|
|
dff77face5 | ||
|
|
0437372820 | ||
|
|
0d0fcfa443 | ||
|
|
e7a64ddcbc | ||
|
|
c04fa8fad0 | ||
|
|
b6ea64aec8 | ||
|
|
86666f3a21 | ||
|
|
bdadcf593d | ||
|
|
abb825bd6b | ||
|
|
7e48c82430 | ||
|
|
c60a54ff8b | ||
|
|
31bd2b46a8 | ||
|
|
dd24d95a76 | ||
|
|
d48436c2bf | ||
|
|
a4e5ee245e | ||
|
|
11c619058e | ||
|
|
e2bb446ff5 | ||
|
|
bf899e50d8 | ||
|
|
3e254b82c7 | ||
|
|
bab4a2fd37 | ||
|
|
08151c6aec | ||
|
|
583f59702b | ||
|
|
0c514410ed | ||
|
|
bb98e425f8 | ||
|
|
027e0765b5 | ||
|
|
dd9b085daf | ||
|
|
c270b4a4c0 | ||
|
|
c23236d387 | ||
|
|
c1d1879aba | ||
|
|
ef9eebf65f | ||
|
|
fa3fbeb1bf | ||
|
|
4c0fdc6730 | ||
|
|
f8c4e51d40 | ||
|
|
4b72b54fd3 |
+1
-1
@@ -179,8 +179,8 @@ sheevaplug_defconfig: *defconfig
|
||||
snps_aarch64_vdk_defconfig: *defconfig
|
||||
snps_arc700_axs101_defconfig: *defconfig
|
||||
snps_archs38_axs103_defconfig: *defconfig
|
||||
snps_archs38_haps_defconfig: *defconfig
|
||||
snps_archs38_vdk_defconfig: *defconfig
|
||||
snps_archs38_zebu_defconfig: *defconfig
|
||||
stm32f429_disco_defconfig: *defconfig
|
||||
stm32f469_disco_defconfig: *defconfig
|
||||
telit_evk_pro3_defconfig: *defconfig
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
2017.05-rc2, Released May 17th, 2017
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
ARC toolchain bumped to 2017.03-rc2
|
||||
|
||||
Updated/fixed packages: bluez_utils, boost, clamav, daemon,
|
||||
efibootmgr, efl, espeak, expedite, faketime, ffmpeg, fxload,
|
||||
git, gpsd, kvm-unit-tests, libcdio, libv4l, lua, mke2img,
|
||||
mpir, mpv, odroid-scripts, openblas, opencv3, openvpn, php,
|
||||
postgresql, protobuf, qt5declarative, qwt, radvd, rpcbind,
|
||||
rtmpdump, strongswan, sudo, ltp-testsuite, uclibc-ng-test,
|
||||
vlc, x11vnc, xfsprogs
|
||||
|
||||
Issues resolved (http://bugs.buildroot.org):
|
||||
|
||||
#9796: source-check broken for Git downloads
|
||||
#9866: BASE_DIR usage
|
||||
|
||||
2017.05-rc1, Released May 8th, 2017
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
+10
@@ -1070,22 +1070,32 @@ F: package/ts4900-fpga/
|
||||
|
||||
N: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
F: package/bc/
|
||||
F: package/checkpolicy/
|
||||
F: package/cgroupfs-mount/
|
||||
F: package/eigen/
|
||||
F: package/fmc/
|
||||
F: package/fmlib/
|
||||
F: package/igmpproxy/
|
||||
F: package/iputils/
|
||||
F: package/libcsv/
|
||||
F: package/libselinux/
|
||||
F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/libqmi/
|
||||
F: package/nginx-upload/
|
||||
F: package/omniorb/
|
||||
F: package/policycoreutils/
|
||||
F: package/python-ipy/
|
||||
F: package/python-posix-ipc/
|
||||
F: package/python-pypcap/
|
||||
F: package/python-pyrex/
|
||||
F: package/raptor/
|
||||
F: package/sepolgen/
|
||||
F: package/setools/
|
||||
F: package/simicsfs/
|
||||
F: package/smcroute/
|
||||
F: package/tclap/
|
||||
F: package/valijson/
|
||||
|
||||
N: Mauro Condarelli <mc5686@mclink.it>
|
||||
F: package/mc/
|
||||
|
||||
@@ -86,9 +86,9 @@ else # umask / $(CURDIR) / $(O)
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2017.05-rc1
|
||||
export BR2_VERSION := 2017.05-rc2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1494230000
|
||||
BR2_VERSION_EPOCH = 1495000000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -42,37 +42,37 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2017.05-rc1</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2017.05-rc2</b></h3>
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2017.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2017.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2017.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2017.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2017.05-rc1.tar.gz">buildroot-2017.05-rc1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2017.05-rc1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2017.05-rc2.tar.gz">buildroot-2017.05-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2017.05-rc2.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2017.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2017.05-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2017.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2017.05-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2017.05-rc1.tar.bz2">buildroot-2017.05-rc1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2017.05-rc1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2017.05-rc2.tar.bz2">buildroot-2017.05-rc2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2017.05-rc2.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,6 +9,28 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2017.05-rc2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>17 May 2017</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>Another week, another release candidate with more cleanups
|
||||
and build fixes. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2017.05-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-2017.05-rc2.tar.bz2">2017.05-rc2
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.org">bug tracker</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "Latest version (4.11)"
|
||||
bool "Latest version (4.11.1)"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
bool "Latest CIP SLTS version (v4.4.55-cip3)"
|
||||
@@ -116,7 +116,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "4.11" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.11.1" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "v4.4.55-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
@@ -23,7 +23,7 @@ endchoice
|
||||
|
||||
config BR2_BINUTILS_VERSION
|
||||
string
|
||||
default "arc-2017.03-rc1" if BR2_arc
|
||||
default "arc-2017.03-rc2" if BR2_arc
|
||||
default "2.26.1" if BR2_BINUTILS_VERSION_2_26_X
|
||||
default "2.27" if BR2_BINUTILS_VERSION_2_27_X
|
||||
default "2.28" if BR2_BINUTILS_VERSION_2_28_X
|
||||
|
||||
@@ -4,4 +4,4 @@ sha512 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12c
|
||||
sha512 ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd binutils-2.28.tar.bz2
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 536d252a4dae94803eb95a400e16d43c8e709276e3baed1d0c07fd764b2457b7845a0b3de9c78ab10211ab7e18a49c3a988570fc434357a72aac05cee9ca6beb binutils-arc-2017.03-rc1.tar.gz
|
||||
sha512 577fbd59dc8d41022ed511b86f3afc49af48ab798a7b187411a466621dc6247dff7dd84fa110ca278f09a9e523d8bdb892a233c00bf47d11b92be70e7278efe9 binutils-arc-2017.03-rc2.tar.gz
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
||||
ifeq ($(BINUTILS_VERSION),)
|
||||
ifeq ($(BR2_arc),y)
|
||||
BINUTILS_VERSION = arc-2017.03-rc1
|
||||
BINUTILS_VERSION = arc-2017.03-rc2
|
||||
else
|
||||
BINUTILS_VERSION = 2.27
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From d3c098c2fde55ddf0c7d56eae56925103d35da73 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@gmail.com>
|
||||
Date: Sat, 13 May 2017 18:56:51 +0200
|
||||
Subject: [PATCH] test: add missing header
|
||||
|
||||
test/attest.c: In function 'at_command':
|
||||
test/attest.c:43:2: error: unknown type name 'fd_set'
|
||||
fd_set rfds;
|
||||
^
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
test/attest.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/test/attest.c b/test/attest.c
|
||||
index 12ba682..2626cf1 100644
|
||||
--- a/test/attest.c
|
||||
+++ b/test/attest.c
|
||||
@@ -35,6 +35,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
+#include <sys/select.h>
|
||||
+
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/rfcomm.h>
|
||||
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
From d8056252d0c99bfb2482f0a420dcf9a36019ddf8 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@gmail.com>
|
||||
Date: Sat, 13 May 2017 18:58:51 +0200
|
||||
Subject: [PATCH] test: avoid conflict with encrypt function
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
With a musl based toolchain:
|
||||
|
||||
test/l2test.c:110:12: error: ‘encrypt’ redeclared as different kind of symbol
|
||||
static int encrypt = 0;
|
||||
^
|
||||
In file included from test/l2test.c:34:0:
|
||||
[...]/sysroot/usr/include/unistd.h:145:6: note: previous declaration of ‘encrypt’ was here
|
||||
void encrypt(char *, int);
|
||||
^
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
test/l2test.c | 8 ++++----
|
||||
test/rctest.c | 8 ++++----
|
||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/test/l2test.c b/test/l2test.c
|
||||
index f66486d..9ef6faf 100644
|
||||
--- a/test/l2test.c
|
||||
+++ b/test/l2test.c
|
||||
@@ -107,7 +107,7 @@ static char *filename = NULL;
|
||||
static int rfcmode = 0;
|
||||
static int master = 0;
|
||||
static int auth = 0;
|
||||
-static int encrypt = 0;
|
||||
+static int _encrypt = 0;
|
||||
static int secure = 0;
|
||||
static int socktype = SOCK_SEQPACKET;
|
||||
static int linger = 0;
|
||||
@@ -340,7 +340,7 @@ static int do_connect(char *svr)
|
||||
opt |= L2CAP_LM_MASTER;
|
||||
if (auth)
|
||||
opt |= L2CAP_LM_AUTH;
|
||||
- if (encrypt)
|
||||
+ if (_encrypt)
|
||||
opt |= L2CAP_LM_ENCRYPT;
|
||||
if (secure)
|
||||
opt |= L2CAP_LM_SECURE;
|
||||
@@ -475,7 +475,7 @@ static void do_listen(void (*handler)(int sk))
|
||||
opt |= L2CAP_LM_MASTER;
|
||||
if (auth)
|
||||
opt |= L2CAP_LM_AUTH;
|
||||
- if (encrypt)
|
||||
+ if (_encrypt)
|
||||
opt |= L2CAP_LM_ENCRYPT;
|
||||
if (secure)
|
||||
opt |= L2CAP_LM_SECURE;
|
||||
@@ -1407,7 +1407,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'E':
|
||||
- encrypt = 1;
|
||||
+ _encrypt = 1;
|
||||
break;
|
||||
|
||||
case 'S':
|
||||
diff --git a/test/rctest.c b/test/rctest.c
|
||||
index 4d7c90a..7ad5a0b 100644
|
||||
--- a/test/rctest.c
|
||||
+++ b/test/rctest.c
|
||||
@@ -79,7 +79,7 @@ static char *filename = NULL;
|
||||
|
||||
static int master = 0;
|
||||
static int auth = 0;
|
||||
-static int encrypt = 0;
|
||||
+static int _encrypt = 0;
|
||||
static int secure = 0;
|
||||
static int socktype = SOCK_STREAM;
|
||||
static int linger = 0;
|
||||
@@ -200,7 +200,7 @@ static int do_connect(const char *svr)
|
||||
opt |= RFCOMM_LM_MASTER;
|
||||
if (auth)
|
||||
opt |= RFCOMM_LM_AUTH;
|
||||
- if (encrypt)
|
||||
+ if (_encrypt)
|
||||
opt |= RFCOMM_LM_ENCRYPT;
|
||||
if (secure)
|
||||
opt |= RFCOMM_LM_SECURE;
|
||||
@@ -291,7 +291,7 @@ static void do_listen(void (*handler)(int sk))
|
||||
opt |= RFCOMM_LM_MASTER;
|
||||
if (auth)
|
||||
opt |= RFCOMM_LM_AUTH;
|
||||
- if (encrypt)
|
||||
+ if (_encrypt)
|
||||
opt |= RFCOMM_LM_ENCRYPT;
|
||||
if (secure)
|
||||
opt |= RFCOMM_LM_SECURE;
|
||||
@@ -701,7 +701,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'E':
|
||||
- encrypt = 1;
|
||||
+ _encrypt = 1;
|
||||
break;
|
||||
|
||||
case 'S':
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_BLUEZ_UTILS
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
|
||||
depends on BR2_USE_MMU # dbus, libglib2
|
||||
select BR2_PACKAGE_CHECK
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
|
||||
@@ -8,7 +8,7 @@ BLUEZ_UTILS_VERSION = 4.101
|
||||
BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.xz
|
||||
BLUEZ_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ_UTILS_INSTALL_STAGING = YES
|
||||
BLUEZ_UTILS_DEPENDENCIES = dbus libglib2
|
||||
BLUEZ_UTILS_DEPENDENCIES = host-pkgconf check dbus libglib2
|
||||
BLUEZ_UTILS_CONF_OPTS = --enable-test --enable-tools
|
||||
BLUEZ_UTILS_AUTORECONF = YES
|
||||
BLUEZ_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
|
||||
@@ -98,8 +98,21 @@ config BR2_PACKAGE_BOOST_IOSTREAMS
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOCALE
|
||||
bool "boost-locale"
|
||||
# When boost-locale is enabled with icu support, Boost no
|
||||
# longer supports building the libboost_* libraries as static
|
||||
# libraries, causing build failures when other boost features
|
||||
# than boost-locale are enabled. To work around this, we
|
||||
# prevent using boost-locale on static linking configurations
|
||||
# with icu enabled. See
|
||||
# https://svn.boost.org/trac/boost/ticket/9685 for more
|
||||
# details.
|
||||
depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
|
||||
comment "boost-locale needs a toolchain w/ dynamic library"
|
||||
depends on BR2_PACKAGE_ICU
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOG
|
||||
bool "boost-log"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
@@ -14,6 +14,7 @@ define DAEMON_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define DAEMON_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) ready
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 3f260491e2c62e93cb6347ea6f21aaa5f93152e9e7f0269d314623769d82e473 efibootmgr-14.tar.gz
|
||||
sha256 8e91f16927d296ffebd4f7fafda2f84c0f6201aba089a35e8090abd5aacdc58e 3466fd05c8c6f1052e0426d64eed40f8a88fd78f.patch
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
|
||||
EFIBOOTMGR_VERSION = 14
|
||||
EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION))
|
||||
# Patch fixes the build with gcc 6.x.
|
||||
EFIBOOTMGR_PATCH = \
|
||||
https://github.com/rhinstaller/efibootmgr/commit/3466fd05c8c6f1052e0426d64eed40f8a88fd78f.patch
|
||||
EFIBOOTMGR_LICENSE = GPL-2.0+
|
||||
EFIBOOTMGR_LICENSE_FILES = COPYING
|
||||
EFIBOOTMGR_DEPENDENCIES = efivar $(if $(BR2_NEEDS_GETTEXT),gettext)
|
||||
|
||||
+10
-6
@@ -178,13 +178,15 @@ config BR2_PACKAGE_EFL_WAYLAND
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine
|
||||
depends on BR2_PACKAGE_EFL_EEZE # efl drm
|
||||
depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
|
||||
depends on BR2_ENABLE_LOCALE # efl-drm <- efl-elput <- linput
|
||||
select BR2_PACKAGE_EFL_DRM
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
|
||||
comment "Wayland support needs udev /dev management (eeze) and OpenGL ES w/ EGL, threads"
|
||||
comment "Wayland support needs udev /dev management (eeze), OpenGL ES w/ EGL, threads, locales"
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
|
||||
|| !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_EFL_EEZE
|
||||
|| !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_EFL_EEZE \
|
||||
|| !BR2_ENABLE_LOCALE
|
||||
|
||||
choice
|
||||
bool "OpenGL support"
|
||||
@@ -216,6 +218,7 @@ endchoice # OpenGL support
|
||||
|
||||
config BR2_PACKAGE_EFL_ELPUT
|
||||
bool "Elput"
|
||||
depends on BR2_ENABLE_LOCALE # libinput
|
||||
depends on BR2_PACKAGE_EFL_EEZE
|
||||
select BR2_PACKAGE_LIBINPUT
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
@@ -226,23 +229,24 @@ config BR2_PACKAGE_EFL_ELPUT
|
||||
libinput without having to duplicate the code in each
|
||||
subsystem.
|
||||
|
||||
comment "Elput support needs udev /dev management (eeze)"
|
||||
depends on !BR2_PACKAGE_EFL_EEZE
|
||||
comment "Elput support needs udev /dev management (eeze), locales"
|
||||
depends on !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE
|
||||
|
||||
config BR2_PACKAGE_EFL_DRM
|
||||
bool "Evas DRM Engine"
|
||||
depends on BR2_PACKAGE_EFL_EEZE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d
|
||||
depends on BR2_ENABLE_LOCALE # efl-elput <- libinput
|
||||
select BR2_PACKAGE_EFL_ELPUT
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
help
|
||||
This option enable building support for the Evas DRM Engine.
|
||||
|
||||
comment "Evas DRM Engine needs udev /dev management (eeze) and mesa3d w/ EGL support, threads"
|
||||
comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads, locales"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
|
||||
|| !BR2_PACKAGE_EFL_EEZE
|
||||
|| !BR2_PACKAGE_EFL_EEZE || !BR2_ENABLE_LOCALE
|
||||
|
||||
comment "libevas loaders"
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_NONE
|
||||
|
||||
config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
|
||||
bool "alsa via portaudio"
|
||||
# Selecting portaudio generates spurious "unmet dependencies"
|
||||
# warnings. Unless you are changing the dependencies of espeak
|
||||
# or portaudio, just ignore those spurious warnings.
|
||||
select BR2_PACKAGE_PORTAUDIO
|
||||
select BR2_PACKAGE_PORTAUDIO_CXX
|
||||
|
||||
|
||||
@@ -1,289 +0,0 @@
|
||||
From 01a29e6a1d2ed083d1a1884dbca37ae518f354c7 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@gmail.com>
|
||||
Date: Sun, 30 Apr 2017 12:07:02 +0200
|
||||
Subject: [PATCH] fix build failure with gcc < 5
|
||||
|
||||
Definition of variables inside the initialization part of for() loops
|
||||
was added by [1] and produce some build failure with "old" gcc version
|
||||
(gcc < 5).
|
||||
|
||||
This way of writing for loop is not consistent with the rest of the
|
||||
code. So revert to the C89 for loop syntax.
|
||||
|
||||
Reported upstream:
|
||||
https://phab.enlightenment.org/T5440
|
||||
|
||||
[1] https://git.enlightenment.org/tools/expedite.git/commit/?id=0529ce56b6fb01e9651e76461e9608e15a040fb3
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/930/930796603d37bc309a591eec68037192c51028ce
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
src/bin/image_data_argb.c | 9 ++++++---
|
||||
src/bin/image_data_argb_alpha.c | 6 ++++--
|
||||
src/bin/image_data_ycbcr601pl.c | 12 ++++++++----
|
||||
.../image_data_ycbcr601pl_map_nearest_solid_rotate.c | 12 ++++++++----
|
||||
src/bin/image_data_ycbcr601pl_map_solid_rotate.c | 12 ++++++++----
|
||||
src/bin/image_data_ycbcr601pl_wide_stride.c | 17 +++++++++++------
|
||||
6 files changed, 45 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c
|
||||
index d5889ce..9c607b2 100644
|
||||
--- a/src/bin/image_data_argb.c
|
||||
+++ b/src/bin/image_data_argb.c
|
||||
@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
|
||||
/* setup */
|
||||
static void _setup(void)
|
||||
{
|
||||
+ int i;
|
||||
Evas_Object *o;
|
||||
Eina_Slice sl;
|
||||
|
||||
sl.len = 640 * 480 * 4;
|
||||
sl.mem = malloc(sl.len);
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
@@ -42,7 +43,8 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
Evas_Object *o = o_images[i];
|
||||
Eina_Slice sl = {};
|
||||
@@ -56,7 +58,8 @@ static void _cleanup(void)
|
||||
/* loop - do things */
|
||||
static void _loop(double t, int f)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
Evas_Object *o = o_images[i];
|
||||
unsigned int *data, *p;
|
||||
diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
|
||||
index 79f4c54..ffbe57e 100644
|
||||
--- a/src/bin/image_data_argb_alpha.c
|
||||
+++ b/src/bin/image_data_argb_alpha.c
|
||||
@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
|
||||
/* setup */
|
||||
static void _setup(void)
|
||||
{
|
||||
+ int i;
|
||||
Evas_Object *o;
|
||||
Eina_Slice sl;
|
||||
|
||||
sl.len = 640 * 480 * 4;
|
||||
sl.mem = malloc(sl.len);
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
@@ -42,7 +43,8 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
Evas_Object *o = o_images[i];
|
||||
Eina_Slice sl = {};
|
||||
diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c
|
||||
index 032d5b3..e126e98 100644
|
||||
--- a/src/bin/image_data_ycbcr601pl.c
|
||||
+++ b/src/bin/image_data_ycbcr601pl.c
|
||||
@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
|
||||
/* setup */
|
||||
static void _setup(void)
|
||||
{
|
||||
+ int i;
|
||||
FILE *f;
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
|
||||
@@ -37,7 +39,7 @@ static void _setup(void)
|
||||
slice[2].len = 320 * 240;
|
||||
f = fopen(build_path("tp.yuv"), "rb");
|
||||
if (!f) continue;
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
slice[p].mem = malloc(slice[p].len);
|
||||
fread((void *) slice[p].mem, slice[p].len, 1, f);
|
||||
@@ -51,10 +53,12 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = o_images[i];
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
|
||||
free((void *) slice[p].mem);
|
||||
diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
|
||||
index 0a5bcf4..db52b0b 100644
|
||||
--- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
|
||||
+++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
|
||||
@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
|
||||
/* setup */
|
||||
static void _setup(void)
|
||||
{
|
||||
+ int i;
|
||||
FILE *f;
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
|
||||
@@ -37,7 +39,7 @@ static void _setup(void)
|
||||
slice[2].len = 320 * 240;
|
||||
f = fopen(build_path("tp.yuv"), "rb");
|
||||
if (!f) continue;
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
slice[p].mem = malloc(slice[p].len);
|
||||
fread((void *) slice[p].mem, slice[p].len, 1, f);
|
||||
@@ -51,10 +53,12 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = o_images[i];
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
|
||||
free((void *) slice[p].mem);
|
||||
diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
|
||||
index 355293f..ac4364d 100644
|
||||
--- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
|
||||
+++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
|
||||
@@ -22,8 +22,10 @@ static Eina_Slice slice[3];
|
||||
static void _setup(void)
|
||||
{
|
||||
FILE *f;
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
|
||||
@@ -37,7 +39,7 @@ static void _setup(void)
|
||||
slice[2].len = 320 * 240;
|
||||
f = fopen(build_path("tp.yuv"), "rb");
|
||||
if (!f) continue;
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
slice[p].mem = malloc(slice[p].len);
|
||||
fread((void *) slice[p].mem, slice[p].len, 1, f);
|
||||
@@ -51,10 +53,12 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = o_images[i];
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
|
||||
free((void *) slice[p].mem);
|
||||
diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c
|
||||
index d4e8fa2..9adb62f 100644
|
||||
--- a/src/bin/image_data_ycbcr601pl_wide_stride.c
|
||||
+++ b/src/bin/image_data_ycbcr601pl_wide_stride.c
|
||||
@@ -21,11 +21,13 @@ static Eina_Slice slice[3];
|
||||
/* setup */
|
||||
static void _setup(void)
|
||||
{
|
||||
+ int i;
|
||||
int stride;
|
||||
FILE *f;
|
||||
int w = 320 - 16;
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
|
||||
@@ -41,7 +43,7 @@ static void _setup(void)
|
||||
f = fopen(build_path("tp.yuv"), "rb");
|
||||
if (!f) continue;
|
||||
stride = 640;
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
slice[p].mem = malloc(slice[p].len);
|
||||
fread((void *) slice[p].mem, slice[p].len, 1, f);
|
||||
@@ -57,10 +59,12 @@ static void _setup(void)
|
||||
/* cleanup */
|
||||
static void _cleanup(void)
|
||||
{
|
||||
- for (int i = 0; i < 1; i++)
|
||||
+ int i;
|
||||
+ for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = o_images[i];
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0,
|
||||
EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
|
||||
@@ -77,11 +81,12 @@ static void _loop(double t, int f)
|
||||
Evas_Coord x, y, w, h;
|
||||
for (i = 0; i < 1; i++)
|
||||
{
|
||||
+ int p;
|
||||
Evas_Object *o = o_images[i];
|
||||
Eina_Slice sl[3];
|
||||
int stride;
|
||||
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
efl_gfx_buffer_managed_get(o, &sl[p], p);
|
||||
|
||||
w = 640;
|
||||
@@ -97,7 +102,7 @@ static void _loop(double t, int f)
|
||||
if (w > 640) w = 320;
|
||||
|
||||
stride = 640;
|
||||
- for (int p = 0; p < 3; p++)
|
||||
+ for (p = 0; p < 3; p++)
|
||||
{
|
||||
efl_gfx_buffer_managed_set(o, &sl[p], w, 480, stride,
|
||||
EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# locally computed
|
||||
sha256 007e382861555f1023b679e21ff44122b0622c514ce8ef9d7c390b9ac1511009 expedite-0529ce56b6fb01e9651e76461e9608e15a040fb3.tar.gz
|
||||
sha256 56e1dbd9826d932f0ef72a10dfdf32b6e0f680ab6830f8a8cfc60644ac69dbf1 expedite-e7b11dd328d9db82b49cde795944a721beaf0112.tar.gz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXPEDITE_VERSION = 0529ce56b6fb01e9651e76461e9608e15a040fb3
|
||||
EXPEDITE_VERSION = e7b11dd328d9db82b49cde795944a721beaf0112
|
||||
EXPEDITE_SITE = http://git.enlightenment.org/tools/expedite.git
|
||||
EXPEDITE_SITE_METHOD = git
|
||||
EXPEDITE_LICENSE = BSD-2-Clause
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From e85a157b51b1276c91c736d8624d9f3e876e9189 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Rammhold <andreas@rammhold.de>
|
||||
Date: Tue, 20 Dec 2016 19:25:32 +0100
|
||||
Subject: [PATCH] Disable the non-null compare warning/error.
|
||||
|
||||
We rely on the provided local library definitions for the hooked
|
||||
functions which in some cases (GCC >6) carry a non-null-attribute flag
|
||||
which causes compile errors on `!= NULL` checks.
|
||||
|
||||
[Romain: rebase on 0.9.6]
|
||||
(cherry picked from commit 47e958b753fc15098a2b7d0e9ef26b83ee255874)
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
src/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 51634b0..bbbd476 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -67,7 +67,7 @@ INSTALL ?= install
|
||||
PREFIX ?= /usr/local
|
||||
LIBDIRNAME ?= /lib/faketime
|
||||
|
||||
-CFLAGS += -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"'
|
||||
+CFLAGS += -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"'
|
||||
LIB_LDFLAGS += -shared
|
||||
LDFLAGS += -Wl,--version-script=libfaketime.map -lpthread
|
||||
LDADD += -ldl -lm -lrt
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 599e7f7c017221c22011c4037b88bdcd1c47cd40c1e466838bc3c465f3e9569d ffmpeg-3.3.tar.xz
|
||||
sha256 b702a7fc656ac23e276b8c823a2f646e4e6f6309bb2788435a708e69bea98f2f ffmpeg-3.3.1.tar.xz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FFMPEG_VERSION = 3.3
|
||||
FFMPEG_VERSION = 3.3.1
|
||||
FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz
|
||||
FFMPEG_SITE = http://ffmpeg.org/releases
|
||||
FFMPEG_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
config BR2_PACKAGE_FXLOAD
|
||||
bool "fxload"
|
||||
# Hits gcc PR63261 on Microblaze with debugging symbols
|
||||
# enabled. Since this package is unlikely to be useful on
|
||||
# Microblaze, just disable it on this architecture.
|
||||
depends on !BR2_microblaze
|
||||
help
|
||||
This program is conveniently able to download firmware into FX, FX2,
|
||||
and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB.
|
||||
|
||||
@@ -106,7 +106,7 @@ config BR2_GCC_VERSION
|
||||
default "4.9.4" if BR2_GCC_VERSION_4_9_X
|
||||
default "5.4.0" if BR2_GCC_VERSION_5_X
|
||||
default "6.3.0" if BR2_GCC_VERSION_6_X
|
||||
default "arc-2017.03-rc1" if BR2_GCC_VERSION_ARC
|
||||
default "arc-2017.03-rc2" if BR2_GCC_VERSION_ARC
|
||||
default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
|
||||
|
||||
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
||||
|
||||
-34
@@ -1,34 +0,0 @@
|
||||
From 4c6367c99461fdd7bd5613483f2582d7f08fba87 Mon Sep 17 00:00:00 2001
|
||||
From: Vlad Zakharov <vzakhar@synopsys.com>
|
||||
Date: Tue, 28 Feb 2017 17:41:11 +0300
|
||||
Subject: [PATCH] arc: define _REENTRANT when -pthread is passed
|
||||
|
||||
The compiler is supposed to have the builtin defined _REENTRANT defined
|
||||
when -pthread is passed, which wasn't done on the ARC architecture.
|
||||
|
||||
When _REENTRANT is not passed, the C library will not use reentrant
|
||||
functions, and the latest version of ax_pthread.m4 from the
|
||||
autoconf-archive will no longer detect that thread support is
|
||||
available (see https://savannah.gnu.org/patch/?8186).
|
||||
|
||||
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
gcc/config/arc/arc.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
|
||||
index 611ef54..fdd4b5d 100644
|
||||
--- a/gcc/config/arc/arc.h
|
||||
+++ b/gcc/config/arc/arc.h
|
||||
@@ -93,6 +93,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
%{mdsp-packa:-D__Xdsp_packa} %{mcrc:-D__Xcrc} %{mdvbf:-D__Xdvbf} \
|
||||
%{mtelephony:-D__Xtelephony} %{mxy:-D__Xxy} %{mmul64: -D__Xmult32} \
|
||||
%{mlock:-D__Xlock} %{mswape:-D__Xswape} %{mrtsc:-D__Xrtsc} \
|
||||
+%{pthread:-D_REENTRANT} \
|
||||
%{mcpu=nps400:-D__NPS400__}"
|
||||
|
||||
#define CC1_SPEC "\
|
||||
--
|
||||
2.7.4
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
From 139fed9d29ab935b3bc5159c0bdf7b8b8a39442d Mon Sep 17 00:00:00 2001
|
||||
From: Claudiu Zissulescu <claziss@gmail.com>
|
||||
Date: Mon, 15 May 2017 05:05:27 -0400
|
||||
Subject: [PATCH] [FIX] PIC: return false for any PIC related unspecs
|
||||
|
||||
---
|
||||
gcc/config/arc/arc.c | 9 ++++-----
|
||||
gcc/testsuite/gcc.target/arc/pr9001191897.c | 10 ++++++++++
|
||||
2 files changed, 14 insertions(+), 5 deletions(-)
|
||||
create mode 100644 gcc/testsuite/gcc.target/arc/pr9001191897.c
|
||||
|
||||
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
|
||||
index 3d53a667d37f..b00126f4d2c4 100644
|
||||
--- a/gcc/config/arc/arc.c
|
||||
+++ b/gcc/config/arc/arc.c
|
||||
@@ -6056,11 +6056,8 @@ arc_legitimate_constant_p (machine_mode mode, rtx x)
|
||||
return true;
|
||||
|
||||
case NEG:
|
||||
- /* Assembler does not understand -(@label@gotoff). Also, we do
|
||||
- not print such pic address constant. */
|
||||
- if (GET_CODE (XEXP (x, 0)) == UNSPEC)
|
||||
- return false;
|
||||
return arc_legitimate_constant_p (mode, XEXP (x, 0));
|
||||
+
|
||||
case PLUS:
|
||||
case MINUS:
|
||||
{
|
||||
@@ -6090,7 +6087,9 @@ arc_legitimate_constant_p (machine_mode mode, rtx x)
|
||||
case UNSPEC_TLS_IE:
|
||||
return true;
|
||||
default:
|
||||
- break;
|
||||
+ /* Any other unspec ending here are pic related, hence the above
|
||||
+ constant pic address checking returned false. */
|
||||
+ return false;
|
||||
}
|
||||
/* Fall through. */
|
||||
|
||||
diff --git a/gcc/testsuite/gcc.target/arc/pr9001191897.c b/gcc/testsuite/gcc.target/arc/pr9001191897.c
|
||||
new file mode 100644
|
||||
index 000000000000..2b9e1689803f
|
||||
--- /dev/null
|
||||
+++ b/gcc/testsuite/gcc.target/arc/pr9001191897.c
|
||||
@@ -0,0 +1,10 @@
|
||||
+/* { dg-do compile } */
|
||||
+/* { dg-skip-if "" { ! { clmcpu } } } */
|
||||
+/* { dg-options "-mcpu=arch2 -Os -fpic -mno-sdata -mno-indexed-loads -w" } */
|
||||
+a;
|
||||
+c() {
|
||||
+ static char b[25];
|
||||
+ for (; a >= 0; a--)
|
||||
+ if (b[a])
|
||||
+ b[a] = '\0';
|
||||
+}
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -12,6 +12,6 @@ sha512 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d
|
||||
sha512 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78 gcc-6.3.0.tar.bz2
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 e4fe5a179b8feabf932a8a6f4794ff6907b868a65487412d855a4b3671aa24ec8544a44f3b63e69ea2c12fcd4d8028d0619d40bf016ee7c1a5b5a99aa9315ef3 gcc-arc-2017.03-rc1.tar.gz
|
||||
sha512 8157d784367de2de853f7d288a213ee3222ac77321d18a887cd5a9c55b53f5948cc8608ec82398cb7e0a155ffa79f86f6469a23b505b22cd0eb5b69d610abd41 gcc-arc-2017.03-rc2.tar.gz
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
|
||||
|
||||
@@ -55,7 +55,7 @@ endif
|
||||
# If cross-gdb is not enabled, the latest working version is chosen.
|
||||
config BR2_GDB_VERSION
|
||||
string
|
||||
default "arc-2017.03-rc1-gdb" if BR2_arc
|
||||
default "arc-2017.03-rc2-gdb" if BR2_arc
|
||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||
default "7.10.1" if BR2_GDB_VERSION_7_10
|
||||
default "7.11.1" if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB
|
||||
|
||||
@@ -5,4 +5,4 @@ sha512 0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 0a467091d4b01fbecabb4b8da1cb743025c70e7f4874a0b5c8fa2ec623569a39bde6762b91806de0be6e63711aeb6909715cfbe43860de73d8aec6159a9f10a7 gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
|
||||
sha512 0bd0ec8169ee059493675db59170f09a6c16d12408a426d6f07892a72d43b73e3ef0059ea409e9fb72998da6cb762d336b852d2e13e2817a0a0fe976e20803bd gdb-arc-2017.03-rc1-gdb.tar.gz
|
||||
sha512 275241c215d0bd32ab0f9f16358c46a66fd0d5db09d9a148b169a6b8135cfe91c6240a6bb75977573d4fc449a98f0702254577cbdc4598c6153ebbdca39253cf gdb-arc-2017.03-rc2-gdb.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From: https://www.kernel.org/pub/software/scm/git/sha256sums.asc
|
||||
sha256 d21a9e23506e618d561fb25a8a7bd6134f927b86147930103487117a7a678c4a git-2.12.2.tar.xz
|
||||
sha256 016124c54ce2db7a4c2bd26b0de21fbf8f6bcaee04842aa221c7243141df4e42 git-2.12.3.tar.xz
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GIT_VERSION = 2.12.2
|
||||
GIT_VERSION = 2.12.3
|
||||
GIT_SOURCE = git-$(GIT_VERSION).tar.xz
|
||||
GIT_SITE = https://www.kernel.org/pub/software/scm/git
|
||||
GIT_LICENSE = GPL-2.0, LGPL-2.1+
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 777cb3737ae85b13642fff48eabb601c4d40f527 Mon Sep 17 00:00:00 2001
|
||||
From: James Knight <james.d.knight@live.com>
|
||||
Date: Tue, 16 Feb 2016 23:51:08 -0500
|
||||
Subject: [PATCH] do not interact with systemctl when cross-compiling
|
||||
|
||||
The installation process for GPSd on a systemd environment will attempt
|
||||
to reload systemd's manager configuration (systemctl daemon-reload).
|
||||
This is to allow the system to take advantage of the newly installed
|
||||
GPSd services. When cross-compiling, the installation process should not
|
||||
attempt to interact with the build environment's systemd instance (if
|
||||
any). The following change checks if the build is not cross compiling
|
||||
(via 'not env["sysroot"]') before attempting to do a systemd reload.
|
||||
|
||||
Signed-off-by: James Knight <james.d.knight@live.com>
|
||||
[yann.morin.1998@free.fr: tweak to apply on 3.16]
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
SConstruct | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/SConstruct b/SConstruct
|
||||
index c3bfd0d1..97c1b3a9 100644
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -1909,10 +1909,12 @@ udev_install = Utility('udev-install', 'install', [
|
||||
] + hotplug_wrapper_install)
|
||||
|
||||
if env['systemd']:
|
||||
+ env.Requires(udev_install, systemd_install)
|
||||
+
|
||||
+if env['systemd'] and not env["sysroot"]:
|
||||
systemctl_daemon_reload = Utility('systemctl-daemon-reload', '', [ 'systemctl daemon-reload || true'])
|
||||
env.AlwaysBuild(systemctl_daemon_reload)
|
||||
env.Precious(systemctl_daemon_reload)
|
||||
- env.Requires(udev_install, systemd_install)
|
||||
env.Requires(systemctl_daemon_reload, systemd_install)
|
||||
env.Requires(udev_install, systemctl_daemon_reload)
|
||||
|
||||
--
|
||||
2.11.0
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
From 022ae220d6e7b5bd064bc8698c271dca4dac7d8c Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Mon, 8 May 2017 22:27:25 +0200
|
||||
Subject: [PATCH] x86/hyperv_clock: be explicit about mul instruction data size
|
||||
|
||||
With gcc 4.7.2, the build fails with:
|
||||
|
||||
x86/hyperv_clock.c: Assembler messages:
|
||||
x86/hyperv_clock.c:21: Error: no instruction mnemonic suffix given and no register operands; can't size instruction
|
||||
|
||||
In order to avoid this, make the mul instruction data size explicit by
|
||||
adding the appropriate suffix. It operates on 64-bit data, so use
|
||||
"mulq".
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
x86/hyperv_clock.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/x86/hyperv_clock.c b/x86/hyperv_clock.c
|
||||
index 8b1deba..6c4dd56 100644
|
||||
--- a/x86/hyperv_clock.c
|
||||
+++ b/x86/hyperv_clock.c
|
||||
@@ -19,7 +19,7 @@ static inline u64 scale_delta(u64 delta, u64 mul_frac)
|
||||
u64 product, unused;
|
||||
|
||||
__asm__ (
|
||||
- "mul %3"
|
||||
+ "mulq %3"
|
||||
: "=d" (product), "=a" (unused) : "1" (delta), "rm" ((u64)mul_frac) );
|
||||
|
||||
return product;
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_LIBCDIO
|
||||
bool "libcdio"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# ARC toolchain issue
|
||||
depends on !BR2_arc
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
The GNU Compact Disc Input and Control library.
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 66d1d752976f4b45a5faff2bc68fc2fa9d435c71 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sun, 14 May 2017 22:04:55 +0200
|
||||
Subject: [PATCH] utils/qv4l2/Makefile.am: link with librt
|
||||
|
||||
qv4l2 uses clock_gettime(), so it should link with librt to be
|
||||
compatible with old versions of glibc.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
utils/qv4l2/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
|
||||
index fd58486..a991d66 100644
|
||||
--- a/utils/qv4l2/Makefile.am
|
||||
+++ b/utils/qv4l2/Makefile.am
|
||||
@@ -7,7 +7,7 @@ qv4l2_SOURCES = qv4l2.cpp general-tab.cpp ctrl-tab.cpp vbi-tab.cpp capture-win.c
|
||||
v4l2-tpg-core.c v4l2-tpg-colors.c
|
||||
nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc_vbi-tab.cpp qrc_qv4l2.cpp
|
||||
qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la \
|
||||
- ../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la
|
||||
+ ../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la -lrt
|
||||
qv4l2_CPPFLAGS = -I../common
|
||||
|
||||
if WITH_QTGL
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -11,6 +11,11 @@ LIBV4L_INSTALL_STAGING = YES
|
||||
LIBV4L_DEPENDENCIES = host-pkgconf
|
||||
LIBV4L_CONF_OPTS = --disable-doxygen-doc
|
||||
|
||||
# 0003-utils-qv4l2-Makefile.am-link-with-librt.patch, host-gettext
|
||||
# needed for autoreconf to work
|
||||
LIBV4L_AUTORECONF = YES
|
||||
LIBV4L_DEPENDENCIES += host-gettext
|
||||
|
||||
# fix uclibc-ng configure/compile
|
||||
LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
|
||||
|
||||
@@ -225,10 +225,10 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
default "3.2.88" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.4.113" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.10.105" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.12.73" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.12.74" if BR2_KERNEL_HEADERS_3_12
|
||||
default "4.1.39" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.4.66" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.26" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.10.14" if BR2_KERNEL_HEADERS_4_10
|
||||
default "4.11" if BR2_KERNEL_HEADERS_4_11
|
||||
default "4.4.68" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.28" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.10.16" if BR2_KERNEL_HEADERS_4_10
|
||||
default "4.11.1" if BR2_KERNEL_HEADERS_4_11
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -1,10 +1,24 @@
|
||||
config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
|
||||
bool
|
||||
# Needs __sync*() built-ins for 4-byte data, except on a few
|
||||
# architectures for which a specific implementation is
|
||||
# provided in ltp-testsuite
|
||||
default y if BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
default y if BR2_arc
|
||||
default y if BR2_i386
|
||||
default y if BR2_powerpc
|
||||
default y if BR2_powepc64
|
||||
default y if BR2_powerpc64le
|
||||
default y if BR2_x86_64
|
||||
# does not build on nios2, cachectl.h issue
|
||||
depends on !BR2_nios2
|
||||
|
||||
config BR2_PACKAGE_LTP_TESTSUITE
|
||||
bool "ltp-testsuite"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
# does not build, cachectl.h issue
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
help
|
||||
The Linux Test Project provides a huge testsuite for Linux.
|
||||
@@ -12,6 +26,6 @@ config BR2_PACKAGE_LTP_TESTSUITE
|
||||
http://linux-test-project.github.io
|
||||
|
||||
comment "ltp-testsuite needs a glibc or uClibc toolchain w/ NPTL"
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
@@ -68,4 +68,12 @@ endef
|
||||
LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_UNSUPPORTED
|
||||
endif
|
||||
|
||||
# ldd command build system tries to build a shared library unconditionally.
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
define LTP_TESTSUITE_REMOVE_LDD
|
||||
rm -rf $(@D)/testcases/commands/ldd
|
||||
endef
|
||||
LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_LDD
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -70,6 +70,7 @@ define LUA_BUILD_CMDS
|
||||
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \
|
||||
MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \
|
||||
MYLDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
BUILDMODE=$(LUA_BUILDMODE) \
|
||||
PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
|
||||
endef
|
||||
|
||||
@@ -44,6 +44,9 @@ main() {
|
||||
if [ -z "${image}" ]; then
|
||||
error "you must specify an output image file with '-o'\n"
|
||||
fi
|
||||
if [ -z "${nb_blocks}" ]; then
|
||||
error "you must specify the size of the output image with '-b'\n"
|
||||
fi
|
||||
case "${gen}:${rev}" in
|
||||
2:0|2:1|3:1|4:1)
|
||||
;;
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From d858ce52d1971cb4e8500b0ebc0472fdae4686ec Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sun, 7 May 2017 23:12:04 +0200
|
||||
Subject: [PATCH] mpn/arm/udiv.asm: workaround binutils bug #14887
|
||||
|
||||
Old binutils versions are affected by bug #14887,
|
||||
https://sourceware.org/bugzilla/show_bug.cgi?id=14887, which causes a
|
||||
build failure when a register specification is surrounded by
|
||||
whitespaces. Removing those whitespaces works around the issue.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
mpn/arm/udiv.asm | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/mpn/arm/udiv.asm b/mpn/arm/udiv.asm
|
||||
index 25197a6..ed11eb3 100644
|
||||
--- a/mpn/arm/udiv.asm
|
||||
+++ b/mpn/arm/udiv.asm
|
||||
@@ -50,7 +50,7 @@ L(oop): divstep(n1,n0,d)
|
||||
teq r12, #0
|
||||
bne L(oop)
|
||||
|
||||
- str n1, [ rem_ptr ] C store remainder
|
||||
+ str n1, [rem_ptr] C store remainder
|
||||
adc r0, n0, n0 C quotient: add last carry from divstep
|
||||
mov pc, lr
|
||||
|
||||
@@ -89,7 +89,7 @@ L(oop2):
|
||||
addcs n0, n0, #1 C adjust quotient
|
||||
|
||||
L(_even_divisor):
|
||||
- str n1, [ rem_ptr ] C store remainder
|
||||
+ str n1, [rem_ptr] C store remainder
|
||||
mov r0, n0 C quotient
|
||||
ldmfd sp!, { r8, pc }
|
||||
EPILOGUE(mpn_udiv_qrnnd)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -20,4 +20,20 @@ ifeq ($(BR2_MIPS_NABI64),y)
|
||||
MPIR_CONF_OPTS += ABI=64
|
||||
endif
|
||||
|
||||
# The optimized ARM assembly code uses ARM-only (i.e not Thumb1/2
|
||||
# compatible) instructions.
|
||||
ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
# Optimized mips32/mips64 code not suitable for mips32r6/mips64r6
|
||||
ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
# Optimized powerpc64 code is not suitable for powerpc64le
|
||||
ifeq ($(BR2_powerpc64le),y)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -12,6 +12,12 @@ config BR2_PACKAGE_MPV
|
||||
select BR2_PACKAGE_ZLIB
|
||||
# Select xkbcommon for wayland to avoid being mysterious
|
||||
select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
|
||||
# Select all necessary X11 dependencies if X.org is enabled
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
|
||||
help
|
||||
mpv is a fork of mplayer2 and MPlayer. It shares some features
|
||||
with the former projects while introducing many more.
|
||||
|
||||
+7
-26
@@ -173,7 +173,7 @@ endif
|
||||
# This requires one or more of the egl-drm, wayland, x11 backends
|
||||
# For now we support wayland and x11
|
||||
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
||||
ifneq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XLIB_LIBX11),)
|
||||
ifneq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XORG7),)
|
||||
MPV_CONF_OPTS += --enable-vaapi
|
||||
MPV_DEPENDENCIES += libva
|
||||
else
|
||||
@@ -191,31 +191,12 @@ else
|
||||
MPV_CONF_OPTS += --disable-wayland
|
||||
endif
|
||||
|
||||
# Base X11 support
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
MPV_CONF_OPTS += --enable-x11 --disable-xss
|
||||
MPV_DEPENDENCIES += xlib_libX11
|
||||
# xext
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
|
||||
MPV_CONF_OPTS += --enable-xext
|
||||
MPV_DEPENDENCIES += xlib_libXext
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-xext
|
||||
endif
|
||||
# xinerama
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
||||
MPV_CONF_OPTS += --enable-xinerama
|
||||
MPV_DEPENDENCIES += xlib_libXinerama
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-xinerama
|
||||
endif
|
||||
# xrandr
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
||||
MPV_CONF_OPTS += --enable-xrandr
|
||||
MPV_DEPENDENCIES += xlib_libXrandr
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-xrandr
|
||||
endif
|
||||
# Base X11 support. Config.in ensures that if BR2_PACKAGE_XORG7 is
|
||||
# enabled, xlib_libX11, xlib_libXext, xlib_libXinerama,
|
||||
# xlib_libXrandr, xlib_libXScrnSaver.
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
MPV_CONF_OPTS += --enable-x11
|
||||
MPV_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXinerama xlib_libXrandr xlib_libXScrnSaver
|
||||
# XVideo
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
|
||||
MPV_CONF_OPTS += --enable-xv
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_ODROID_SCRIPTS
|
||||
bool "odroid-scripts"
|
||||
depends on BR2_aarch64 || BR2_arm
|
||||
depends on BR2_aarch64 || BR2_arm || BR2_armeb
|
||||
select BR2_PACKAGE_FBSET # runtime
|
||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # needed for fbset
|
||||
help
|
||||
|
||||
@@ -31,7 +31,8 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
|
||||
default "SICORTEX" if BR2_MIPS_CPU_MIPS64
|
||||
# I6400 is built with MSA support which is only available in Codescape toolchains
|
||||
default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
|
||||
default "SPARC" if BR2_sparc
|
||||
# OpenBLAS assumes SPARC=Sparc v9
|
||||
default "SPARC" if BR2_sparc_v9
|
||||
# Cortex-A15 always have a VFPv4
|
||||
default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF)
|
||||
# Cortex-A9 have an optional VFPv3, so we need to make sure it
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -97,22 +97,8 @@ OPENCV3_CONF_OPTS += \
|
||||
#
|
||||
# * PowerPC support is turned off since its only effect is altering CFLAGS,
|
||||
# adding '-mcpu=G3 -mtune=G5' to them, which is already handled by Buildroot.
|
||||
# * fma3 and popcnt support is disabled because according to gcc manual [2], it
|
||||
# is only available on x86_64 haswell, broadwell and knl architecture.
|
||||
#
|
||||
# [2] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/x86-Options.html#x86-Options
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DENABLE_AVX=$(if $(BR2_X86_CPU_HAS_AVX),ON,OFF) \
|
||||
-DENABLE_AVX2=$(if $(BR2_X86_CPU_HAS_AVX2),ON,OFF) \
|
||||
-DENABLE_FMA3=OFF \
|
||||
-DENABLE_POPCNT=OFF \
|
||||
-DENABLE_POWERPC=OFF \
|
||||
-DENABLE_SSE=$(if $(BR2_X86_CPU_HAS_SSE),ON,OFF) \
|
||||
-DENABLE_SSE2=$(if $(BR2_X86_CPU_HAS_SSE2),ON,OFF) \
|
||||
-DENABLE_SSE3=$(if $(BR2_X86_CPU_HAS_SSE3),ON,OFF) \
|
||||
-DENABLE_SSE41=$(if $(BR2_X86_CPU_HAS_SSE4),ON,OFF) \
|
||||
-DENABLE_SSE42=$(if $(BR2_X86_CPU_HAS_SSE42),ON,OFF) \
|
||||
-DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF)
|
||||
-DENABLE_POWERPC=OFF
|
||||
|
||||
# Cuda stuff
|
||||
OPENCV3_CONF_OPTS += \
|
||||
@@ -206,6 +192,7 @@ OPENCV3_CONF_OPTS += \
|
||||
-DWITH_EIGEN=OFF \
|
||||
-DWITH_GDAL=OFF \
|
||||
-DWITH_GPHOTO2=OFF \
|
||||
-DWITH_LAPACK=OFF \
|
||||
-DWITH_MATLAB=OFF \
|
||||
-DWITH_OPENCL=OFF \
|
||||
-DWITH_OPENCL_SVM=OFF \
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 fde9e22c6df7a335d2d58c6a4d5967be76df173c766a5c51ece57fd044c76ee5 openvpn-2.4.1.tar.xz
|
||||
sha256 df5c4f384b7df6b08a2f6fa8a84b9fd382baf59c2cef1836f82e2a7f62f1bff9 openvpn-2.4.2.tar.xz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENVPN_VERSION = 2.4.1
|
||||
OPENVPN_VERSION = 2.4.2
|
||||
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
|
||||
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
|
||||
OPENVPN_DEPENDENCIES = host-pkgconf openssl
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From http://php.net/downloads.php
|
||||
sha256 71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b php-7.1.4.tar.xz
|
||||
sha256 d149a3c396c45611f5dc6bf14be190f464897145a76a8e5851cf18ff7094f6ac php-7.1.5.tar.xz
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_VERSION = 7.1.4
|
||||
PHP_VERSION = 7.1.5
|
||||
PHP_SITE = http://www.php.net/distributions
|
||||
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
|
||||
PHP_INSTALL_STAGING = YES
|
||||
|
||||
@@ -694,6 +694,7 @@ $(1)-legal-source: $$($(2)_TARGET_ACTUAL_SOURCE)
|
||||
endif # actual sources != sources
|
||||
endif # actual sources != ""
|
||||
|
||||
$(1)-source-check: PKG=$(2)
|
||||
$(1)-source-check:
|
||||
$$(foreach p,$$($(2)_ALL_DOWNLOADS),$$(call SOURCE_CHECK,$$(p))$$(sep))
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://ftp.postgresql.org/pub/source/v9.6.2/postgresql-9.6.2.tar.bz2.sha256
|
||||
sha256 0187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9 postgresql-9.6.2.tar.bz2
|
||||
# From https://ftp.postgresql.org/pub/source/v9.6.3/postgresql-9.6.3.tar.bz2.sha256
|
||||
sha256 1645b3736901f6d854e695a937389e68ff2066ce0cde9d73919d6ab7c995b9c6 postgresql-9.6.3.tar.bz2
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POSTGRESQL_VERSION = 9.6.2
|
||||
POSTGRESQL_VERSION = 9.6.3
|
||||
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
|
||||
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
|
||||
POSTGRESQL_LICENSE = PostgreSQL
|
||||
|
||||
@@ -17,6 +17,10 @@ PROTOBUF_LICENSE_FILES = LICENSE
|
||||
PROTOBUF_DEPENDENCIES = host-protobuf
|
||||
PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
PROTOBUF_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
PROTOBUF_INSTALL_STAGING = YES
|
||||
|
||||
PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
From b4db5c6cef877b33b5e7cd5a07fe4a7e6797dcfc Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Tue, 16 May 2017 19:47:19 +0200
|
||||
Subject: [PATCH] examples: qquickviewcomparison and quickwidget needs OpenGL
|
||||
support
|
||||
|
||||
Fixes:
|
||||
|
||||
main.cpp:(.text._ZN11QQmlPrivate10createIntoI6FbItemEEvPv[_ZN11QQmlPrivate10createIntoI6FbItemEEvPv]+0x18): undefined reference to `QQuickFramebufferObject::QQuickFramebufferObject(QQuickItem*)'
|
||||
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
|
||||
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED2Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED5Ev]+0x5c): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
|
||||
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev]+0x64): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x48): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x4c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
|
||||
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xbc): undefined reference to `QQuickFramebufferObject::releaseResources()'
|
||||
.obj/moc_fbitem.o: In function `FbItem::qt_metacast(char const*)':
|
||||
moc_fbitem.cpp:(.text+0x70): undefined reference to `QQuickFramebufferObject::qt_metacast(char const*)'
|
||||
.obj/moc_fbitem.o: In function `FbItem::qt_metacall(QMetaObject::Call, int, void**)':
|
||||
moc_fbitem.cpp:(.text+0x80): undefined reference to `QQuickFramebufferObject::qt_metacall(QMetaObject::Call, int, void**)'
|
||||
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
|
||||
moc_fbitem.cpp:(.text._ZN6FbItemD2Ev[_ZN6FbItemD5Ev]+0x38): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
|
||||
moc_fbitem.cpp:(.text._ZN6FbItemD0Ev[_ZN6FbItemD0Ev]+0x40): undefined reference to `vtable for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for QQuickFramebufferObject'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x58): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0x5c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xc4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xc8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xcc): undefined reference to `QQuickFramebufferObject::releaseResources()'
|
||||
.obj/moc_fbitem.o:(.data.rel.ro+0xf0): undefined reference to `QQuickFramebufferObject::staticMetaObject'
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
examples/quick/quick.pro | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro
|
||||
index 445dfb0fa..26ca0138e 100644
|
||||
--- a/examples/quick/quick.pro
|
||||
+++ b/examples/quick/quick.pro
|
||||
@@ -36,7 +36,10 @@ qtConfig(opengl(es1|es2)?) {
|
||||
# Widget dependent examples
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += embeddedinwidgets
|
||||
- qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
|
||||
+ # OpenGL Support Required
|
||||
+ qtConfig(opengl(es1|es2)?) {
|
||||
+ qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
|
||||
+ }
|
||||
}
|
||||
|
||||
EXAMPLE_FILES = \
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -41,6 +41,12 @@ else
|
||||
QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtOpenGL.*$$/\# QWT_CONFIG += QwtOpenGL/'
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtDll.*$$/\# QWT_CONFIG += QwtDll/'
|
||||
else
|
||||
QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtDll.*$$/QWT_CONFIG += QwtDll/'
|
||||
endif
|
||||
|
||||
define QWT_CONFIGURE_CMDS
|
||||
$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(QWT_QMAKE))
|
||||
|
||||
@@ -8,7 +8,11 @@ RADVD_VERSION = 2.12
|
||||
RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
|
||||
RADVD_SITE = http://www.litech.org/radvd/dist
|
||||
RADVD_DEPENDENCIES = host-bison flex host-flex host-pkgconf
|
||||
RADVD_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
# We need to ignore <linux/if_arp.h>, because radvd already includes
|
||||
# <net/if_arp.h>, which conflicts with <linux/if_arp.h>.
|
||||
RADVD_CONF_ENV = \
|
||||
ac_cv_prog_cc_c99='-std=gnu99' \
|
||||
ac_cv_header_linux_if_arp_h=no
|
||||
# For 0002-Don-t-force-fstack-protector-the-toolchain-might-lac.patch
|
||||
RADVD_AUTORECONF = YES
|
||||
RADVD_LICENSE = BSD-4-Clause-like
|
||||
|
||||
@@ -0,0 +1,231 @@
|
||||
From 093bf65c79af417cffa09d6475f58923540eebcc Mon Sep 17 00:00:00 2001
|
||||
From: Doran Moppert <dmoppert@redhat.com>
|
||||
Date: Thu, 11 May 2017 11:42:54 -0400
|
||||
Subject: [PATCH] rpcbind: pair all svc_getargs() calls with svc_freeargs() to
|
||||
avoid memory leak
|
||||
|
||||
This patch is to address CVE-2017-8779 "rpcbomb" in rpcbind, discussed
|
||||
at [1], [2], [3]. The last link suggests this issue is actually a bug
|
||||
in rpcbind, which led me here.
|
||||
|
||||
The leak caused by the reproducer at [4] appears to come from
|
||||
rpcb_service_4(), in the case where svc_getargs() returns false and the
|
||||
function had an early return, rather than passing through the cleanup
|
||||
path at done:, as would otherwise occur.
|
||||
|
||||
It also addresses a couple of other locations where the same fault seems
|
||||
to exist, though I haven't been able to exercise those. I hope someone
|
||||
more intimate with rpc(3) can confirm my understanding is correct, and
|
||||
that I haven't introduced any new bugs.
|
||||
|
||||
Without this patch, using the reproducer (and variants) repeatedly
|
||||
against rpcbind with a numBytes argument of 1_000_000_000, /proc/$(pidof
|
||||
rpcbind)/status reports VmSize increase of 976564 kB each call, and
|
||||
VmRSS increase of around 260 kB every 33 calls - the specific numbers
|
||||
are probably an artifact of my rhel/glibc version. With the patch,
|
||||
there is a small (~50 kB) VmSize increase with the first message, but
|
||||
thereafter both VmSize and VmRSS remain steady.
|
||||
|
||||
[1]: http://seclists.org/oss-sec/2017/q2/209
|
||||
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1448124
|
||||
[3]: https://sourceware.org/ml/libc-alpha/2017-05/msg00129.html
|
||||
[4]: https://github.com/guidovranken/rpcbomb/
|
||||
|
||||
Signed-off-by: Doran Moppert <dmoppert@redhat.com>
|
||||
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||
(cherry picked from commit 7ea36eeece56b59f98e469934e4c20b4da043346)
|
||||
[Peter: unconditionally include syslog.h for LOG_DEBUG]
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
src/pmap_svc.c | 58 ++++++++++++++++++++++++++++++++++++++++++++----------
|
||||
src/rpcb_svc.c | 2 +-
|
||||
src/rpcb_svc_4.c | 2 +-
|
||||
src/rpcb_svc_com.c | 8 ++++++++
|
||||
4 files changed, 58 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/src/pmap_svc.c b/src/pmap_svc.c
|
||||
index ad28b93..f730bed 100644
|
||||
--- a/src/pmap_svc.c
|
||||
+++ b/src/pmap_svc.c
|
||||
@@ -53,8 +53,8 @@ static char sccsid[] = "@(#)pmap_svc.c 1.23 89/04/05 Copyr 1984 Sun Micro";
|
||||
#include <rpc/rpc.h>
|
||||
#include <rpc/pmap_prot.h>
|
||||
#include <rpc/rpcb_prot.h>
|
||||
-#ifdef RPCBIND_DEBUG
|
||||
#include <syslog.h>
|
||||
+#ifdef RPCBIND_DEBUG
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#include "rpcbind.h"
|
||||
@@ -175,6 +175,7 @@ pmapproc_change(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt, unsigned long
|
||||
long ans;
|
||||
uid_t uid;
|
||||
char uidbuf[32];
|
||||
+ int rc = TRUE;
|
||||
|
||||
/*
|
||||
* Can't use getpwnam here. We might end up calling ourselves
|
||||
@@ -194,7 +195,8 @@ pmapproc_change(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt, unsigned long
|
||||
|
||||
if (!svc_getargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) {
|
||||
svcerr_decode(xprt);
|
||||
- return (FALSE);
|
||||
+ rc = FALSE;
|
||||
+ goto done;
|
||||
}
|
||||
#ifdef RPCBIND_DEBUG
|
||||
if (debugging)
|
||||
@@ -205,7 +207,8 @@ pmapproc_change(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt, unsigned long
|
||||
|
||||
if (!check_access(xprt, op, reg.pm_prog, PMAPVERS)) {
|
||||
svcerr_weakauth(xprt);
|
||||
- return (FALSE);
|
||||
+ rc = (FALSE);
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
rpcbreg.r_prog = reg.pm_prog;
|
||||
@@ -258,7 +261,16 @@ done_change:
|
||||
rpcbs_set(RPCBVERS_2_STAT, ans);
|
||||
else
|
||||
rpcbs_unset(RPCBVERS_2_STAT, ans);
|
||||
- return (TRUE);
|
||||
+done:
|
||||
+ if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) {
|
||||
+ if (debugging) {
|
||||
+ (void) xlog(LOG_DEBUG, "unable to free arguments\n");
|
||||
+ if (doabort) {
|
||||
+ rpcbind_abort();
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ return (rc);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
@@ -272,15 +284,18 @@ pmapproc_getport(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt)
|
||||
#ifdef RPCBIND_DEBUG
|
||||
char *uaddr;
|
||||
#endif
|
||||
+ int rc = TRUE;
|
||||
|
||||
if (!svc_getargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) {
|
||||
svcerr_decode(xprt);
|
||||
- return (FALSE);
|
||||
+ rc = FALSE;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
if (!check_access(xprt, PMAPPROC_GETPORT, reg.pm_prog, PMAPVERS)) {
|
||||
svcerr_weakauth(xprt);
|
||||
- return FALSE;
|
||||
+ rc = FALSE;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
#ifdef RPCBIND_DEBUG
|
||||
@@ -330,21 +345,34 @@ pmapproc_getport(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt)
|
||||
pmap_ipprot2netid(reg.pm_prot) ?: "<unknown>",
|
||||
port ? udptrans : "");
|
||||
|
||||
- return (TRUE);
|
||||
+done:
|
||||
+ if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) {
|
||||
+ if (debugging) {
|
||||
+ (void) xlog(LOG_DEBUG, "unable to free arguments\n");
|
||||
+ if (doabort) {
|
||||
+ rpcbind_abort();
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ return (rc);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static bool_t
|
||||
pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt)
|
||||
{
|
||||
+ int rc = TRUE;
|
||||
+
|
||||
if (!svc_getargs(xprt, (xdrproc_t)xdr_void, NULL)) {
|
||||
svcerr_decode(xprt);
|
||||
- return (FALSE);
|
||||
+ rc = FALSE;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
if (!check_access(xprt, PMAPPROC_DUMP, 0, PMAPVERS)) {
|
||||
svcerr_weakauth(xprt);
|
||||
- return FALSE;
|
||||
+ rc = FALSE;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
if ((!svc_sendreply(xprt, (xdrproc_t) xdr_pmaplist_ptr,
|
||||
@@ -354,7 +382,17 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt)
|
||||
rpcbind_abort();
|
||||
}
|
||||
}
|
||||
- return (TRUE);
|
||||
+
|
||||
+done:
|
||||
+ if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)NULL)) {
|
||||
+ if (debugging) {
|
||||
+ (void) xlog(LOG_DEBUG, "unable to free arguments\n");
|
||||
+ if (doabort) {
|
||||
+ rpcbind_abort();
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ return (rc);
|
||||
}
|
||||
|
||||
int pmap_netid2ipprot(const char *netid)
|
||||
diff --git a/src/rpcb_svc.c b/src/rpcb_svc.c
|
||||
index bd92201..0c22a9d 100644
|
||||
--- a/src/rpcb_svc.c
|
||||
+++ b/src/rpcb_svc.c
|
||||
@@ -166,7 +166,7 @@ rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp)
|
||||
svcerr_decode(transp);
|
||||
if (debugging)
|
||||
(void) xlog(LOG_DEBUG, "rpcbind: could not decode");
|
||||
- return;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
if (rqstp->rq_proc == RPCBPROC_SET
|
||||
diff --git a/src/rpcb_svc_4.c b/src/rpcb_svc_4.c
|
||||
index b673452..3e37b54 100644
|
||||
--- a/src/rpcb_svc_4.c
|
||||
+++ b/src/rpcb_svc_4.c
|
||||
@@ -220,7 +220,7 @@ rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp)
|
||||
svcerr_decode(transp);
|
||||
if (debugging)
|
||||
(void) xlog(LOG_DEBUG, "rpcbind: could not decode\n");
|
||||
- return;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
if (rqstp->rq_proc == RPCBPROC_SET
|
||||
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
|
||||
index ff9ce6b..98ede61 100644
|
||||
--- a/src/rpcb_svc_com.c
|
||||
+++ b/src/rpcb_svc_com.c
|
||||
@@ -931,6 +931,14 @@ error:
|
||||
if (call_msg.rm_xid != 0)
|
||||
(void) free_slot_by_xid(call_msg.rm_xid);
|
||||
out:
|
||||
+ if (!svc_freeargs(transp, (xdrproc_t) xdr_rmtcall_args, (char *) &a)) {
|
||||
+ if (debugging) {
|
||||
+ (void) xlog(LOG_DEBUG, "unable to free arguments\n");
|
||||
+ if (doabort) {
|
||||
+ rpcbind_abort();
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
if (local_uaddr)
|
||||
free(local_uaddr);
|
||||
if (buf_alloc)
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RTMPDUMP_VERSION = a107cef9b392616dff54fabfd37f985ee2190a6f
|
||||
RTMPDUMP_VERSION = fa8646daeb19dfd12c181f7d19de708d623704c0
|
||||
RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump
|
||||
RTMPDUMP_INSTALL_STAGING = YES
|
||||
# Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
From 0b906cb025a506be1b73e5b485179585d1a90be2 Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Thu, 11 May 2017 14:04:47 +0300
|
||||
Subject: [PATCH] af_alg: fix crypt() definition conflict
|
||||
|
||||
Rename the crypt() method to avoid conflict with POSIX crypt(). Fixes the
|
||||
following build failure with musl libc:
|
||||
|
||||
In file included from ../../../../src/libstrongswan/utils/utils.h:53:0,
|
||||
from ../../../../src/libstrongswan/library.h:101,
|
||||
from af_alg_ops.h:24,
|
||||
from af_alg_ops.c:16:
|
||||
af_alg_ops.c:110:22: error: conflicting types for 'crypt'
|
||||
METHOD(af_alg_ops_t, crypt, bool,
|
||||
^
|
||||
../../../../src/libstrongswan/utils/utils/object.h:99:13: note: in definition of macro 'METHOD'
|
||||
static ret name(union {iface *_public; this;} \
|
||||
^
|
||||
In file included from af_alg_ops.c:18:0:
|
||||
.../host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:144:7: note: previous declaration of 'crypt' was here
|
||||
char *crypt(const char *, const char *);
|
||||
^
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://github.com/strongswan/strongswan/pull/72
|
||||
|
||||
src/libstrongswan/plugins/af_alg/af_alg_ops.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/libstrongswan/plugins/af_alg/af_alg_ops.c b/src/libstrongswan/plugins/af_alg/af_alg_ops.c
|
||||
index 331d1e8010aa..452cd1ac30c9 100644
|
||||
--- a/src/libstrongswan/plugins/af_alg/af_alg_ops.c
|
||||
+++ b/src/libstrongswan/plugins/af_alg/af_alg_ops.c
|
||||
@@ -107,7 +107,7 @@ METHOD(af_alg_ops_t, hash, bool,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
-METHOD(af_alg_ops_t, crypt, bool,
|
||||
+METHOD(af_alg_ops_t, crypt_, bool,
|
||||
private_af_alg_ops_t *this, u_int32_t type, chunk_t iv, chunk_t data,
|
||||
char *out)
|
||||
{
|
||||
@@ -224,7 +224,7 @@ af_alg_ops_t *af_alg_ops_create(char *type, char *alg)
|
||||
.public = {
|
||||
.hash = _hash,
|
||||
.reset = _reset,
|
||||
- .crypt = _crypt,
|
||||
+ .crypt = _crypt_,
|
||||
.set_key = _set_key,
|
||||
.destroy = _destroy,
|
||||
},
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -40,6 +40,13 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||
SUDO_DEPENDENCIES += openldap
|
||||
SUDO_CONF_OPTS += --with-ldap
|
||||
# If we are building sudo statically and openldap was linked with openssl, then
|
||||
# when we link sudo with openldap we need to specify the openssl libs, otherwise
|
||||
# it will fail with "undefined reference" errors.
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_OPENSSL),yy)
|
||||
SUDO_DEPENDENCIES += host-pkgconf
|
||||
SUDO_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`"
|
||||
endif
|
||||
else
|
||||
SUDO_CONF_OPTS += --without-ldap
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 787e584f18afc967d91cfe1a8443df2657579ecb Mon Sep 17 00:00:00 2001
|
||||
From: Waldemar Brodkorb <wbx@openadk.org>
|
||||
Date: Fri, 12 May 2017 00:44:01 +0200
|
||||
Subject: [PATCH] disable for glibc
|
||||
|
||||
uclibc-ng-test is broken with glibc 2.25 due to pthread_cond_t changes introduced by [1].
|
||||
Disable test-cond22 for glibc based toolchain.
|
||||
|
||||
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ed19993b5b0d05d62cc883571519a67dae481a14
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
test/nptl/tst-cond22.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/nptl/tst-cond22.c b/test/nptl/tst-cond22.c
|
||||
index 3255cc0..23697dd 100644
|
||||
--- a/test/nptl/tst-cond22.c
|
||||
+++ b/test/nptl/tst-cond22.c
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-#if defined(__GLIBC__) || defined(__UCLIBC__)
|
||||
+#if defined(__UCLIBC__)
|
||||
static pthread_barrier_t b;
|
||||
static pthread_cond_t c = PTHREAD_COND_INITIALIZER;
|
||||
static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
|
||||
@@ -54,7 +54,7 @@ tf (void *arg)
|
||||
static int
|
||||
do_test (void)
|
||||
{
|
||||
-#if defined(__GLIBC__) || defined(__UCLIBC__)
|
||||
+#if defined(__UCLIBC__)
|
||||
int status = 0;
|
||||
|
||||
if (pthread_barrier_init (&b, NULL, 2) != 0)
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
# From http://download.videolan.org/pub/videolan/vlc/2.2.3/vlc-2.2.3.tar.xz.sha256
|
||||
sha256 1632e91d2a0087e0ef4c3fb4c95c3c2890f7715a9d1d43ffd46329f428cf53be vlc-2.2.4.tar.xz
|
||||
# From http://get.videolan.org/vlc/2.2.5.1/vlc-2.2.5.1.tar.xz.md5
|
||||
md5 7ab63964ffec4c92a54deb018f23318b vlc-2.2.5.1.tar.xz
|
||||
# From http://get.videolan.org/vlc/2.2.5.1/vlc-2.2.5.1.tar.xz.sha1
|
||||
sha1 042962dba68e1414aa563883b0172ee121cf9555 vlc-2.2.5.1.tar.xz
|
||||
# From http://get.videolan.org/vlc/2.2.5.1/vlc-2.2.5.1.tar.xz.sha256
|
||||
sha256 b28b8a28f578c0c6cb1ebed293aca2a3cd368906cf777d1ab599e2784ddda1cc vlc-2.2.5.1.tar.xz
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VLC_VERSION = 2.2.4
|
||||
VLC_VERSION = 2.2.5.1
|
||||
VLC_SITE = http://get.videolan.org/vlc/$(VLC_VERSION)
|
||||
VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
|
||||
VLC_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From d6919c0be7f531b20cbfcb9929d697ac3c132c40 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= <github@kempniu.pl>
|
||||
Date: Wed, 12 Oct 2016 15:17:51 +0200
|
||||
Subject: [PATCH] Fix compiler detection when using
|
||||
--without-{crypt,crypto,ssl}
|
||||
|
||||
(cherry picked from commit d6919c0be7f531b20cbfcb9929d697ac3c132c40)
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 55724bc..bdfff94 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -5,6 +5,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
+AC_PROG_CC
|
||||
AC_PROG_SED
|
||||
|
||||
# some OS's need both -lssl and -lcrypto on link line:
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -5,7 +5,7 @@ comment "xfsprogs needs a glibc or uClibc toolchain w/ threads"
|
||||
config BR2_PACKAGE_XFSPROGS
|
||||
bool "xfsprogs"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # missing __[u]int*_t
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
|
||||
@@ -36,14 +36,11 @@ class BRTest(unittest.TestCase):
|
||||
keepbuilds = False
|
||||
|
||||
def show_msg(self, msg):
|
||||
print "[%s/%s/%s] %s" % (os.path.basename(self.__class__.outputdir),
|
||||
self.testname,
|
||||
datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||
msg)
|
||||
print "{} {:40s} {}".format(datetime.datetime.now().strftime("%H:%M:%S"),
|
||||
self.testname, msg)
|
||||
def setUp(self):
|
||||
self.testname = self.__class__.__name__
|
||||
self.builddir = os.path.join(self.__class__.outputdir, self.testname)
|
||||
self.runlog = self.builddir + "-run.log"
|
||||
self.emulator = None
|
||||
self.show_msg("Starting")
|
||||
self.b = Builder(self.__class__.config, self.builddir, self.logtofile)
|
||||
|
||||
Reference in New Issue
Block a user