buildroot.git
9 years agopackage/x11r7/libxcb: really disable docs
Romain Naour [Sat, 21 Feb 2015 10:55:37 +0000 (11:55 +0100)]
package/x11r7/libxcb: really disable docs

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: fix nios2 fenv build failure
Bernd Kuhls [Fri, 20 Feb 2015 19:10:52 +0000 (20:10 +0100)]
package/ffmpeg: fix nios2 fenv build failure

Fixes
http://autobuild.buildroot.net/results/216/216fbc33c4838b1414cb25f823fd1db5c92e33c6/
http://autobuild.buildroot.net/results/800/800fe1d79ef2e52b86a97feeba85b5c47aff8dcd/
http://autobuild.buildroot.net/results/8a6/8a6d24ecc6487fd20ba663f71996160124083a68/

Only the affected toolchains are disabled. When using branch next/ compilation
works with a buildroot-compiled toolchain using this defconfig:

BR2_nios2=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_FFPLAY=y
BR2_PACKAGE_FFMPEG_FFSERVER=y
BR2_PACKAGE_FFMPEG_FFPROBE=y
BR2_PACKAGE_FFMPEG_AVRESAMPLE=y
BR2_PACKAGE_FFMPEG_POSTPROC=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: clarify external toolchain description
Baruch Siach [Fri, 20 Feb 2015 08:19:21 +0000 (10:19 +0200)]
toolchain-external: clarify external toolchain description

External toolchain can also have been generated by Buildroot previously, as
the list that follows demonstrates. Rephrase the paragraph describing what an
external toolchain is as suggested by Thomas Petazzoni, to make it clearer.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/opentyrian: fix build on bfin
Romain Naour [Fri, 20 Feb 2015 00:00:38 +0000 (01:00 +0100)]
package/opentyrian: fix build on bfin

There is a conflict with the _strchrnul symbole from mingw_fixes.c
and the one from uClibc.

Add a guard around strchrnul function for unix systems.

Fixes:
http://autobuild.buildroot.net/results/a08/a085fb55269971e3c7b8ae8c167e7330c3c042a5/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoConfig.in: remove text denoting central package infra
Baruch Siach [Sun, 15 Feb 2015 08:51:03 +0000 (10:51 +0200)]
Config.in: remove text denoting central package infra

The central package infrastructure handles all packages for quite some time
now, so this note is no longer needed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobtrfs-progs: fix static build with gettext
Baruch Siach [Tue, 17 Feb 2015 12:20:44 +0000 (14:20 +0200)]
btrfs-progs: fix static build with gettext

gettext needs -pthread. Incidentally this change was also made in the package
Makefile itself for a different reason.

Also, drop -lm to match upstream change.

Fixes:
http://autobuild.buildroot.net/results/a53/a53f31355e955c734010922b47084605e13708ef/
http://autobuild.buildroot.net/results/43d/43deeeda31d9750b37e1f1058c3313a387843bee/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxserver_xorg-server: enable libunwind for MIPS with 32-bit pointers
Vicente Olivert Riera [Sun, 15 Feb 2015 18:10:59 +0000 (18:10 +0000)]
xserver_xorg-server: enable libunwind for MIPS with 32-bit pointers

libunwind support was broken for MIPS variants with 32-bit pointers so
we disabled it:

  http://lists.busybox.net/pipermail/buildroot/2014-December/114404.html

But now we have a patch to fix that problem so we can enable it again.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxserver_xorg-server: fix libunwind on MIPS with 32-bit pointers
Vicente Olivert Riera [Sun, 15 Feb 2015 18:10:58 +0000 (18:10 +0000)]
xserver_xorg-server: fix libunwind on MIPS with 32-bit pointers

Adding a patch to fix a compilation problem of Xorg + libunwind support
when building it on MIPS variants with 32-bit pointers.

Related:

  http://lists.busybox.net/pipermail/buildroot/2014-December/114404.html

Patch submitted upstream:

  http://lists.x.org/archives/xorg-devel/2015-January/045226.html

Patch reviewed by an Xorg developer:

  http://lists.x.org/archives/xorg-devel/2015-January/045383.html

Fixes:

  http://autobuild.buildroot.net/results/87b/87be2c95957f9925c1258812e536df72689fc5da/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-cmake.mk: Fix ARM variant typo
Assaf Inbal [Mon, 16 Feb 2015 08:24:52 +0000 (10:24 +0200)]
pkg-cmake.mk: Fix ARM variant typo

Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-rebar: fix very minor typos in the comments
Frank Hunleth [Mon, 16 Feb 2015 17:00:30 +0000 (12:00 -0500)]
pkg-rebar: fix very minor typos in the comments

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to no
Stefan Sørensen [Tue, 17 Feb 2015 15:42:11 +0000 (16:42 +0100)]
netsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to no

NETSNMP_CAN_USE_SYSCTL is for BSD systems, setting it to yes on
Linux systems breaks compilation when the mibII mib is enabled.

Prior to commit 30bb1bdca49a1dcb71d477e546a40840af865ce2 ("netsnmp:
bump version") from November 2008, this variable was already set to
no, and was changed to yes by the commit, with no explanation. And the
previous code indeed had a comment saying:

   # We set CAN_USE_SYSCTL to no and use /proc since the sysctl code
   # in this thing is apparently intended for freebsd or some such
   # thing...

[Thomas: improved commit log.]

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: add 1.23.1 fixes for dc and wget
Gustavo Zacarias [Thu, 19 Feb 2015 20:51:55 +0000 (17:51 -0300)]
busybox: add 1.23.1 fixes for dc and wget

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopolarssl: security bump to version 1.2.13
Gustavo Zacarias [Wed, 18 Feb 2015 18:16:09 +0000 (15:16 -0300)]
polarssl: security bump to version 1.2.13

Includes the previous CVE-2015-1182 fix (patch dropped) and other fixes
(security and non) from the 1.3 branch (no CVEs yet), see release notes:
https://polarssl.org/tech-updates/releases/polarssl-1.2.13-released

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: security bump to version 5.5.22
Gustavo Zacarias [Thu, 19 Feb 2015 14:59:56 +0000 (11:59 -0300)]
php: security bump to version 5.5.22

Fixes:
CVE-2015-0273 - Use after free vulnerability in unserialize() with
DateTimeZone.
CVE-2015-0235 - Mitigation for GHOST: glibc gethostbyname buffer
overflow.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobind: security bump to version 9.9.6-P2
Gustavo Zacarias [Thu, 19 Feb 2015 11:52:25 +0000 (08:52 -0300)]
bind: security bump to version 9.9.6-P2

Fixes CVE-2015-1349 - Revoking a managed trust anchor and supplying an
untrusted replacement could cause namedto crash with an assertion
failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomjpg-streamer: limit lines length to 72 characters
Vicente Olivert Riera [Wed, 18 Feb 2015 09:23:57 +0000 (09:23 +0000)]
mjpg-streamer: limit lines length to 72 characters

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomjpg-streamer: disable for static builds
Vicente Olivert Riera [Wed, 18 Feb 2015 09:23:56 +0000 (09:23 +0000)]
mjpg-streamer: disable for static builds

This package needs to load plugins to do its job. Those plugins are
shared objects (.so) which are loaded using 'dlopen()', so it makes no
sense to enable this package when doing static builds where 'dlopen()'
is not available.

Fixes:

  http://autobuild.buildroot.net/results/cd5/cd52b739370d57b5ecbc6472b8c7f1126700e85f/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-rebar: add bin to list of install directories
Frank Hunleth [Mon, 16 Feb 2015 17:00:29 +0000 (12:00 -0500)]
pkg-rebar: add bin to list of install directories

Some Erlang packages provide a bin directory for programs that are to be
invoked from the command line. An example of such a package is the Lisp
Flavored Erlang compiler. The Erlang OTP library includes several more
examples (it doesn't use rebar, though.) This change makes sure that the
bin directory gets installed too.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-rebar: HOST_CC -> HOSTCC
Frank Hunleth [Mon, 16 Feb 2015 17:00:28 +0000 (12:00 -0500)]
pkg-rebar: HOST_CC -> HOSTCC

Fix HOSTCC typo that would cause host-rebar builds to fail.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomake: disable the 'load' operation for static builds
Vicente Olivert Riera [Mon, 16 Feb 2015 16:12:17 +0000 (16:12 +0000)]
make: disable the 'load' operation for static builds

Disable the 'load' operation for static builds since it needs dlopen and
friends. Otherwise it will fail with an error message like this one:

load.o: In function `load_file':
load.c:(.text+0x2a8): undefined reference to `dlopen'
load.c:(.text+0x2c4): undefined reference to `dlerror'
load.c:(.text+0x308): undefined reference to `dlsym'
load.c:(.text+0x33c): undefined reference to `dlopen'
load.c:(.text+0x35c): undefined reference to `dlsym'
load.c:(.text+0x380): undefined reference to `dlopen'
load.c:(.text+0x39c): undefined reference to `dlopen'
load.c:(.text+0x3a0): undefined reference to `dlerror'
load.c:(.text+0x42c): undefined reference to `dlsym'
load.c:(.text+0x470): undefined reference to `dlsym'
load.c:(.text+0x48c): undefined reference to `dlerror'
load.o: In function `unload_file':
load.c:(.text+0x63c): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status

Fixes:

  http://autobuild.buildroot.net/results/9e3/9e39039b6db79a46990cd9bdcb179289e38d9f31/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimagemagick: use official download site
Fabio Porcedda [Tue, 17 Feb 2015 08:40:36 +0000 (09:40 +0100)]
imagemagick: use official download site

Don't use anymore the alternate download site beacause it does not
conatins anymore older versions, instead use the official download site
because now it contains even the older versions.

Signed-off-by: Fabio Porcedda <Fabio.Porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: add 1.23.1 patch to fix MODPROBE_SMALL
Gustavo Zacarias [Tue, 17 Feb 2015 12:23:44 +0000 (09:23 -0300)]
busybox: add 1.23.1 patch to fix MODPROBE_SMALL

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosudo: security bump to version 1.8.12
Gustavo Zacarias [Tue, 17 Feb 2015 12:50:51 +0000 (09:50 -0300)]
sudo: security bump to version 1.8.12

Fixes CVE-2014-9680 - A user with sudo access may be able to exploit
parsing bugs in the time zone parsing functions of the system's C
library functions. The user may also be able to read arbitrary files,
potentially causing changes in system behavior when reading certain
device special files or simply causing the program run via sudo to
block.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agognutls: make sure librt detection doesn't poison the linker flags
Thomas Petazzoni [Sat, 14 Feb 2015 21:18:51 +0000 (22:18 +0100)]
gnutls: make sure librt detection doesn't poison the linker flags

Just like we're passing --with-libpthread-prefix, we also need to pass
--with-librt-prefix in order to avoid having the gnutls build system
detect the librt in /usr/lib, and pass -L/usr/lib to the linker flags.

Fixes:

  http://autobuild.buildroot.org/results/fa5/fa58602cb78ffe3ae4ee389ef5cf5a37b7657c4c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoUpdate for 2015.02-rc2
Peter Korsgaard [Sun, 15 Feb 2015 22:44:43 +0000 (23:44 +0100)]
Update for 2015.02-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-stats: ignore linux-ext-fbtft.mk and doc-asciidoc.mk
Fabio Porcedda [Sun, 15 Feb 2015 20:23:58 +0000 (21:23 +0100)]
pkg-stats: ignore linux-ext-fbtft.mk and doc-asciidoc.mk

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-stats: add kconfig and rebar infrastructures
Fabio Porcedda [Sun, 15 Feb 2015 20:23:57 +0000 (21:23 +0100)]
pkg-stats: add kconfig and rebar infrastructures

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5bse: configure: fix gold linker detection
Peter Korsgaard [Sun, 15 Feb 2015 22:20:12 +0000 (23:20 +0100)]
qt5bse: configure: fix gold linker detection

Fixes http://autobuild.buildroot.net/results/92c/92c3fb4ddb934115b228652bb8c972bb7459bb40/

While the -fuse-ld=gold flag is related to linking, it is an argument to the
compiler driver to tell it what linker to execute, NOT an option to tell the
linker to behave differently.

So it shouldn't get prefixed with -Wl when passed though the compiler driver.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/dvdauthor: fix static build
Romain Naour [Sun, 15 Feb 2015 11:10:48 +0000 (12:10 +0100)]
package/dvdauthor: fix static build

Dvdauthor forget to link witk -lbz2 when linking with freetype2.

Fixes:
http://autobuild.buildroot.net/results/1d8/1d83390a3dd9f6bb595e9fc7b321500b4dc533a8/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agox11r7/xserver_xorg-server: security bump to version 1.16.4
Bernd Kuhls [Sun, 15 Feb 2015 09:56:41 +0000 (10:56 +0100)]
x11r7/xserver_xorg-server: security bump to version 1.16.4

Fixes:

CVE-2015-0255 - Information leak in the XkbSetGeometry request of X servers
http://www.x.org/wiki/Development/Security/Advisory-2015-02-10/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libsemanage: add patch to fix Blackfin build issue
Romain Naour [Sat, 14 Feb 2015 15:10:57 +0000 (16:10 +0100)]
package/libsemanage: add patch to fix Blackfin build issue

libsemanage use the same build system than libselinux,
so it's affected by the same issue.

Fixes:
http://autobuild.buildroot.net/results/39d/39d3460e88a1316ec7dbcd0d67b7fdb992c3fc77

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libsepol: add patch to fix Blackfin build issue
Romain Naour [Sat, 14 Feb 2015 15:10:56 +0000 (16:10 +0100)]
package/libsepol: add patch to fix Blackfin build issue

libsepol use the same build system than libselinux,
so it's affected by the same issue.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: don't use host library path
Romain Naour [Sat, 14 Feb 2015 11:42:50 +0000 (12:42 +0100)]
package/openvmtools: don't use host library path

Set CUSTOM_PROCPS_LIBS to " " otherwise -L/lib is used by default.

Fixes:
http://autobuild.buildroot.net/results/bff/bff7d8f3ec19ce790f0c88a336d1007e1ff29836/

[Thomas: fix typo in commit log.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomplayer: fix compilation with new versions of libgif
Vicente Olivert Riera [Sat, 14 Feb 2015 17:12:49 +0000 (17:12 +0000)]
mplayer: fix compilation with new versions of libgif

mplayer fails to compile with the following error message:

libmpdemux/demux_gif.c: In function 'demux_open_gif':
libmpdemux/demux_gif.c:260:3: error: too few arguments to function
'DGifOpen'
   gif = DGifOpen(demuxer->stream, my_read_gif);

Backport an upstream patch to support newer versions of libgif in
mplayer. Unfortunately this patch is incomplete and mplayer stills
failing to compile with a new error message:

libvo/vo_gif89a.c: In function 'uninit':
libvo/vo_gif89a.c:374:3: error: too few arguments to function
'EGifCloseFile'
   EGifCloseFile(new_gif); // also frees gif storage space.

So I have written a new patch and submitted it upstream to finally fix
the problem.

Upstream commit:

  https://github.com/pigoz/mplayer-svn/commit/a0ddaef5457e222dade386901bf448c5e3ac7b89

New submitted patch:

  https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2015-February/072848.html

Fixes:

  http://autobuild.buildroot.net/results/a51/a510a0ab2cb827bb91b4fdec43055f2bfda239b1/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libssh2: fix zlib library search path issues
Romain Naour [Sat, 14 Feb 2015 17:38:28 +0000 (18:38 +0100)]
package/libssh2: fix zlib library search path issues

Like for lingcrypt and openssl, help the configure script to find
zlib installed in STAGING_DIR.

Otherwise, It might find the one installed on the host:
checking how to link with libz... /usr/lib/libz.so -Wl,-rpath -Wl,/usr/lib

Fixes:
http://autobuild.buildroot.net/results/93b/93b43e114f21a22f0f8b7d7dd6774c089c426cd1

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboards/raspberrypi: update dt kernel sha1
Frank Hunleth [Wed, 11 Feb 2015 03:06:13 +0000 (22:06 -0500)]
boards/raspberrypi: update dt kernel sha1

The sha1 used for the DT enabled kernel is no longer available
(presumably, the rpi-3.18.y branch was rebased recently.) This updates
it to the lastest sha1 in the rpi-3.18.y branch.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: fix syncDriverPosix
Romain Naour [Sun, 8 Feb 2015 23:22:09 +0000 (00:22 +0100)]
package/openvmtools: fix syncDriverPosix

Backport a patch from Fedora

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: configure fix USE_SLASH_PROC
Romain Naour [Sun, 8 Feb 2015 23:22:08 +0000 (00:22 +0100)]
package/openvmtools: configure fix USE_SLASH_PROC

Backport a patch from Fedora

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: update help text for savedefconfig
Frank Hunleth [Wed, 11 Feb 2015 13:14:49 +0000 (08:14 -0500)]
Makefile: update help text for savedefconfig

Updated text to say that the defconfig is written to the BR2_DEFCONFIG
location.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5connectivity: fix for big endian platforms
Vicente Olivert Riera [Wed, 11 Feb 2015 19:37:29 +0000 (19:37 +0000)]
qt5connectivity: fix for big endian platforms

Add a patch to fix qt5connectivity for big endian platforms.

Building qtconnectivity fails for big endian platforms because the
bswap_16 function is not declared. This is the error message:

In file included from bluez/hcimanager_p.h:52:0,
 from bluez/hcimanager.cpp:35:
./bluez/bluez_data_p.h: In function 'quint16 bt_get_le16(const void*)':
./bluez/bluez_data_p.h:172:60: error: 'bswap_16' was not declared in
this scope
     return bswap_16(bt_get_unaligned((const quint16 *) ptr));

bswap_16 is defined in byteswap.h so we can include this file in order
to fix this problem.

This patch has been submitted upstream:

  https://bugreports.qt.io/browse/QTBUG-44421

Fixes:

  http://autobuild.buildroot.net/results/5b8/5b85c6819f94988abd8abfcdaad6226ceb2d790a/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython3: fix invalid ncursesw header path
Thomas Petazzoni [Sun, 8 Feb 2015 21:23:24 +0000 (22:23 +0100)]
python3: fix invalid ncursesw header path

This commit adds a patch to python3 that makes sure it does not use an
invalid header path (pointing to host headers) when including ncursesw
support.

Fixes:

  http://autobuild.buildroot.org/results/9bd/9bdaa392e8dd00c6ebee156b758e3c0cac480237/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodbus: security bump
Peter Korsgaard [Thu, 12 Feb 2015 10:24:54 +0000 (11:24 +0100)]
dbus: security bump

Fixes CVE-2015-0245. See announcement for details:

http://lists.freedesktop.org/archives/dbus/2015-February/016554.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: rebase nano patch to apply cleanly
Danomi Manchego [Wed, 11 Feb 2015 14:00:10 +0000 (09:00 -0500)]
ntp: rebase nano patch to apply cleanly

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: fix static link with openssl
Baruch Siach [Tue, 10 Feb 2015 08:39:59 +0000 (10:39 +0200)]
git: fix static link with openssl

openssl needs -lz when building statically.

Fixes:
http://autobuild.buildroot.net/results/4b3/4b33f3f415776cf43be0910b583d222711a03cad/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: security bump to version 4.2.8p1
Baruch Siach [Tue, 10 Feb 2015 12:46:37 +0000 (14:46 +0200)]
ntp: security bump to version 4.2.8p1

Fixes:

CVE-2014-9297 - vallen is not validated in several places in ntp_crypto.c,
leading to a potential information leak or possibly a crash

CVE-2014-9298 - ::1 can be spoofed on some OSes (including "some versions" of
Linux), so ACLs based on IPv6 ::1 addresses can be bypassed

Drop a patch applied upstream, along with its accompanied AUTORECONF.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/website/news.html: add 2015.02-rc1 announcement link
Peter Korsgaard [Sun, 8 Feb 2015 22:50:14 +0000 (23:50 +0100)]
docs/website/news.html: add 2015.02-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2015.02-rc1
Peter Korsgaard [Sun, 8 Feb 2015 20:57:14 +0000 (21:57 +0100)]
Update for 2015.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoCHANGES: Update with recent changes
Peter Korsgaard [Sun, 8 Feb 2015 20:55:10 +0000 (21:55 +0100)]
CHANGES: Update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibselinux: add patch to fix Blackfin build issue
Thomas Petazzoni [Sun, 8 Feb 2015 21:02:03 +0000 (22:02 +0100)]
libselinux: add patch to fix Blackfin build issue

Fixes:

  http://autobuild.buildroot.org/results/165/165a227a0a8ecd4cb3f96761aacdf90ae974fea7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoperl: remove poisoned path from dynaloader hints
Alex Suykov [Sun, 8 Feb 2015 18:02:37 +0000 (20:02 +0200)]
perl: remove poisoned path from dynaloader hints

Fixes
http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/
http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/erlang: fix build issue with pcre package
Romain Naour [Sun, 8 Feb 2015 16:57:20 +0000 (17:57 +0100)]
package/erlang: fix build issue with pcre package

If the pcre package is build before erlang, the erlang's build
system use pcre.h from pcre package instead of using pcre.h bundled
by Erlang.

Erlang use an old version of this file which is incompatible
with the upstream one.

http://autobuild.buildroot.net/results/cbd/cbd8b54eef535f19d7d400fd269af1b3571d6143/build-end.log

And many more.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5multimedia: Make it compile with no-opengl
Vicente Olivert Riera [Sun, 8 Feb 2015 16:04:58 +0000 (16:04 +0000)]
qt5multimedia: Make it compile with no-opengl

Backport an upstream patch to make it compile with no-opengl. Otherwise
it will fail showing an error message like this one:

qpaintervideosurface.cpp:99:47: error: 'QOpenGLContext' has not been
declared

Upstream commit:

  https://qt.gitorious.org/qt/qtmultimedia/commit/2b181d546970d18a48a0f36f5d1a22418b61cd4d

Fixes:

  http://autobuild.buildroot.net/results/b77/b77cdf9b1cf6cafd5afef7337553bb32489207e5/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopostgresql: bump version to 9.4.1
Peter Seiderer [Sun, 8 Feb 2015 15:58:28 +0000 (16:58 +0100)]
postgresql: bump version to 9.4.1

See [1] for a detailed list of changes.

[1] http://www.postgresql.org/docs/9.4/static/release-9-4-1.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolegacy: add missing option for util-linux' wdctl
Yann E. MORIN [Sat, 7 Feb 2015 22:10:14 +0000 (23:10 +0100)]
legacy: add missing option for util-linux' wdctl

In 349c9c7 (package/util-linux: add more tool select options), the
util-linux' wdctl option was renamed, but a entry in the legacy menu was
no added.

Add this now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5webkit: add missing indirect dependency on atomics and !flat
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:19 +0000 (01:34 +0100)]
qt5webkit: add missing indirect dependency on atomics and !flat

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5cinex: add missing indirect dependency on libegl
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:18 +0000 (01:34 +0100)]
qt5cinex: add missing indirect dependency on libegl

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoenlightenment: add missing indirect dependency on atomics
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:17 +0000 (01:34 +0100)]
enlightenment: add missing indirect dependency on atomics

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxscreensaver: add missing indirect dependency on atomics
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:16 +0000 (01:34 +0100)]
xscreensaver: add missing indirect dependency on atomics

Also reformat the comment lines and fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopinenty: add missing indirect dependency on atomics for gtk2 support
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:15 +0000 (01:34 +0100)]
pinenty: add missing indirect dependency on atomics for gtk2 support

Also remove redundant comment lines.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopencv: add missing indirect dependency on atomics for gtk support
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:14 +0000 (01:34 +0100)]
opencv: add missing indirect dependency on atomics for gtk support

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocwiid: add missing indirect dependency on atomics for wmgui
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:13 +0000 (01:34 +0100)]
cwiid: add missing indirect dependency on atomics for wmgui

Also add a comment for cwiid itself.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: add missing indirect dependency on !avr32 for mysql extensions
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:12 +0000 (01:34 +0100)]
php: add missing indirect dependency on !avr32 for mysql extensions

Also fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodovecot: add missing indirect dependency on !avr32 for mysql
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:11 +0000 (01:34 +0100)]
dovecot: add missing indirect dependency on !avr32 for mysql

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoutil-linux: add missing indirect dependency on !avr32 for setpriv
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:10 +0000 (01:34 +0100)]
util-linux: add missing indirect dependency on !avr32 for setpriv

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agooprofile: add missing indirect dependency on NPTL for PPC
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:09 +0000 (01:34 +0100)]
oprofile: add missing indirect dependency on NPTL for PPC

[Peter: also adjust comment dependencies]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokodi: add missing indirect dependency on dynamic lib for shairport
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:08 +0000 (01:34 +0100)]
kodi: add missing indirect dependency on dynamic lib for shairport

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoespeak: add missing indirect dependency on atomics for pulseaudio
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:07 +0000 (01:34 +0100)]
espeak: add missing indirect dependency on atomics for pulseaudio

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibgail: add missing indirect dependency on C++ and atomics
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:06 +0000 (01:34 +0100)]
libgail: add missing indirect dependency on C++ and atomics

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agograntlee: add missing indirect dependency on jscore available
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:05 +0000 (01:34 +0100)]
grantlee: add missing indirect dependency on jscore available

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu: add missing indirect dependency on dynamic library for fdt
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:04 +0000 (01:34 +0100)]
qemu: add missing indirect dependency on dynamic library for fdt

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-base: add missing indirect dependency on atomics for pango
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:03 +0000 (01:34 +0100)]
gst1-plugins-base: add missing indirect dependency on atomics for pango

Also removed the redundant indirect dependencies on wchar, threads, mmu
(gstreamer depends on libglib2 so this indirect dependency is obvious).

[Peter: drop wchar+threads from comment as suggested by Jerzy Grzegorek]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst-plugins-base: add missing indirect dependency on atomics for pango
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:02 +0000 (01:34 +0100)]
gst-plugins-base: add missing indirect dependency on atomics for pango

Also removed the redundant indirect dependencies on wchar, threads, mmu
(gstreamer depends on libglib2 so this indirect dependency is obvious).

[Peter: drop wchar+threads from comment as suggested by Jerzy Grzegorek]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: add missing indirect dependency on atomics for rsvg
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:01 +0000 (01:34 +0100)]
gst1-plugins-bad: add missing indirect dependency on atomics for rsvg

Also removed the redundant indirect dependencies on wchar, threads
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst-plugins-bad: add missing indirect dependency on atomics for rsvg
Arnout Vandecappelle [Wed, 4 Feb 2015 00:34:00 +0000 (01:34 +0100)]
gst-plugins-bad: add missing indirect dependency on atomics for rsvg

Also removed the redundant indirect dependencies on wchar, threads
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-coherence: add missing indirect dependency on c++
Arnout Vandecappelle [Wed, 4 Feb 2015 00:33:59 +0000 (01:33 +0100)]
python-coherence: add missing indirect dependency on c++

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobr2-external: make it available to post-{build, image} scripts
Yann E. MORIN [Sat, 7 Feb 2015 18:28:21 +0000 (19:28 +0100)]
br2-external: make it available to post-{build, image} scripts

Currently, BR2_EXTERNAL is not always exported to sub-processes that we
spawn, like post-build or post-image scripts. This all depends on how
the user passes BR2_EXTERNAL; consider the following:

  - make BR2_EXTERNAL=/path/to/br2-ext
  - BR2_EXTERNAL=/path/to/br2-ext make

In the first case, it is just a make variable, not an environment
variable, and thus not exported, while in the second case it is an
environment variable and gets exported to all sub-processes make may
spawn.

Explicitly export it using EXTRA_ENV.

Reported-by: Julian Scheel <julian@jusst.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julian Scheel <julian@jusst.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mesa3d: bump version to 10.4.4
Bernd Kuhls [Sat, 7 Feb 2015 17:43:20 +0000 (18:43 +0100)]
package/mesa3d: bump version to 10.4.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoutil-linux: target command more needs ncurses
Peter Seiderer [Tue, 3 Feb 2015 21:13:21 +0000 (22:13 +0100)]
util-linux: target command more needs ncurses

Fixes [1]:

configure: error: more selected, but required ncurses, tinfo or termcap
libraries not available

[1] http://autobuild.buildroot.net/results/f3b/f3b318c904b6325fd143a55f2f9fd1c55bb9cfd5

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: bump verstion to 2.3.0
Vicente Olivert Riera [Sat, 7 Feb 2015 16:27:14 +0000 (16:27 +0000)]
git: bump verstion to 2.3.0

- Bump version to 2.3.0
- Update the hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibvips: bump version to 7.42.2
Vicente Olivert Riera [Sat, 7 Feb 2015 16:10:37 +0000 (16:10 +0000)]
libvips: bump version to 7.42.2

- Bump version to 7.42.2
- Add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodropbear: add extra build customization options
Floris Bos [Wed, 4 Feb 2015 18:33:29 +0000 (19:33 +0100)]
dropbear: add extra build customization options

v2: only offer option to disable building SSH client.
    do not offer options to disable password authentication and TCP forwarding.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/sqlite: bump version to 3.8.8.2
Bernd Kuhls [Sat, 7 Feb 2015 10:24:21 +0000 (11:24 +0100)]
package/sqlite: bump version to 3.8.8.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomono: backport patches to fix PowerPC build
Thomas Petazzoni [Sat, 7 Feb 2015 10:06:34 +0000 (11:06 +0100)]
mono: backport patches to fix PowerPC build

Mono 3.12.0 doesn't build properly on PowerPC, but there are already
patches upstream to fix those issues. This commit backports the two
necessary patches to get the PowerPC build working.

Fixes:

  http://autobuild.buildroot.org/results/91d/91d4b9d3f2d3597b071a1bcec8339eaf2a9c7981/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomono: use proper Git patches
Thomas Petazzoni [Sat, 7 Feb 2015 10:06:33 +0000 (11:06 +0100)]
mono: use proper Git patches

In order to ease the modification of the Mono patches, turn the
existing ones into proper Git patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agox264: disable avxsynth support
Peter Korsgaard [Sat, 7 Feb 2015 09:01:14 +0000 (10:01 +0100)]
x264: disable avxsynth support

Fixes:
http://autobuild.buildroot.net/results/0f8/0f8b1167ba23a9a2cd9bd6b6e1baa0470523d47d/
http://autobuild.buildroot.net/results/b65/b651f488fbd6f2985e1a656814098db6c60040e5/

We don't have an avxsynth package in Buildroot, and x264 uses dlopen to
access it so it breaks on static only toolchains.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolame: unconditionally disable debug handling
Peter Korsgaard [Fri, 6 Feb 2015 21:41:15 +0000 (22:41 +0100)]
lame: unconditionally disable debug handling

As it is also broken on arc, bfin and microblaze and brings very limited
added value.

Fixes:
http://autobuild.buildroot.net/results/643/643d174836457237615b6504e28d7b3c12a37f93/
http://autobuild.buildroot.net/results/831/831f3a03321cea1b753f3e7dd8d3c6354d51d3e7/
http://autobuild.buildroot.net/results/71d/71dc37f9cc56f3f53676f54bf28f2ca101bc4505/
http://autobuild.buildroot.net/results/61f/61f1e956bb433aa80f859b3cf37d374feee1cb0c/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 3.18.6
Peter Korsgaard [Fri, 6 Feb 2015 21:17:35 +0000 (22:17 +0100)]
linux: bump default to version 3.18.6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{4,10,12,14,18}.x series
Peter Korsgaard [Fri, 6 Feb 2015 21:15:15 +0000 (22:15 +0100)]
linux-headers: bump 3.{4,10,12,14,18}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomono: add patch to fix MIPS build issue
Thomas Petazzoni [Fri, 6 Feb 2015 14:45:44 +0000 (15:45 +0100)]
mono: add patch to fix MIPS build issue

Since the bump to version 3.12 of Mono, it fails to build on MIPS. The
patch added by this commit fixes this build failure, simply caused by
a missing include.

Fixes:

  http://autobuild.buildroot.org/results/6f5/6f5e20a4a99eb0db650430bf6285c844fd940711/

Submitted upstream at https://github.com/mono/mono/pull/1550.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5/qt5base: Fix build on MIPS without DSP support
Vicente Olivert Riera [Fri, 6 Feb 2015 16:12:19 +0000 (16:12 +0000)]
qt5/qt5base: Fix build on MIPS without DSP support

The qt_memfill32_asm_mips_dsp function is only declared if
QT_COMPILER_SUPPORTS_MIPS_DSP is defined, so we can't reference it
unless the same macro is defined.

Backporting an upstream patch to fix this issue.

This is the error message:

qt-everywhere-enterprise-src-5.4.0-alpha/qtbase/src/gui/painting/qdrawhelper.cpp:
In function 'void qInitDrawhelperAsm()':
qt-everywhere-enterprise-src-5.4.0-alpha/qtbase/src/gui/painting/qdrawhelper.cpp:6843:
error: 'qt_memfill32_asm_mips_dsp' was not declared in this scope

Upstream commit:

  https://qt.gitorious.org/qt/qtbase/commit/2ca323ccd4f25f409eff8fc0c9804099b78c2bde

Fixes:

  http://autobuild.buildroot.net/results/254/254cf62bef8bc5d5ffe345d817d16aa9983baa15/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5/qt5base: Fix build on big endian systems
Vicente Olivert Riera [Fri, 6 Feb 2015 14:48:59 +0000 (14:48 +0000)]
qt5/qt5base: Fix build on big endian systems

Backporting an upstream patch to fix a qt5base build failure on big
endian systems. This is the error message:

image/qimage_conversions.cpp:2257:9: error: expected '}' before numeric
constant

Upstream commit:

  https://qt.gitorious.org/qt/qtbase/commit/404f4281fda764cafdaa5635db995dabc4f1de8c

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu: correct kernel headers check when major numbers differ
Peter Korsgaard [Fri, 6 Feb 2015 12:02:23 +0000 (13:02 +0100)]
qemu: correct kernel headers check when major numbers differ

commit f7add51c39 (qemu: add host/target Linux version check) added a
version check between the host kernel version and the version of kernel
headers used by the toolchain, but the logic would fail unless BOTH major
and minor versions were >=, which isn't true for E.G. host kernel = 3.2 and
toolchain 2.6.x.

Instead calculate a single version number (as major << 8 + minor) and
compare that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohost-qemu: needs host-python
Peter Korsgaard [Fri, 6 Feb 2015 10:36:25 +0000 (11:36 +0100)]
host-qemu: needs host-python

Fixes:
http://autobuild.buildroot.net/results/e58/e58a0d7d5c084be000ae7d5b3821cd68d6639aab/
http://autobuild.buildroot.net/results/624/62425cfdd4270bf1a9b15bd57490478b1c04c720/
http://autobuild.buildroot.net/results/d18/d189d7f75ffbb3349b68a5c312b14ea5638bb903/
http://autobuild.buildroot.net/results/7d3/7d386322cec452ee636adb20be0c1a31f38385fc/

And many more.

Just like qemu for the target, host-qemu needs python (2.x) on the host.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosdparm: remove include of host headers
Baruch Siach [Fri, 6 Feb 2015 07:45:14 +0000 (09:45 +0200)]
sdparm: remove include of host headers

Fixes:
http://autobuild.buildroot.net/results/458/458b3da912b977335ac292fa7adddfb85961557a/
http://autobuild.buildroot.net/results/ead/ead9c1d354e9beebdcb892ded2d63b8d3bc3eb51/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu: add architecture dependencies for host qemu
Thomas Petazzoni [Fri, 6 Feb 2015 08:15:48 +0000 (09:15 +0100)]
qemu: add architecture dependencies for host qemu

The host-qemu package currently builds the user mode emulation, which
isn't available on all architectures, so this commit adds the
necessary architecture dependencies to the Config.in.host file.

Fixes:

  http://autobuild.buildroot.net/results/4298ce40cbe3db50ffe53ecf6856523157df591d/

Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorpm: use pkg-config to detect zlib and popt
Peter Korsgaard [Fri, 6 Feb 2015 09:19:45 +0000 (10:19 +0100)]
rpm: use pkg-config to detect zlib and popt

Fixes:
http://autobuild.buildroot.net/results/98b/98b70ea09ecef214f13a622dcb926e01a6d6f7d9/
http://autobuild.buildroot.net/results/d13/d1343c3be9710d5be3cf6e4369dd5c75102e7b92/
http://autobuild.buildroot.net/results/457/457d3d9231f1422b19ffbac6d4a6ab02c6d6c22f/
http://autobuild.buildroot.net/results/ed8/ed8efe3985e6b423e4c18f9c200aa042ccb9ed23/

And many more.

Using --with-zlib=$(STAGING_DIR) causes the configure script to basically do
a find $(STAGING_DIR) -name zlib.h to figure out the correct include path
for zlib.  That is normally ok, but if botan is enabled and built before
rpm, then it installs a zlib.h header in
$(STAGING_DIR)/usr/include/botan-1.10/botan which confuses this logic and
causes configure to fail.

Fix it by using --with-zlib=external instead which causes the configure
script to use pkg-config to get the CFLAGS/LDFLAGS. Also do it for popt so
we don't end up with a similar issue in the future. We unfortunately cannot
do it for beecrypt as it doesn't install a .pc file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/infozip: add hash file
Romain Naour [Sat, 24 Jan 2015 15:23:45 +0000 (16:23 +0100)]
package/infozip: add hash file

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/infozip: silent LFS warning
Romain Naour [Sat, 24 Jan 2015 15:23:44 +0000 (16:23 +0100)]
package/infozip: silent LFS warning

infozip already defines _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in
some sources files when LARGE_FILE_SUPPORT is set.
Remove them from CFLAGS.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/infozip: fix LARGE_FILE_SUPPORT check
Romain Naour [Sat, 24 Jan 2015 15:23:43 +0000 (16:23 +0100)]
package/infozip: fix LARGE_FILE_SUPPORT check

The LFS check was dropped in commit cc4dedd9.

Since then there is a runtime error:
zip warning : Not supported (uzoff_t not same size as zoff_t)

However LFS check can't readded as is because it can't work
for cross-compilation since it try to run a target's binary on
the host system.

Replace infozip's LFS check with the one used by autoconf.
This allows to readd LFS support for host-infozip.

Reported-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/infozip: disable GID/UID support
Romain Naour [Sat, 24 Jan 2015 15:23:42 +0000 (16:23 +0100)]
package/infozip: disable GID/UID support

This check can't work for cross-compilation since it
try to run a target's binary on the host system.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>