summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
...
* guile: use libltdl, needs dynamic librariesPeter Korsgaard2015-11-251-2/+4
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/8d0/8d0e8ab0e7a83fda9ee65f973b5b749b246f1c1a/ http://autobuild.buildroot.net/results/381/38137ccf29023f38c540483a6655c4b8d6778abd/ http://autobuild.buildroot.net/results/1d8/1d864588f71b8c13a67781cf91ad058c74eb7abc/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* c-ares: define random fileGustavo Zacarias2015-11-251-0/+1
| | | | | | | | | When cross-compiling it assumes there's none, however that's not true. Specify the usual /dev/urandom for this usage, it's used for random key generation on startup. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* macchanger: add license filePeter Rosin2015-11-251-0/+1
| | | | | | [Peter: use the "main" source file, main.c] Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/autossh: do not look for the host's ssh commandYann E. MORIN2015-11-251-0/+2
| | | | | | | | | | | autossh looks for 'ssh' in the PATH, which may not exist on a build machine. Fixes a private autobuild failure (soon to go public). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* spidev_test: add a hash fileVicente Olivert Riera2015-11-251-0/+3
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lttng-tools: fix build with gcc 5.xThomas Petazzoni2015-11-251-0/+443
| | | | | | | | | | | | This commit backports an upstream commit from lttng-tools to solve gcc 5.x related build issues. Fixes: http://autobuild.buildroot.org/results/65e/65e0fbddfee14aff84a4ca59cd7315e1e250b55b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iodine: fix build issue with muslPeter Korsgaard2015-11-251-1/+12
| | | | | | | | | | | | | | | Fxies: http://autobuild.buildroot.net/results/1ab/1ab4f284c9cfc2a6a42aebc6da12a766b09acc4c/ http://autobuild.buildroot.net/results/a39/a39603a143821eb4e07af42ee4ee44fdde02f9e0/ http://autobuild.buildroot.net/results/384/3847e8ef28e1527764eee18224f361115aa7063b/ http://autobuild.buildroot.net/results/899/899f8844291d384cde96475e7a9ee98b69f8c803/ Iodine contains a local implementation of daemon(3) for older systems, unless __GLIBC__ is defined. Musl does provide it, but unlike uClibc it doesn't define __GLIBC__. Work around it by pretending to be glibc as we otherwise end up with symbol conflicts. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iodine: use correct CFLAGS/LDFLAGSPeter Korsgaard2015-11-251-1/+1
| | | | | | | | The iodine build system correctly appends the needed CFLAGS/LDFLAGS to what was passed in the environment, so use TARGET_CONFIGURE_OPTS to ensure our flags are passed. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gmp: disable assembly for MIPS r6 ISAGustavo Zacarias2015-11-251-0/+5
| | | | | | | | | | It's still not supported/implemented, fixes: http://autobuild.buildroot.net/results/d06/d0686b3e7b8884f93034d4ea4b79fa8590ffa221/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> 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>
* pcre: security bump to version 8.38Gustavo Zacarias2015-11-242-4/+3
| | | | | | | | Fixes: https://blog.fuzzing-project.org/29-Heap-Overflow-in-PCRE.html Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gstreamer1: fix unaligned detection for nios2Peter Korsgaard2015-11-241-1/+1
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/cc6/cc6a6cab4f8c405941a71c6665a7dc2e34c39cb9/ http://autobuild.buildroot.net/results/2a3/2a350ac8be87a25d7f87f240943c816932f80a14/ Similar to how we do it for arc/xtensa/microblaze. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gstreamer: fix unaligned detection for nios2Peter Korsgaard2015-11-241-1/+1
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/874/874c4da3ca7d27551f580994e016bcbd3597a107/ http://autobuild.buildroot.net/results/f8b/f8ba30408b5ce15022792e823a0c8fd3a004fb31/ http://autobuild.buildroot.net/results/bf2/bf2f374357ed7a36f072d89ed0687c942eb1ee6d/ http://autobuild.buildroot.net/results/14a/14aaac32b92939957a9f39ac2ba8a949f9ddd22a/ Similar to how we do it for arc/xtensa/microblaze. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libfreeimage: fix build issue with gcc 5.xPeter Korsgaard2015-11-241-0/+1172
| | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/fe9/fe9c5ee9cdc52c48df5efe7560ccd5a0d3cde154/ http://autobuild.buildroot.net/results/358/3580d520da6f8d8f4ffeffcd2b969ebb0851ad37/ http://autobuild.buildroot.net/results/0cb/0cb2f0c69301c7a85a354c435da245cd904533fb/ http://autobuild.buildroot.net/results/52c/52c2967015aa79843db05e901a1563447a4029b2/ gcc 5.x gets confused by the string literals used in the inline assembly in the files from the embedded libwebp library. This issue is already fixed in upstream libwebp, but that fix is not directly applicable to the tweaked version embedded in libfreeimage. I haven't been able to find a public VCS for libfreeimage, but the issue has been discussed on the freeimage list: http://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openntpd: fix linking problem when building staticallyVicente Olivert Riera2015-11-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem looks like this: CCLD ntpd ../compat/.libs/libcompat.a(libcompat_la-arc4random.o): In function `arc4random': /br/output/build/openntpd-5.7p4/compat/arc4random.c:183: undefined reference to `pthread_mutex_lock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:185: undefined reference to `pthread_mutex_unlock' ../compat/.libs/libcompat.a(libcompat_la-arc4random.o): In function `arc4random_buf': /br/output/build/openntpd-5.7p4/compat/arc4random.c:192: undefined reference to `pthread_mutex_lock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:194: undefined reference to `pthread_mutex_unlock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:194: undefined reference to `pthread_mutex_unlock' collect2: error: ld returned 1 exit status Adding -pthread to CFLAGS fixes the problem. Fixes: http://autobuild.buildroot.net/results/b12/b120b6da87ae4eb355d06f2fd8f4fc8050410897/ [Peter: unconditionally pass in CFLAGS, add comment about why] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "openssl: enable parallel build and installation"Yann E. MORIN2015-11-232-9/+5
| | | | | | | | | | | | | | | | This reverts commit 55e4ec054c21b9164e10c323a5f0afff1deb1d67. There are still build failures in parallel builds: http://autobuild.buildroot.org/results/9a0/9a0fc1064010a658155e6a18ec72e0e3c58ec7f6/ http://autobuild.buildroot.org/results/c28/c28064f383da1f577bd9227d004f1939daf4579f/ http://autobuild.buildroot.org/results/218/2180b9d900b27103acc92a2932f7ffa560b04831/ and so on... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fastd: add upstream patch to fix build with muslRodrigo Rebello2015-11-221-0/+261
| | | | | | | | | | | | | | | | | | | The missing 'sys/queue.h' issue when building with musl has been solved by an upstream commit which eliminates the dependency on 'net/if_ether.h' and, consequently, 'sys/queue.h' (needed on OpenBSD since 'net/if_ether.h' uses LIST_* definitions). As usual, the included patch can be dropped in the future when a new version of this package gets released and integrated into Buildroot. Fixes: http://autobuild.buildroot.net/results/14e/14e291e22b8c8a9c590f0c6ef4316f8ab0aa1fff/ http://autobuild.buildroot.net/results/ed4/ed4437bed01138380cd42c0dc943cd3ec85e26f0/ http://autobuild.buildroot.net/results/ad2/ad226962413dece4fee07143a2bcfe07c44d55b6/ ... Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rpi-userland: bump versionYann E. MORIN2015-11-221-1/+1
| | | | | | | | | | | | | | | | Fixes build with glibc-2.22. Also fixes hard-to-trigger deadlock in highly threaded case, and fix libraries dependencies. Misc minor improvements in test programs as well. Fixes #8446. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: gamadril.dev@gmail.com Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* oprofile: don't install shared library in BR2_STATIC_LIBS=y configsThomas Petazzoni2015-11-221-1/+7
| | | | | | | | | | | | When building with BR2_STATIC_LIBS=y, no shared library gets built, so the installation of libopagent.so* fails. This commit gets rid of this installation step when BR2_STATIC_LIBS=y. Fixes: http://autobuild.buildroot.net/results/2a6604622392a3f127fb61505e2751a88a90af7b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zmqpp: add patch to fix build issueJörg Krause2015-11-222-0/+2
| | | | | | | | | | | | Add a patch from upstream to fix build error: error: no match for 'operator<<' Fixes: http://autobuild.buildroot.net/results/ed4508a00663b03632a4eb9411ba05852d02fd88/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* apitrace: do not use bundled version of libpngJérôme Pouiller2015-11-222-1/+2
| | | | | | | | | | | | | | | | | In case libpng is not found apitrace its own version of libpng. However current bundled version (1.1.16) is impacted by https://sourceforge.net/p/libpng/bugs/230/. We simplify problem by forcing use of external libpng. Notice this patch also impact use of zlib. Apitrace also use its own version of zlib if none was found. Since we select libpng, external zlib is also selected. Fix: http://autobuild.buildroot.net/results/ac790191127cf4d8b19d0c7c640981264772f503/ Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bullet: disable on microblazeArnout Vandecappelle2015-11-221-0/+4
| | | | | | | | | | | | | | | gcc doesn't finish compiling btSoftBody.cpp when optimization is enabled. Fixes: http://autobuild.buildroot.net/results/6e4a9ede477b031f47f7e271c38f67f432a3573c http://autobuild.buildroot.net/results/7dc4ab759dd3b1e3e03fe52c78e31327340bf8c9 http://autobuild.buildroot.net/results/637bae8b2be6c4c64f4f7c661cc8d4606b553538 [Thomas: add reference to gcc bug.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mpd: fix static build issue with alsaJörg Krause2015-11-221-0/+32
| | | | | | | | | | | | mpd forgets to link the archive libmixer_plugins.a against libasound leading to undefined references in a static context. Add a patch sent upstream to fix: http://autobuild.buildroot.net/results/f10/f10c6ea2d29bbcef8f33fc9ba1430e99edca895d/ http://autobuild.buildroot.net/results/312/31212c484f452fe4ea6ae084d3edefc4580830d8/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gpsd: add work-around and re-enable for microblazeSergio Prado2015-11-223-6/+7
| | | | | | | | | | | | | | | | | Fix (works around) bug #6872 https://bugs.busybox.net/show_bug.cgi?id=6872 The gpsd package was disabled due to an internal compiler error for the microblaze architecture in the following commit: http://git.buildroot.net/buildroot/commit/?id=d517415bcda380336f4a27bf248cef4d81791c9e The problem is due to an specific GCC optimization flag (-fexpensive-optimizations), so disabling it we can work around this problem and compile gpsd for the microblaze architecture. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libxml2: security bump to version 2.9.3Danomi Manchego2015-11-2210-442/+2
| | | | | | | | | | | | | | | | | | | - Fixes: - CVE-2015-5312 - Another entity expansion issue - CVE-2015-7497 - Avoid an heap buffer overflow in xmlDictComputeFastQKey - CVE-2015-7500 - Fix memory access error due to incorrect entities boundaries - CVE-2015-8242 - Buffer overead with HTML parser in push mode - Incorporates upstreamed patches as well, which also fixed: - CVE-2015-1819 - The xmlreader in libxml allows remote attackers to cause a denial of service (memory consumption) via crafted XML data, related to an XML Entity Expansion (XEE) attack. - CVE-2015-7941 - out-of-bounds memory access. - CVE-2015-7942 - heap-buffer-overflow in xmlParseConditionalSections. - CVE-2015-8035 - DoS via crafted xz file. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/yajl: add patch to fix static build issueJörg Krause2015-11-222-0/+2
| | | | | | | | | | | | | | | | | | mpd's plugin soundcloud requires yajl. In static build context yajl library is named yajl_s so linking against yajl fails: /bin/ld: cannot find -lyajl Use a pull request patch [1] to let the shared and the static library have the same name. They will be differentiated by the extension (.so or .a). Fixes: http://autobuild.buildroot.net/results/5ac/5acba9b0ed852512fc88e83973a3b5389e6d54be/ http://autobuild.buildroot.net/results/739/73934ad67efa121fedeaa03fdad290aa63f1485e/ [1] https://github.com/lloyd/yajl/pull/174 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/yajl: add hashJörg Krause2015-11-221-0/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ustr: fix build issue with GCC5Sergio Prado2015-11-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following error messages: ustr-cmp-code-so-dbg.o: In function `ustr_pool_make_subpool': ustr-cmp-dbg-code.c:(.text+0x0): multiple definition of `ustr_pool_make_subpool' ustr-b-code-so-dbg.o:ustr-b-dbg-code.c:(.text+0x0): first defined here ustr-cmp-code-so-dbg.o: In function `ustr_pool_clear': ustr-cmp-dbg-code.c:(.text+0x44): multiple definition of `ustr_pool_clear' ustr-b-code-so-dbg.o:ustr-b-dbg-code.c:(.text+0x44): first defined here ustr-cmp-code-so-dbg.o: In function `ustr_pool_free': ... That's because the application assumes gnu89 behaviour of "inline" and "extern inline", but gcc5 defaults to gnu11. So we need to force gnu89 in the compilation flags. Fixes: http://autobuild.buildroot.org/results/fde02ae2883a058b98e57ba087466d820ab1a5eb/ http://autobuild.buildroot.org/results/e04849c31e2a2528282ce6cdcf69aa10076d721d/ http://autobuild.buildroot.org/results/7b3295e711fc51907c311adb63f0b7d06a90a7b9/ ...and many others. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zmqpp: add hash fileJörg Krause2015-11-211-0/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mongrel2: add upstream patch to fix symbol conflictRodrigo Rebello2015-11-211-0/+45
| | | | | | | | | | | | | | | | | | | | The symbol 'max_align_t', defined in the mongrel2 sources (src/mem/align.h), is also defined in one of the standard headers in some toolchains (the ones based on GCC 5+ apparently). This conflict has been solved upstream, and a new version (1.10.0) containing the fix has been released already, so this backported patch may be dropped in the future when mongrel2 gets a version bump. Fixes: http://autobuild.buildroot.net/results/b7f/b7f86bdda094de96633e9921e0e5895eadc89217/ http://autobuild.buildroot.net/results/f62/f623703aa6d7992b67d305331734e4ed0c7b2be4/ http://autobuild.buildroot.net/results/eb3/eb385cb4f87078122028e85cbe31caa01d794991/ ... Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cryptodev-linux: add build fix patch for 4.3+ kernelsGustavo Zacarias2015-11-191-0/+50
| | | | | | | | Patch status: sent upstream https://mail.gna.org/public/cryptodev-linux-devel/2015-11/msg00003.html Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sdl: overwrite libpth autodetectionPeter Seiderer2015-11-191-0/+9
| | | | | | | | | | | | | | | | | | | | | The sdl libpth autodetection gets confused in case a host version is present. Overwrite libpth autodection for the target build dependent on BR2_PACKAGE_LIBPTHSEM_COMPAT and use pth-config from staging directory. Fixes [1]: checking for pthreads... no checking for pth-config... /usr/bin/pth-config checking pth... yes [...] ./src/SDL.c:33:17: fatal error: pth.h: No such file or directory #include <pth.h> [1] http://autobuild.buildroot.net/results/733/73330e51b3c099d179004db0b9522ac13358b8f7 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: fix build with muslThomas Petazzoni2015-11-192-0/+133
| | | | | | | | | | | | | This commit adds two patches to the iproute2 package that are necessary to build it against the musl C library. Both patches have been submitted upstream. Fixes: http://autobuild.buildroot.org/results/5d3/5d3f8c2242e9a89bb545166fc7d70429d2cddd42/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* xapp_sessreg: fix build issue with gcc 5Thomas Petazzoni2015-11-191-0/+32
| | | | | | | | | | | | Backport an upstream commit that fixes the build of xapp_sessreg with gcc 5. Fixes: http://autobuild.buildroot.org/results/ec0/ec01564854f0738df05b8d995d9f0db396a0e5a8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-file-util: restore host variant and fix dependenciesCarlos Santos2015-11-191-0/+2
| | | | | | | | | | | The host variant was added by us (DATACOM) because it is useful to build some third-party packages that we use in our firmware. We humbly request you to keep it alive. Declare that it requires host-perl-module-build. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libserial: add patch to fix build failure on sparc/sparc64Thomas Petazzoni2015-11-191-0/+65
| | | | | | | | | | | | | | | | Like c-periphery and lua-periphery, libserial fails to build because it tries to use some baud rate definitions that are not available on sparc and sparc64 (the highest baud rates). This commit fixes that by introducing a patch to libserial to make the use of these high baud rates conditional on their availability. Fixes: http://autobuild.buildroot.org/results/f9b/f9bbb8a6636cd3e3203b059f627aac7b1d511eb2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libuecc: not available in static buildsPeter Korsgaard2015-11-192-2/+8
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/c0d/c0d91fc0fa28fda0ffd1c9a236bde5435222bcc0/ Unconditionally builds a shared library. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/minidlna: fix static buildYann E. MORIN2015-11-191-1/+2
| | | | | | | | | libvorbis.pc does not exist, it is named vorbis.pc. Also, sqlite3 was missing when querying pkg-config. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* slang: fix build on muslThomas Petazzoni2015-11-191-0/+47
| | | | | | | | | | | | Add patch from Alpine Linux to fix the build of slang with the musl C library. Fixes: http://autobuild.buildroot.org/results/bc3/bc3cca6e6a906afa4c57dcddfb4a9ecd0cb44398/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* directfb: disable for musl toolchainsPeter Korsgaard2015-11-181-2/+4
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/548/548bf7b800a946e97135c0ba66363f388e517d6f/ Directfb doesn't build with musl, and upstream seems dead - So just disable it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: use 'depends on' for directfbPeter Korsgaard2015-11-181-4/+3
| | | | | | | This is the only package where we select directfb. Change it to use depends on to match what we do for the X11 backend. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* core/pkg-infrastructures: remove LD_LIBRARY_PATH from the environmentBen Boeckel2015-11-181-2/+0
| | | | | | | | | | | | | | | If system tools are selected, the host's lib/ directory may shadow libraries from the system which are configured differently and do not have all of the symbols required by the system tool. Since buildroot now uses rpath everywhere, LD_LIBRARY_PATH should not be necessary anyways. Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* core: check host executables have appropriate RPATHYann E. MORIN2015-11-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we build our host programs, and they depend on a host library we also build, we want to ensure that program actually uses that library at runtime, and not the one from the system. We currently ensure that in two ways: - we add a RPATH tag that points to our host library directory, - we export LD_LIBRARY_PATH to point to that same directory. With these two in place, we're pretty much confident that our host libraries will be used by our host programs. However, it turns our that not all the host programs we build end up with an RPATH tag: - some packages do not use our $(HOST_LDFLAGS) - some packages' build system are oblivious to those LDFLAGS In this case, there are two situations: - the program is not linked to one of our host libraries: it in fact does not need an RPATH tag [0] - the program actually uses one of our host libraries: in that case it should have had an RPATH tag pointing to the host directory. For libraries, they only need an RPATH if they depend on another library that is not installed in the standard library path. However, any system library will already be in the standard library path, and any library we install ourselves is in $(HOST_DIR)/usr/lib so already in RPATH. We add a new support script that checks that all ELF executables have a proper DT_RPATH (or DT_RUNPATH) tag when they link to our host libraries, and reports those file that are missing an RPATH. If a file missing an RPATH is an executable, the script aborts; if only libraries are are missing an RPATH, the script does not abort. [0] Except if it were to dlopen() it, of course, but the only program I'm aware of that does that is openssl, and it has a correct RPATH tag. [Peter: reworded as suggested by Arnout, fix HOT_DIR typo in comment] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mplayer: Fix linking with libvorbis/libdvdreadBernd Kuhls2015-11-181-2/+4
| | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/7f6/7f6e5396e95a3c3b676ca59bedc5317aa88e5f4c/ http://autobuild.buildroot.net/results/6ac/6acd9cf25c3088d313247510db47a214fff30c67/ http://autobuild.buildroot.net/results/a0d/a0da41bb734dbcdb17e13d852cfbdba5e069429e/ http://autobuild.buildroot.net/results/d0c/d0caf60c1ddf4e05086c93f646e32b5ddc75b6ce/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libxml2: add several security patchesGustavo Zacarias2015-11-186-0/+360
| | | | | | | | | | | | | | | Fixes: CVE-2015-1819 - The xmlreader in libxml allows remote attackers to cause a denial of service (memory consumption) via crafted XML data, related to an XML Entity Expansion (XEE) attack. CVE-2015-7941 - out-of-bounds memory access. CVE-2015-7942 - heap-buffer-overflow in xmlParseConditionalSections. CVE-2015-8035 - DoS via crafted xz file. All patches upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: add patch to fix SSP support detectionRodrigo Rebello2015-11-181-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QEMU configure script incorrectly assumes SSP is supported by the toolchain in some cases where the compiler accepts -fstack-protector* flags but the C library does not provide the necessary __stack_chk_*() functions. Even though a full compile and link test is performed by the script, this is done with a code fragment which does not actually meet any of the conditions required to cause the compiler to emit canary code when the -fstack-protector-strong variant is used. As no compile or link failure occurs in this case, a false positive is generated and a subsequent error is seen when the probe for pthreads is performed. The fix consists in patching the configure script to use a more appropriate test program for the SSP support checks. Fixes: http://autobuild.buildroot.net/results/efb/efbb4e940543894b8745bb405478a096c90a5ae2/ http://autobuild.buildroot.net/results/32d/32d6d984febad2dee1f0d31c5fa0aea823297096/ http://autobuild.buildroot.net/results/aa6/aa6e71c957fb6f07e7bded35a8e47be4dadd042c/ ...and many others. Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gauche: fix build error on BR2_STATIC_LIBSkei-k@ca2.so-net.ne.jp2015-11-181-2/+3
| | | | | | | | | | | Building gauche depends on dynamic link, so add dependency on !BR2_STATIC_LIBS. Fix: http://autobuild.buildroot.org/results/da5/da5b9605552d4914c5e6f0d890367b92536419c1 Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-headers: bump 3.2.x seriesGustavo Zacarias2015-11-181-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* liquid-dsp: blacklist CS powerpc toolchainsGustavo Zacarias2015-11-171-0/+5
| | | | | | | | | | | They're unable to build liquid-dsp successfully resulting in an internal compiler error. Fixes: http://autobuild.buildroot.net/results/2ac/2acd745f4e5ec6edfd09afcd57b9ece216724c1b/ [Thomas: propagate the dependencies to the comment.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: Patch Qt config to detect sunxi-maliDaniel Nyström2015-11-171-0/+109
| | | | | | | | | | | | | | | | | | | | | Currently Qt 5.5 only detects and build the eglfs_mali device integration if the commercial Mali driver package from ARM is used. This patch makes sure the Qt configure script also test for the sunxi-mali driver package. It also removes the dependency of the proprietary fbdev_window.h. This issue is set to be fixed in upcoming Qt 5.6: https://codereview.qt-project.org/#/c/125837/ [Thomas: renumber patch from 0010 to 0009.] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Tested-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: build tested before the patch, verified that indeed the eglfs-mali plugin doesn't get built, and that after the patch it gets built as expected.]
* pulseaudio: fix build issue with old gcc versionsThomas Petazzoni2015-11-171-0/+64
| | | | | | | | | | | | | This commit adds a patch to pulseaudio (already submitted upstream) that avoids a structure redefinition build failure that occurs with old gcc versions. Fixes: http://autobuild.buildroot.org/results/a1e/a1e7e59f9c65a6ce38800439c78b7808048ad708/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud