buildroot.git
7 years agogst1-imx: unbreak after 0.12.3 bump
Peter Korsgaard [Thu, 1 Dec 2016 21:43:17 +0000 (22:43 +0100)]
gst1-imx: unbreak after 0.12.3 bump

The 0.12.3 bump forgot to update the download hash and remove the now
upstreamed patch, breaking the build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMerge branch 'next'
Peter Korsgaard [Thu, 1 Dec 2016 21:22:06 +0000 (22:22 +0100)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoKickoff 2017.02 cycle
Peter Korsgaard [Thu, 1 Dec 2016 21:13:19 +0000 (22:13 +0100)]
Kickoff 2017.02 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2016.11
Peter Korsgaard [Wed, 30 Nov 2016 22:15:21 +0000 (23:15 +0100)]
Update for 2016.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosane-backends: disable static configuration
Frank Hunleth [Wed, 30 Nov 2016 13:50:19 +0000 (08:50 -0500)]
sane-backends: disable static configuration

While sane-backends can be compiled statically, it requires
selection of a subset of scanner backends. Without this, all backends
are compiled and link errors such as the following are generated:

../backend/.libs/libsane.a(libepsonds_la-epsonds.o):(.bss+0xc): multiple definition of `source_list'
../backend/.libs/libsane.a(libepson2_la-epson2.o):(.data+0x40): first defined here
../backend/.libs/libsane.a(libepsonds_la-epsonds.o):(.data+0x10): multiple definition of `mode_params'
../backend/.libs/libsane.a(libepson2_la-epson2.o):(.data+0x0): first defined here
collect2: error: ld returned 1 exit status

Buildroot currently doesn't allow fine grained selection of backends, so
this disables static builds.

Fixes:

http://autobuild.buildroot.net/results/89c/89c6e4ec1596def74e72eb071ef4bf0f1a7cc9f8/
http://autobuild.buildroot.net/results/92a/92a54c99a9ba918ece4c56d7beb985729bee700b/
http://autobuild.buildroot.net/results/1b9/1b9eac5303dfed638063f3b18dfff5571a2c4231/
http://autobuild.buildroot.net/results/366/366979d0bd21dc2bf7f0336b9653ef3fd4e11123/

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gcc: fix ICE on xtensa, 5.x and 6.x, PR target/78603
Max Filippov [Tue, 29 Nov 2016 23:37:49 +0000 (15:37 -0800)]
package/gcc: fix ICE on xtensa, 5.x and 6.x, PR target/78603

Zero overhead loop optimization pass may incorrectly put start of the
loop between a call and its CALL_ARG_LOCATION note, resulting in the
following build error:

  ../src/pjlib-test/thread.c: In function 'thread_test':
  ../src/pjlib-test/thread.c:328:1: internal compiler error: in
    dwarf2out_var_location, at dwarf2out.c:21846

Fixes:
  http://autobuild.buildroot.net/results/d919e1276ce1d39b4b3eb09937927d5959cd69a3/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gcc: fix ICE on xtensa, 6.2, PR target/78118
Max Filippov [Tue, 29 Nov 2016 23:36:51 +0000 (15:36 -0800)]
package/gcc: fix ICE on xtensa, 6.2, PR target/78118

This fixes gcc build for xtensa configurations with call0 ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: disable posix_madvise for noMMU
Waldemar Brodkorb [Tue, 29 Nov 2016 05:39:52 +0000 (06:39 +0100)]
uclibc: disable posix_madvise for noMMU

Now that the madvise defines are disabled for noMMU targets,
architectures with MMU and noMMU support as ARM are failing to compile
in noMMU mode, since the defines are used internally in posix_madvise.c.

Disable compilation for posix_madvise() for noMMU.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouboot: support -b option for mkenvimage
tiago.brusamarello [Wed, 30 Nov 2016 10:32:33 +0000 (08:32 -0200)]
uboot: support -b option for mkenvimage

When generating the environment image the target endianess should
be taken in account for CRC calculation purposes. For big endian
targets the -b flag should be passed to the mkenvimage tool.

Signed-off-by: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-imx: bump version to 0.12.3
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:18 +0000 (11:25 +0000)]
gstreamer1/gst1-imx: bump version to 0.12.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst-omx: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:17 +0000 (11:25 +0000)]
gstreamer1/gst-omx: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-validate: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:16 +0000 (11:25 +0000)]
gstreamer1/gst1-validate: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-rtsp-server: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:15 +0000 (11:25 +0000)]
gstreamer1/gst1-rtsp-server: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-libav: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:14 +0000 (11:25 +0000)]
gstreamer1/gst1-libav: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-ugly: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:13 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-ugly: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-bad: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:12 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-bad: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-good: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:11 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-good: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gst1-plugins-base: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:10 +0000 (11:25 +0000)]
gstreamer1/gst1-plugins-base: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogstreamer1/gstreamer1: bump version to 1.10.2
Vicente Olivert Riera [Wed, 30 Nov 2016 11:25:09 +0000 (11:25 +0000)]
gstreamer1/gstreamer1: bump version to 1.10.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/bluez5_utils: bump version to 5.43
Bernd Kuhls [Tue, 29 Nov 2016 21:04:15 +0000 (22:04 +0100)]
package/bluez5_utils: bump version to 5.43

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobash: bump version to 4.4
Vicente Olivert Riera [Tue, 29 Nov 2016 12:24:04 +0000 (12:24 +0000)]
bash: bump version to 4.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoreadline: bump version to 7.0
Vicente Olivert Riera [Tue, 29 Nov 2016 12:24:03 +0000 (12:24 +0000)]
readline: bump version to 7.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogit: bump version to 2.11.0
Vicente Olivert Riera [Wed, 30 Nov 2016 09:45:05 +0000 (09:45 +0000)]
git: bump version to 2.11.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 13.0.2
Vicente Olivert Riera [Tue, 29 Nov 2016 11:38:13 +0000 (11:38 +0000)]
package/{mesa3d, mesa3d-headers}: bump version to 13.0.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobtrfs-progs: bump version to 4.8.4
Vicente Olivert Riera [Tue, 29 Nov 2016 11:41:05 +0000 (11:41 +0000)]
btrfs-progs: bump version to 4.8.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosqlite: bump version to 3150200 (3.15.2)
Vicente Olivert Riera [Tue, 29 Nov 2016 11:29:19 +0000 (11:29 +0000)]
sqlite: bump version to 3150200 (3.15.2)

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agovala: bump version to 0.34.3
Vicente Olivert Riera [Tue, 29 Nov 2016 10:34:11 +0000 (10:34 +0000)]
vala: bump version to 0.34.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: fix typo
Lucile Quirion [Tue, 29 Nov 2016 17:17:03 +0000 (12:17 -0500)]
docs/manual: fix typo

Also remove dangling reference to virtual package lists.

Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoCHANGES: fix s/malo/mali/ typo
Peter Korsgaard [Tue, 29 Nov 2016 21:51:38 +0000 (22:51 +0100)]
CHANGES: fix s/malo/mali/ typo

Reported-by: François Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojasper: bump version to 1.900.31 (security)
Vicente Olivert Riera [Tue, 29 Nov 2016 11:23:03 +0000 (11:23 +0000)]
jasper: bump version to 1.900.31 (security)

Fixed CVEs:
 - CVE-2016-9387
 - CVE-2016-9388
 - CVE-2016-9389
 - CVE-2016-9390
 - CVE-2016-9391
 - CVE-2016-9392
 - CVE-2016-9393
 - CVE-2016-9394
 - CVE-2016-9395
 - CVE-2016-9396
 - CVE-2016-9397
 - CVE-2016-9398
 - CVE-2016-9399
 - CVE-2016-9557
 - CVE-2016-9560

Changes to jasper.mk:
 - Switched site method to GitHub. 1.900.31 is not released as a tarball
   in the official website.
 - Autoreconf necessary since there isn't any configure script. We need
   to generate it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobzip2: update homepage link
Baruch Siach [Tue, 29 Nov 2016 04:41:02 +0000 (06:41 +0200)]
bzip2: update homepage link

Avoid a redirect.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoUpdate for 2016.11-rc3
Peter Korsgaard [Mon, 28 Nov 2016 22:47:40 +0000 (23:47 +0100)]
Update for 2016.11-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogst1-plugins-bad: add upstream patch to fix security issue in vmnc decoder
Peter Korsgaard [Mon, 28 Nov 2016 21:55:38 +0000 (22:55 +0100)]
gst1-plugins-bad: add upstream patch to fix security issue in vmnc decoder

As detailed by Chris Evans, the vmnc decoder contains an integer overflow which
can be exploited:

https://scarybeastsecurity.blogspot.be/2016/11/0day-poc-risky-design-decisions-in.html

Fixes CVE-2016-9445 and CVE-2016-9446.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoroseapplepi: add kernel patches to fix linux build issues with gcc 5
Peter Korsgaard [Mon, 28 Nov 2016 21:01:02 +0000 (22:01 +0100)]
roseapplepi: add kernel patches to fix linux build issues with gcc 5

Backport 2 patches from upstream (from 3.18-rc1) for gcc 5.x support and a
patch from Marco Franceschetti (https://github.com/vonfritz/kernel/) to fix
gcc 5.x compat issues in the bsp wifi drivers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agontp: fix missing optional dependencies
Jérôme Pouiller [Mon, 14 Nov 2016 13:22:36 +0000 (14:22 +0100)]
ntp: fix missing optional dependencies

ntpq and ntpdc may depends on libedit and libcap.

$ arm-linux-readelf -d ./usr/bin/ntpdc | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libcap.so.2]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libedit.so.0]
 0x00000001 (NEEDED)                     Shared library: [libncursesw.so.6]
 0x00000001 (NEEDED)                     Shared library: [libssl.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

However, build order with these libraries is not defined.

In order to keep things simple, we enforce build order even if ntpq/ntpdc are
not selected.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
[Thomas: use --without-lineeditlibs.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoautossh: honour LDFLAGS
Waldemar Brodkorb [Fri, 25 Nov 2016 18:00:16 +0000 (19:00 +0100)]
autossh: honour LDFLAGS

Fixes:
 http://autobuild.buildroot.net/results/08a458572a2e9c599dd32b837b1e5c02a6721973

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopostgresql: fix pgac_cv_snprintf_long_long_int_modifier
Peter Seiderer [Mon, 28 Nov 2016 18:53:51 +0000 (19:53 +0100)]
postgresql: fix pgac_cv_snprintf_long_long_int_modifier

Supplementary change the pgac_cv_snprintf_long_long_int_modifier from
complete format '%lld' to modifier 'll' version only (forgotten in commit
02c43157ab09f6fe4078fd1145fc9d403d66c089 ([1])).

Fixes Bug 9451 ([2]).

[1] https://git.buildroot.net/buildroot/commit/?id=02c43157ab09f6fe4078fd1145fc9d403d66c089
[2] https://bugs.busybox.net/show_bug.cgi?id=9451

Reported-by: Daniel <dde@innovaphone.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-good: add upstream patches to fix security issue in flic decoder
Peter Korsgaard [Sun, 27 Nov 2016 21:41:18 +0000 (22:41 +0100)]
gst1-plugins-good: add upstream patches to fix security issue in flic decoder

As detailed by Chris Evans, the flic decoder contains a buffer overflow which
can be exploited to cause arbitrary code execution as the user running
gstreamer:

https://scarybeastsecurity.blogspot.be/2016/11/0day-exploit-advancing-exploitation.html

Fixes CVE-2016-9634, CVE-2016-9635 and CVE-2016-9636.

add the upstream patches to fix this issue.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: drop redundant shell call when deriving BASE_DIR
Danomi Manchego [Wed, 23 Nov 2016 02:31:31 +0000 (21:31 -0500)]
Makefile: drop redundant shell call when deriving BASE_DIR

Commit 173135df5b69dfd5ae6fe6cf2de8833c6f74c143 ("core: re-enter make if
$(CURDIR) or $(O) are not canonical paths") introduced the CANONICAL_O
variable, defined as:

CANONICAL_O := $(shell mkdir -p $(O) >/dev/null 2>&1)$(realpath $(O))

This duplicates the definition of BASE_DIR, by different means:

BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)

So one of these shell calls is redundant. CANONICAL_O is defined first,
so this commit replaces the BASE_DIR derivation with $(CANONICAL_O).

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-sis: Add patch for ABI 23 support (xserver_xorg...
Bernd Kuhls [Sun, 27 Nov 2016 11:06:14 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-sis: Add patch for ABI 23 support (xserver_xorg-server 1.19+)

Re-numbered patches as well.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-qxl: Add patches for newer xserver_xorg-server releases
Bernd Kuhls [Sun, 27 Nov 2016 11:06:13 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-qxl: Add patches for newer xserver_xorg-server releases

0002-xserverfix.patch added xlib_libXfont as new dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-*: mass addition of patches for ABI 23 support ...
Bernd Kuhls [Sun, 27 Nov 2016 11:06:12 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-*: mass addition of patches for ABI 23 support (xserver_xorg-server 1.19+)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-vmware: bump version to 13.2.1
Bernd Kuhls [Sun, 27 Nov 2016 11:06:11 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-vmware: bump version to 13.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:10 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-ati: bump version to 7.8.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:09 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-ati: bump version to 7.8.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.2.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:08 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.2.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-input-synaptics: bump version to 1.9.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:07 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-synaptics: bump version to 1.9.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.2
Bernd Kuhls [Sun, 27 Nov 2016 11:06:06 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-input-keyboard: bump version to 1.9.0
Bernd Kuhls [Sun, 27 Nov 2016 11:06:05 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-keyboard: bump version to 1.9.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-input-joystick: bump version to 1.6.3
Bernd Kuhls [Sun, 27 Nov 2016 11:06:04 +0000 (12:06 +0100)]
package/x11r7/xdriver_xf86-input-joystick: bump version to 1.6.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.73
Bernd Kuhls [Sun, 27 Nov 2016 10:40:23 +0000 (11:40 +0100)]
package/libdrm: bump version to 2.4.73

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ffmpeg: bump version to 3.2.1
Bernd Kuhls [Sun, 27 Nov 2016 10:40:22 +0000 (11:40 +0100)]
package/ffmpeg: bump version to 3.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimagemagick: security bump to 7.0.3-8
Peter Korsgaard [Sun, 27 Nov 2016 21:11:33 +0000 (22:11 +0100)]
imagemagick: security bump to 7.0.3-8

Fixes CVE-2016-9556 (Heap buffer overflow in IsPixelGray).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogcc: add patch to support musl on ppc
Waldemar Brodkorb [Sun, 27 Nov 2016 15:57:04 +0000 (16:57 +0100)]
gcc: add patch to support musl on ppc

Tested with a boot in Qemu (g3beige).

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: add madvise macro patch from upstream
Waldemar Brodkorb [Sun, 27 Nov 2016 15:37:45 +0000 (16:37 +0100)]
uclibc: add madvise macro patch from upstream

Fixes:
  http://autobuild.buildroot.net/results/6f296139633df24031b20d8bd5191e0f5928ec68

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/mx6: Bump to kernel 4.8.11
Fabio Estevam [Sat, 26 Nov 2016 14:36:03 +0000 (12:36 -0200)]
configs/mx6: Bump to kernel 4.8.11

Kernel 4.8.11 brings commit 5f95e68daae397 ("clk: imx: fix integer overflow
in AV PLL round rate"), which fixes a PLL calculation bug, so bump to this
version.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "fs: use pseudo instead of fakeroot"
Peter Korsgaard [Sun, 27 Nov 2016 20:13:54 +0000 (21:13 +0100)]
Revert "fs: use pseudo instead of fakeroot"

This reverts commit 8035ceb56cc3ba2541aba0d0ead3f29900d9e310.

Moving to pseudo brought a number of issues (and longer compilation time),
so lets stick with fakeroot now that the reported ubi issue has been worked
around.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/pseudo: add a legacy symlink to emulate fakeroot"
Peter Korsgaard [Sun, 27 Nov 2016 19:34:22 +0000 (20:34 +0100)]
Revert "package/pseudo: add a legacy symlink to emulate fakeroot"

This reverts commit 7158403805f650e8e34de6c0ac0dcd9b565c679b.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/fakeroot: remove"
Peter Korsgaard [Sun, 27 Nov 2016 19:31:50 +0000 (20:31 +0100)]
Revert "package/fakeroot: remove"

This reverts commit 325cff36f74b07545389b81cee0a2acef55b487c.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "makedevs: make device node creation idempotent"
Peter Korsgaard [Sun, 27 Nov 2016 19:33:50 +0000 (20:33 +0100)]
Revert "makedevs: make device node creation idempotent"

This reverts commit c85cd189dc1ded92b78c5968860ff447ec9815ad.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/pseudo: wrap the real pseudo with a wrapper"
Peter Korsgaard [Sun, 27 Nov 2016 19:33:29 +0000 (20:33 +0100)]
Revert "package/pseudo: wrap the real pseudo with a wrapper"

This reverts commit a1d602a74d53f5610852c1763014632de145bf8b.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "fs: call the pseudo wrapper"
Peter Korsgaard [Sun, 27 Nov 2016 20:11:49 +0000 (21:11 +0100)]
Revert "fs: call the pseudo wrapper"

This reverts commit 74a3e75bb8208a8f3bb8426549fce1ea09b3be8a.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/pseudo: provide better legacy handling for fakeroot"
Peter Korsgaard [Sun, 27 Nov 2016 19:33:05 +0000 (20:33 +0100)]
Revert "package/pseudo: provide better legacy handling for fakeroot"

This reverts commit 499f28fc7ce6184c8017ccd229ffc973a520adde.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agofs/ubifs: work around fakeroot / sed -i issue on systems with SELinux enabled
Peter Korsgaard [Sat, 26 Nov 2016 23:40:27 +0000 (00:40 +0100)]
fs/ubifs: work around fakeroot / sed -i issue on systems with SELinux enabled

Fixes #9386

GNU sed -i misbehaves on systems with SELinux enabled, as it tries to copy
to the SELinux security context (xattr) from the source file to to the new
destination file, which fails under fakeroot and leaves the file with 000
permissions, causing ubinize to fail when it cannot read to configuration
file.

So as a workaround, combine the install and tweak steps in a single
sed with a redirect to the destination file instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoefibootmrg: Allow build with uClibc
Andy Shevchenko [Sun, 27 Nov 2016 14:32:04 +0000 (16:32 +0200)]
efibootmrg: Allow build with uClibc

Details at https://github.com/rhinstaller/efibootmgr/issues/61.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Thomas: efivar still doesn't build on musl, so same for efibootmgr.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: allow build with uClibc
Andy Shevchenko [Sun, 27 Nov 2016 14:32:03 +0000 (16:32 +0200)]
efivar: allow build with uClibc

Details at https://github.com/rhinstaller/efivar/issues/76.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Thomas: tweak the dependency, efivar still doesn't build with musl.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: bump to version 30
Andy Shevchenko [Sun, 27 Nov 2016 14:32:02 +0000 (16:32 +0200)]
efivar: bump to version 30

Use newest release.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.8.11
Fabio Estevam [Sat, 26 Nov 2016 14:28:35 +0000 (12:28 -0200)]
linux: bump default to version 4.8.11

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 8}.x series
Fabio Estevam [Sat, 26 Nov 2016 14:28:34 +0000 (12:28 -0200)]
linux-headers: bump 4.{4, 8}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: add option to include tools
Sam bobroff [Wed, 23 Nov 2016 00:16:52 +0000 (11:16 +1100)]
package/qemu: add option to include tools

Add an option to QEMU to include the "tools" (configure option:
--enable-tools) in the target. This adds a dependency on pixman, but
that's already present.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogcc: backport upstream patch for sync_8 in !glibc
Arnout Vandecappelle [Mon, 21 Nov 2016 23:43:39 +0000 (00:43 +0100)]
gcc: backport upstream patch for sync_8 in !glibc

gcc 4.7 introduced the sync_8 builtin functions for ARM. For ARM < v7,
this requires calling into the kernel. However, the failure path of
that call reports an error with the __write() function, which is a
glibc internal function. Therefore, it fails to link with uClibc or
musl. This was fixed in gcc 5.2.0, by replacing the __write() with
a plain write().

For sync_8 itself we have solved this with the conditions on
BR2_TOOLCHAIN_ARM_HAS_SYNC_8. However, the same function is also used
for the implementation of atomics.

For the internal toolchain, we can fix this by backporting the patch
to 4.9.4 and 4.8.5.

Fixes:
http://autobuild.buildroot.net/results/1db64b4830f499621e44523e0ef68191505e2ce9

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 13.0.1
Vicente Olivert Riera [Mon, 14 Nov 2016 14:01:36 +0000 (14:01 +0000)]
package/{mesa3d, mesa3d-headers}: bump version to 13.0.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: bump to 1.18.3
Romain Naour [Fri, 25 Nov 2016 22:26:22 +0000 (23:26 +0100)]
package/efl: bump to 1.18.3

Bug fixes release:
https://www.enlightenment.org/news/efl-1.18.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqemu-ppc: fixup wrong startup example, use either -hda or -drive
Waldemar Brodkorb [Sat, 26 Nov 2016 08:42:58 +0000 (09:42 +0100)]
qemu-ppc: fixup wrong startup example, use either -hda or -drive

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agochrony: enable pps support
James Knight [Fri, 18 Nov 2016 20:26:31 +0000 (15:26 -0500)]
chrony: enable pps support

Chrony has the ability to support PPS. Its enablement is determined
primarily from the existence of `sys/timepps.h`. This file is provided
from the pps-tools package. Adjusting Chrony's Makefile to depend on the
pps-tools package if a developer has included pps-tools as part of a
build. Relates to 2cfc966f431c7c715b3fc11ca0467d47432fca33.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: bump version to 3.7.0
Vicente Olivert Riera [Mon, 14 Nov 2016 13:15:41 +0000 (13:15 +0000)]
cmake: bump version to 3.7.0

libuv is now a required dependency.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotaskd: fix static linking issue with libuuid/libintl
Thomas Petazzoni [Fri, 25 Nov 2016 22:45:00 +0000 (23:45 +0100)]
taskd: fix static linking issue with libuuid/libintl

libuuid depends on libintl in specific scenarios, but since taskd wasn't
using pkg-config to detect libuuid, this dependency on libintl was not
taken into account. This commit adds a patch to taskd that uses
pkg-config to detect libuuid.

Fixes:

  http://autobuild.buildroot.net/results/cb5ea871812651025722d42508d4f37702088800/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython3: do not use the system OpenSSL in the host variant
Nicolas Cavallari [Tue, 22 Nov 2016 13:11:09 +0000 (14:11 +0100)]
python3: do not use the system OpenSSL in the host variant

host-python3 currently detect if there is an usable OpenSSL installation
and conditionnaly compiles the 'ssl', '_ssl' and '_hashlib' modules.
This may break compilation if the system's OpenSSL has been updated to
1.1.0 because of a bug in python, see https://bugs.python.org/issue26470
for details.

Unlike Python 2.7, Python 3 unconditionnaly compiles fallbacks for
common hash algorithm, so disabling OpenSSL will still leave Python 3
with implementations of common hash algorithm.

This adds a patch to configure.ac patch to implement a --disable-openssl
option.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: kill ADI Blackfin toolchain
Arnout Vandecappelle [Wed, 23 Nov 2016 23:40:35 +0000 (00:40 +0100)]
toolchain: kill ADI Blackfin toolchain

This toolchain has many problems which are fixed in contemporary gcc
and uClibc-ng. In addition, several hacks are needed to be able to
work with this toolchain. All these hacks are removed as well.  Also
the package exceptions for this toolchain are removed.

The BR2_BFIN_INSTALL_FDPIC_SHARED and BR2_BFIN_INSTALL_FLAT_SHARED
options don't get a legacy entry. For the ADI toolchain, there already
is a legacy entry, so it doesn't make sense to add it twice. For other
external toolchains, these options didn't actually work, because they
rely on the specific layout of the ADI toolchain.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: support gcc < 4.3
Arnout Vandecappelle [Wed, 23 Nov 2016 23:40:34 +0000 (00:40 +0100)]
toolchain-external: support gcc < 4.3

We currently support gcc as old as 4.3. However, Buildroot works
perfectly well with even older gcc versions (tested with 4.1). So we
can add an option BR2_TOOLCHAIN_EXTERNAL_GCC_OLD to support that. The
help text of this option is written with plenty of discouragement.

We use _OLD and not something like _PRE_4_3, because at some point we
will likely remove the 4.3 option and what would then require a name
change.

We don't set any _AT_LEAST option in this case because it's no use -
there is no lower bound on the version in this case. We therefore leave
BR2_TOOLCHAIN_GCC_AT_LEAST empty (the implicit default). When it is
empty, we don't do a version check at all in check_gcc_version
(previously we errored out when it was empty).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibatomic_ops: bump version to 7.4.4
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:14 +0000 (14:39 +0000)]
libatomic_ops: bump version to 7.4.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibatomic_ops: add support for MIPS architecture
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:13 +0000 (14:39 +0000)]
libatomic_ops: add support for MIPS architecture

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomoarvm: select libffi when building for MIPS
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:12 +0000 (14:39 +0000)]
moarvm: select libffi when building for MIPS

Otherwise the compilation will fail like this:

./libmoar.so: undefined reference to `dcCallbackThunkEntry'

See: https://github.com/MoarVM/MoarVM/issues/222

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomoarvm: enable optional support for libffi
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:11 +0000 (14:39 +0000)]
moarvm: enable optional support for libffi

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomoarvm: use pkgconfig to find libraries and headers
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:10 +0000 (14:39 +0000)]
moarvm: use pkgconfig to find libraries and headers

MoarVM's Configure.pl script uses pkgconfig to find libraries and
headers, but it uses the one installed in the host machine which is
wrong and can lead to errors of unsafe include paths.

Instead, make it depend on the host-pkgconf package and specify the path
to our pkgconfig binary by using the --pkgconfig configure option.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomoarvm: bump version to 2016.11
Vicente Olivert Riera [Wed, 23 Nov 2016 14:39:09 +0000 (14:39 +0000)]
moarvm: bump version to 2016.11

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: fix line endings in patch 0002
Thomas Petazzoni [Fri, 25 Nov 2016 21:40:59 +0000 (22:40 +0100)]
qextserialport: fix line endings in patch 0002

Fixes:

  http://autobuild.buildroot.net/results/074d379e4d491dd454726bed666a7e1028333ef7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: fixup enable host QEMU for powerpc64/powerpc64le
Sam bobroff [Thu, 24 Nov 2016 05:56:42 +0000 (16:56 +1100)]
package/qemu: fixup enable host QEMU for powerpc64/powerpc64le

Fixes next commit d634d9dda7f3c328d63469cb628c79da49a09e89, which itself
fixes:

  http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: enable host QEMU for powerpc64/powerpc64le
Sam bobroff [Wed, 23 Nov 2016 02:25:02 +0000 (13:25 +1100)]
package/qemu: enable host QEMU for powerpc64/powerpc64le

Needed to fix:

  http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: fixup enable host QEMU for powerpc64/powerpc64le
Sam bobroff [Thu, 24 Nov 2016 05:56:42 +0000 (16:56 +1100)]
package/qemu: fixup enable host QEMU for powerpc64/powerpc64le

Fixes next commit d634d9dda7f3c328d63469cb628c79da49a09e89, which itself
fixes:

  http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/kexec-lite: Update to latest version
Sam Mendoza-Jonas [Fri, 25 Nov 2016 02:19:53 +0000 (13:19 +1100)]
package/kexec-lite: Update to latest version

Upstream kexec-lite now has support for kexec on POWER9 based machines.
Update so this works in simulators and is ready for when real machines
are available.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroid-scripts: bump version to cfd289b1d69136b8bfd725d90cd648da4654f2bd
Dagg Stompler [Fri, 25 Nov 2016 07:52:55 +0000 (09:52 +0200)]
odroid-scripts: bump version to cfd289b1d69136b8bfd725d90cd648da4654f2bd

- add support for new monitor modes.
- fix cvbs modes

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroid-scripts: init display as early as possible
Dagg Stompler [Fri, 25 Nov 2016 07:48:46 +0000 (09:48 +0200)]
odroid-scripts: init display as early as possible

this commit will init the display as early as possible so the user can
see on screen the boot process.
the displey init will be called after the logging init to provide some
logging of the init.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoquagga: fix typo s/BPG/BGP/
Thomas Petazzoni [Fri, 25 Nov 2016 20:54:35 +0000 (21:54 +0100)]
quagga: fix typo s/BPG/BGP/

Fixes bug #9431.

Reported-by: xichaoli <xichao@sina.cn>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ola: fix missing numpy
Jörg Krause [Thu, 24 Nov 2016 21:18:18 +0000 (22:18 +0100)]
package/ola: fix missing numpy

OLAs RDM test option needs NumPy.

Note that we need to pass `ac_cv_have_pymod_numpy=yes` as NumPy builds some
shared libraries and ola checks for NumPy using a host Python test program
which fails with 'wrong ELF class'.

Fixes:
http://autobuild.buildroot.net/results/750/750c9bcc753e2c1b7b05d6c43fabf4c405e15f04/
http://autobuild.buildroot.net/results/24a/24ada1e0ec695cb12028048728a9d1e2bcf75a03/
http://autobuild.buildroot.net/results/111/111c5f3eed6a5931de27a1b0b02be6e2114198e6/
.. and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: tell qmake to generate .pc file
Arnout Vandecappelle [Thu, 24 Nov 2016 22:37:46 +0000 (23:37 +0100)]
qextserialport: tell qmake to generate .pc file

Instead of creating our own .pc file with a patch, just tell qmake to
do it by adding create_pc to CONFIG.

This corrects the .pc file for Qt5. Previously, the include directory
was set to /usr/include, while for Qt5 it should be /usr/include/qt5.
This hasn't caused any autobuild failures since no other package uses
qextserialport.

Note, however, that the package is now called Qt5ExtSerialPort in Qt5,
while before it was qextserialport like in the Qt4 case.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: install QExtSerialPort header with qmake
Arnout Vandecappelle [Thu, 24 Nov 2016 22:37:45 +0000 (23:37 +0100)]
qextserialport: install QExtSerialPort header with qmake

Instead of manually copying the QExtSerialPort header introduced in
patch 0002, update the patch to include this header in the qmake
project file so it gets properly installed.

While we're at it, convert to a git-formatted patch.

Fixes:
http://autobuild.buildroot.net/results/818b564a6e23bcecf4afc7e53811227b08e5f4eb
http://autobuild.buildroot.net/results/0b6c2d7c63329f5e790f02ccd29f14a317eadc71
http://autobuild.buildroot.net/results/ac552b63c6fb099a136066cda421f68e639808fa

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogpsd: Fix building with gcc 6.x
Alexey Brodkin [Fri, 25 Nov 2016 11:00:42 +0000 (14:00 +0300)]
gpsd: Fix building with gcc 6.x

When building C++ parts of gpsd (for example Qt bindings) with gcc 6.x following
failure happens, see [1]:
------------------------------>8-------------------------------
<command-line>:0:0: warning: "_LARGEFILE_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
In file included from clock_gettime.c:10:0:
compiler.h: In function 'void memory_barrier()':
compiler.h:93:25: error: 'memory_order_seq_cst' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                         ^~~~~~~~~~~~~~~~~~~~
compiler.h:93:25: note: suggested alternative:
In file included from .../output/host/usr/arc-buildroot-linux-uclibc/include/c++/6.2.1/atomic:41:0,
                 from compiler.h:75,
                 from clock_gettime.c:10:
.../output/host/usr/arc-buildroot-linux-uclibc/include/c++/6.2.1/bits/atomic_base.h:62:7: note:   'memory_order_seq_cst'
       memory_order_seq_cst
       ^~~~~~~~~~~~~~~~~~~~
In file included from clock_gettime.c:10:0:
compiler.h:93:45: error: 'atomic_thread_fence' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                                             ^
compiler.h:93:45: note: suggested alternative:
In file included from .../output/host/usr/arc-buildroot-linux-uclibc/include/c++/6.2.1/atomic:41:0,
                 from compiler.h:75,
                 from clock_gettime.c:10:
.../output/host/usr/arc-buildroot-linux-uclibc/include/c++/6.2.1/bits/atomic_base.h:101:3: note:   'std::atomic_thread_fence'
   atomic_thread_fence(memory_order __m) noexcept
   ^~~~~~~~~~~~~~~~~~~
scons: *** [qt-clock_gettime.os] Error 1
scons: building terminated because of errors.
------------------------------>8-------------------------------

As discussed on gpsd mailng list here [2] the only work-around as of today is to
add "-std=gnu++98" to both CFLAGS and CXXFLAGS which we implement here.

Fixes:
http://autobuild.buildroot.net/results/e8593a8ebf2f05cc93235a8129a2ba8b839d6d90
http://autobuild.buildroot.net/results/ff766f4f514c9cb4891873167f4e9b7870051883
http://autobuild.buildroot.net/results/1a4/1a4dbd9ee5e0c7255843228731beab030ca005ca
http://autobuild.buildroot.net/results/1a4/1a4dbd9ee5e0c7255843228731beab030ca005ca
and many others, see http://autobuild.buildroot.net/?reason=gpsd-3.16

[1] http://autobuild.buildroot.net/results/e85/e8593a8ebf2f05cc93235a8129a2ba8b839d6d90/build-end.log
[2] http://lists.nongnu.org/archive/html/gpsd-dev/2016-09/msg00082.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Cc: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/br2-external: restore compatibility with old distros
Yann E. MORIN [Sat, 19 Nov 2016 10:52:26 +0000 (11:52 +0100)]
core/br2-external: restore compatibility with old distros

Currently, the br2-external script uses bash-4's associative arrays.

However, some oldish enterprise-class distros like RHEL5 still use
bash-3.1 which lacks associative arrays.

We restore compatibility with those oldish distros using 'eval' to
emulate associative arrays, as suggested by Arnout.

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: Pass "-mno-compact-casesi" when building for ARCv1
Zakharov Vlad [Tue, 22 Nov 2016 10:42:25 +0000 (13:42 +0300)]
trousers: Pass "-mno-compact-casesi" when building for ARCv1

Compact casesi patterns don't have a reload version. This causes build
failures of "trousers" package for ARC.

Current patch disables compact casesi patterns for ARCv1 (750D and 770D)
via passing "-mno-compact-casesi" option when compiling "trousers".

This change is a temporary workaround and the feature is going to be
fixed in the next ARC toolchain release version.

Fixes:
http://autobuild.buildroot.org/results/d2c/d2c16d8ba022b070c4dbeba5e7ea41f14d706691//

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>