summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* conntrack-tools: work around build issue with muslRodrigo Rebello2015-11-301-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building conntrack-tools with kernel headers >= 4.2 + musl fails due to a well-known symbol clash that occurs when userspace and kernel headers are included simultaneously (see [1], question 7, for details). In the case of conntrack-tools, the inclusion of both 'netinet/in.h' and 'linux/in.h' occurs inside the C helper files (src/helpers/*.c) indirectly via e.g. 'libnetfilter_conntrack/libnetfilter_conntrack.h', which itself includes 'netinet/in.h', and 'linux/netfilter.h', which includes 'linux/in.h' in kernel headers >= 4.2. The approach to solving this type of conflict with musl usually involves removing the inclusion of kernel headers or refactoring the code so as to avoid the mentioned simultaneous inclusion. This is unfortunately non-trivial in the case of conntrack-tools since the clashing headers get included indirectly by headers that are strictly necessary (because of definitions used in some helper callbacks). Work around the issue by defining __GLIBC__ when musl is used. This eliminates the conflicts as the kernel headers avoid redefining certain symbols when they see __GLIBC__ defined (linux/libc-compat.h). Note that other glibc-compatible libraries, like uClibc, already do that internally. Fixes: http://autobuild.buildroot.net/results/66e/66ec247fa0fc385bef8d2084c65bf5cad3a8e8ca/ http://autobuild.buildroot.net/results/624/624a0d48decd819eb58cbb3c58ee904b87ebfb21/ [1] http://wiki.musl-libc.org/wiki/FAQ Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libsigsegv: fix sparc64 compileWaldemar Brodkorb2015-11-301-0/+16
| | | | | | | | | Compile tested for sparc/glibc and sparc64/glibc. Fixes following autobuilder problem: http://autobuild.buildroot.net/results/1d8e0c22594aef53f7a4de3491454aa78311c815/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libv4l: v4l-utils need localeBernd Kuhls2015-11-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | To reproduce the setlocale-related build error use this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y After enabling locale support the build error is fixed: BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y Fixes http://autobuild.buildroot.net/results/f2e/f2e4e34fb14ce355a6e92afc83024b0445f52513/ http://autobuild.buildroot.net/results/fe5/fe56063ddd2232fea7699f5117497beb3deca11e/ http://autobuild.buildroot.net/results/1be/1be55f096ddef2aa38fdba681ed97cf74905477a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* valgrind: add a patch to fix MIPS R6 by replacing ADDI with ADDIUVicente Olivert Riera2015-11-301-0/+51
| | | | | | | | | | | | | | | | | The ADDI instruction has been removed for MIPS R6, so valgrind fails to build for this revision level because it uses that assembly instruction. Using ADDIU instead fixes the problem. The patch has been sent upstream: https://bugs.kde.org/show_bug.cgi?id=356112 Fixes: http://autobuild.buildroot.net/results/488/488937704b3b6bae8daed7b24da8c740b56f4d84/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libglib2: force arm mode when building with thumb1Peter Korsgaard2015-11-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | Fixes #8491 glib/valgrind.h contains inline asm not compatible with thumb1, so build it in arm mode: CC libglib_2_0_la-gstringchunk.lo /tmp/ccSVEXME.s: Assembler messages: /tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#3' /tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#13' /tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#29' /tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#19' /tmp/ccSVEXME.s:589: Error: lo register required -- `orr r10,r10,r10' Makefile:2087: recipe for target 'libglib_2_0_la-gslice.lo' failed Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/zmqpp: fix missing install of static libraryJörg Krause2015-11-291-0/+30
| | | | | | | zmqpp's Makefile does not install the static library. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zmqpp: fix static build issuesJörg Krause2015-11-293-3/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Makefile for zmqpp builds both shared and static libraries and the client binary. This leads to several build issues in a pure static library context: * R_ARM_TLS_LE32 relocation not permitted in shared object * relocation R_ARC_32_ME against `_ZSt7nothrow' can not be used when making a shared object; recompile with -fPIC We add a minimal patch to add some basic handling of building a shared or a static library only. Additionally, disable the client for static only builds as it depends on building the shared library in zmqpp's Makefile. As there is already version 4.1.2 available which provides a CMake build file which solves this issue (probably, not tested) we don't care for now. Fixes: http://autobuild.buildroot.net/results/345/345771eb488c60585e388fbbf4490df936e88e19/ http://autobuild.buildroot.net/results/21b/21b6912c70a5c300bdabde53bee6a1d9cc3bbb02/ http://autobuild.buildroot.net/results/d98/d9882d2ba00da16f76cea6d86a84cd4815ebbba2/ [Thomas: - don't change TARGET_CONFIGURE_OPTS, use ZMQPP_MAKE_OPTS instead. - simplify condition logic.] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gpsd: work-around ICE when compiling for microblaze with GCC5Sergio Prado2015-11-291-1/+3
| | | | | | | | | | | | GCC 5.X generates an ICE when compiling gpsd for microblaze due to optimizations, so lets disable it for now to works around this problem. A bug was reported to the gcc bug tracker: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485 Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uemacs: remove XCASE flag to allow musl buildsAlex Suykov2015-11-291-0/+16
| | | | | | | | Fixes http://autobuild.buildroot.net/results/e92/e929de08954684e275a2f682264551b6cb07886a/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/glmark2: Wayland-gl support also needs eglBernd Kuhls2015-11-291-1/+1
| | | | | | | | | | | | | | We were missing the egl dependency when enabling Wayland GL support: https://github.com/glmark2/glmark2/blob/master/src/wscript_build#L28 Fixes http://autobuild.buildroot.net/results/858/8587d0cea86efa4c6e98817cadc7cce0b1b36e3d/ http://autobuild.buildroot.net/results/1f6/1f6853d5f7a83be60ccdf4f071a1df1491cf8137/ http://autobuild.buildroot.net/results/a4d/a4d830291ee8550b3c544ade7169218d5edd4d52/ http://autobuild.buildroot.net/results/536/536a8dc62783633943770a278dc9f1c6c5c0807c/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* yad: needs gtk3-x11Gustavo Zacarias2015-11-291-1/+1
| | | | | | | | | Doesn't build with broadway or wayland since it wants the X-variant of gdk. Fixes: http://autobuild.buildroot.net/results/91d/91dc6ab749f967ae046f856f3f592d5a548499c6/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/tovid: Fix typoBernd Kuhls2015-11-291-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/minidlna: Fix typoBernd Kuhls2015-11-291-2/+2
| | | | | | | | Fixes http://autobuild.buildroot.net/results/5ac/5ac519320ec79cf8117060dcc2620aa517845000/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/skeleton: also handle merged /usr in the stagingYann E. MORIN2015-11-281-0/+18
| | | | | | | | | | | | | | | | | | | | | | When the target uses a merged /usr setup, gdbserver will only report paths in /lib to the remote gdb, which in turn will only look for libraries in staging/lib and never in staging/usr/lib. So. the merged (or non-merged) /usr setup must be replicated in the staging. The best solution where to do so is in the skeleton package, since it is guaranteed to come before any package that installs things in the staging, and even before the (internal or external) toolchain as well. Reported-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/skeleton: parameterise the symlinks-or-mkdir macroYann E. MORIN2015-11-281-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | currently, we only make the merged symlinks or non-merged mkdirs in the target directory. This is fine, as long as one does not run gdb. However, as soon as one wants to run gdbserver on the target, gdb will only search for libraries in /lib in the sysroot. In preparation for a patch to fix that, make the symlink-or-mkdir macro a function that takes as parameter the base directory where to create symlinks or mkdir in. Move the function declarations out of the custom/non-custom skeleton conditional block, so they are always available. Reported-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: use the same logic as opencv3 for gstreamer supportVicente Olivert Riera2015-11-282-3/+33
| | | | | | | | | | | | | | The logic for enabling gstreamer support in opencv is not correct. We select gstreamer-0.10 packages but then we enable gstreamer1 support in the opencv.mk file. opencv3 has the correct logic, so let's use it in opencv as well. Fixes: http://autobuild.buildroot.net/results/f6d/f6d0a4ffe347cbb868998856aca674ba8bc2e281/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/minidlna/S60minidlnad: add force-reload to rebuild DBBenoît Thébaudeau2015-11-281-3/+6
| | | | | | | | | | Add a force-reload operation that restarts minidlnad and makes it rebuild its database. This is what Debian does, and this is useful when media_dir is changed in the configuration file or when inotify can not detect changes inside the media directories (e.g. in case of a mount). Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dcron: startup fails with setpgid: Operation not permittedDale Ghent2015-11-281-2/+2
| | | | | | Signed-off-by: Dale Ghent <daleg@omniti.com> Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rubix: add a hash fileVicente Olivert Riera2015-11-281-0/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/autossh: really fix the path to sshYann E. MORIN2015-11-281-0/+3
| | | | | | | | | | | | | | | | | The ./configure script is not up-to-date with what is in configure.ac, which prevents --with-ssh from working properly. So, we autoreconfigure autossh, which fixes the issue. Note however that this is not really an autotools package, since it only uses autoconf and not automake. However, making it a generic pacakge is not trivial, since autossh really wants config.h as generated by ./configure. Using the autotools infra in this case helps us easily autoreconfiguring without to manual depend on all the autotools-relates host packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* espeak: fix build on sparc64Thomas Petazzoni2015-11-271-0/+31
| | | | | | | | | | | | | sparc64 needs object files to be built with -fPIC in order to be usable in shared libraries, otherwise the shared library cannot be created. Fixes: http://autobuild.buildroot.org/results/8b8/8b894f0bd42c18e7cda98c15480757f10d743423/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gstreamer1: add symlink to gstconfig.h in legacy locationYann E. MORIN2015-11-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After version 1.4 (the previous one packaged in Buildroot), gstreamer has changed the location where it installs its gstconfig.h, because it is architecture-dependent, see upstream commit: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=444ceb068424122ceba46d8cc48a53b8b32c3cf5 However, this causes build failures in some pcakges (at least FreeRDP is known to break) because either they do not use pkg-config (bad!) or, like FreeRDP, have a broken buildsystem and have not yet fixed their build failures [0]. In Buildroot, we do not really care about architecture-dependent locatios, because we only build for one architecture. So, the legacy location of that header is not problematic to us. Create a symbolic link to gstconfig.h in its legacy location. Fixes numerous FreeRDP build failures: http://autobuild.buildroot.org/results/438/4384ab572bdcb1d148bcdae5a67d8b0bf26d3049 http://autobuild.buildroot.org/results/b00/b0060f16c7464c240bc7d3b0ff17c9cb311fe30d http://autobuild.buildroot.org/results/cad/cadb2fb90ce66b1fa3051a6fcfb7c8142f420c31 ... [0] FreeRDP does have a commit supposedly fixing the build with "newer" gstreamer versions: https://github.com/FreeRDP/FreeRDP/commit/bea27fd919b64ee8d97996409e279e1e83d13594 but it makes the whole build completely fail, as it does not even detect gstreamer anymore. Sigh... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rpi-userland: fix musl compileSergio Prado2015-11-271-0/+23
| | | | | | | | | | | | | | | | | | When building with musl, the build fails with a conflicting type qualifier error. This is because musl defines stdout and stderr as const pointers and RaspiVidYUV.c adds an extern declaration as normal pointers. Since this declaration already comes in on the header (stdio.h), there is no need to add an extern declaration, so removes it. Fixes: http://autobuild.buildroot.net/results/27bd6f32cecdb4e7c95247c1feaf2732c1d8e3fa Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libsoc: fix MUSL build issueYegor Yefremov2015-11-271-0/+28
| | | | | | | | | | | Without <linux/ioctl.h> include compiler cannot find _IOC_SIZEBITS macro, when using MUSL C library. Fixes: http://autobuild.buildroot.net/results/c86/c86fc75212df75906222772854c283396bb880d2/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mongrel2: disable polarssl assembly as we do in the polarssl packageVicente Olivert Riera2015-11-271-0/+15
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/a92292a1defd441938d3de6c5049473d520ebc4e/ http://autobuild.buildroot.net/results/f3db555dc29e0e0e87762fcace913853ffe2b176/ mongrel2 bundles polarssl so it has the same problem as the polarssl with the assembly optimization, so let's use the same solution here. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* polarssl: disable assembly for MIPS R6Vicente Olivert Riera2015-11-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/c34/c343c68d3e0dae4a7ecd59693298a9622bc56662/ Is not yet supported and the compilation will fail like this: [ 4%] Building C object library/CMakeFiles/polarssl.dir/bignum.c.o /tmp/ccLDxl9G.s: Assembler messages: /tmp/ccLDxl9G.s:92: Error: opcode not supported on this processor: mips32r6 (mips32r6) `multu $13,$14' /tmp/ccLDxl9G.s:93: Error: opcode not supported on this processor: mips32r6 (mips32r6) `addi $10,$10,4' /tmp/ccLDxl9G.s:94: Error: opcode not supported on this processor: mips32r6 (mips32r6) `mflo $14' /tmp/ccLDxl9G.s:95: Error: opcode not supported on this processor: mips32r6 (mips32r6) `mfhi $9' [...] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: fix incorrect handling of the comparison argumentsLada Trimasova2015-11-261-0/+71
| | | | | | | | | | | | | | | | | | | | This patch fixes compiler error during libbroadvoice build. The comparison arguments where not correctly handled. The fix is done in development tree: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/b4035128ba8f8bbbf9527f54f261a87b304ca4c5 and will be a part of the next release of ARC GNU tools. Once that new release happens this patch must be removed. Fixes: http://autobuild.buildroot.net/results/bea/beace68a19382b43370c798dcf7d2ef412f9d75e/ Signed-off-by: Lada Trimasova <ltrimas@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* conntrack-tools: add patch to fix build with muslRodrigo Rebello2015-11-261-0/+37
| | | | | | | | | | | | | | | | | The conntrack-tools sources use the GNU version of 'struct tcphdr', which is not exposed by the musl headers unless _GNU_SOURCE is defined. The included patch adds the missing definition to 'src/helpers/rpc.c'. Fixes: http://autobuild.buildroot.net/results/046/04613c47b9669c28cc3ff47c65607c23730ef691/ http://autobuild.buildroot.net/results/520/520e8f327b9bd7eea59657bad702c35c632d115d/ http://autobuild.buildroot.net/results/3d3/3d36403ba80089faea5dd06bc7e4414d593bbfc1/ ... Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gst-plugins-ugly: add legal infoGustavo Zacarias2015-11-261-0/+4
| | | | | | | | Even though COPYING is LGPLv2.1+ many code files state v2+ Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gst-plugins-bad: add legal infoGustavo Zacarias2015-11-261-0/+3
| | | | | | | | Even though COPYING.LIB is LGPLv2+ many code files state v2.1+ Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gst-plugins-good: add legal infoGustavo Zacarias2015-11-261-0/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gst-plugins-base: add legal infoGustavo Zacarias2015-11-261-0/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gstreamer: add legal infoGustavo Zacarias2015-11-261-0/+3
| | | | | | | | | Even though COPYING is LGPLv2+ many code files state v2.1+ Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gstreamer: can optionally use libxml2Gustavo Zacarias2015-11-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | gstreamer can optionally build against libxml2, so account for it in the dependencies. Functionality seems somewhat reduced without it, an example being misdetecting subtitle (.srt) files as subrip mime type instead of subtitle itself. A failed scenario would be: $ gst-typefind-0.10 some.srt some.srt - application/x-subrip When built with libxml2: $ gst-typefind-0.10 some.srt some.srt - application/x-subtitle This doesn't affect gstreamer 1.x since it dropped any use of libxml2. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jimtcl: fix sparc64 compileWaldemar Brodkorb2015-11-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | It is general safe to use -fPIC for all architectures. -fpic breaks sparc64 compile. Generally gcc just optimize position independent code for m68k, powerpc and sparc with -fpic. The size differences are minimal, f.e. for powerpc: text data bss dec hex filename 235983 5336 684 242003 3b153 output/target/usr/lib/libjim.0.75 236255 8456 684 245395 3be93 output/target/usr/lib/libjim.so.0.75 So instead of keeping special settings for sparc64 it would be better to always use -fPIC in general. Runtime tested on Qemu ARM, MIPS, PPC and SPARC64. Fixes: http://autobuild.buildroot.net/results/98f391ad13f22828c022f185c0166daabdb4c1ad/ [Peter: tweak comment as suggested by Thomas] Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jimtcl: fix broken symlinksWaldemar Brodkorb2015-11-261-2/+2
| | | | | | | | | The created symlinks are wrong. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* collectd: fix musl builds (ipc module)Alex Suykov2015-11-261-0/+28
| | | | | | | | | | | | | | | | | | src/ipc.c uses shm_info.used_ids which musl only provides when _GNU_SOURCE is defined. The issue has been fixed upstream, but the fix is not in their latest 5.5.0 release. Adding their patch as a temporary fix to be removed on the next version bump. https://github.com/collectd/collectd/issues/1147 https://github.com/collectd/collectd/commit/3e3848349b753d78a0b1d19648fb394866856bda Fixes http://autobuild.buildroot.net/results/e981c08f01d2916246a17b1dc112e8b3e8c628e2/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* localedef: add a hash fileVicente Olivert Riera2015-11-261-0/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt5base: support OVERRIDE_SRCDIRPeter Korsgaard2015-11-264-41/+29
| | | | | | | | | With OVERRIDE_SRCDIR we don't apply any of the qt5base patches, but the custom specs files are needed to be able to build - So install these in the configure step instead of having them as a patch. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libethumb: add patch to fix static buildsPeter Korsgaard2015-11-261-0/+28
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/060/060c4b7303976994a13ecd286e936fee59c7a095/ http://autobuild.buildroot.net/results/d01/d0111a8524f74c6bc596d85289addbed0e77f8c6/ http://autobuild.buildroot.net/results/147/1471f8a4838369ed825da406f88aae425465e827/ http://autobuild.buildroot.net/results/a35/a35a39fee7c24abe0bbe12d71bebf92005367391/ And many more. Ethumb includes dlfcn.h even though it isn't used, breaking builds with purely static toolchains. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* strongswan: bump to version 5.3.5Gustavo Zacarias2015-11-262-4/+4
| | | | | | | | Fixes only one connection regresssion in 5.3.4, see https://wiki.strongswan.org/issues/1213 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libgsasl: fix auto dependenciesGustavo Zacarias2015-11-261-1/+9
| | | | | | | | | | | | IDN can be picked up from the distro installation so use a prefix when it's available or otherwise just disable it, fixes: http://autobuild.buildroot.org/results/5d9/5d9baf528c47c5167ec8d2a6941cb06b4ca761ca/ Also disable libgcrypt support which wasn't accounted for and doesn't seem to work either to possibly avoid the same problem. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quagga: fix static linkingThomas Petazzoni2015-11-262-0/+43
| | | | | | | | | | | | | This commit adds a patch to quagga's configure.ac to fix a library ordering problem that is causing a build failure in static linking scenario. Fixes: http://autobuild.buildroot.org/results/c08/c086f3128232af70d24fd5faf9282ce91d6488ef/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dropbear: bump version to 2015.70Peter Korsgaard2015-11-262-2/+2
| | | | | | Bugfix release, fixes password auth support detection. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/audiofile: add patch to fix static linking issueJörg Krause2015-11-261-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Static linking userspace programs such as MPD against libaudiofile fails if FLAC is available, because libaudiofile is linked against FLAC, but this isn't expressed in the pkg-config file: [..] arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libaudiofile.a(FLAC.o): In function `FLACDecoder::reset2()': FLAC.cpp:(.text+0x58): undefined reference to `FLAC__stream_decoder_seek_absolute' /home/buildroot/build/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libaudiofile.a(FLAC.o): In function `FLACEncoder::sync2()': FLAC.cpp:(.text+0x88): undefined reference to `FLAC__stream_encoder_finish' /home/buildroot/build/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libaudiofile.a(FLAC.o): In function `FLACDecoder::~FLACDecoder()': FLAC.cpp:(.text+0xc4): undefined reference to `FLAC__stream_decoder_delete' /home/buildroot/build/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libaudiofile.a(FLAC.o): In function `FLACEncoder::~FLACEncoder()': FLAC.cpp:(.text+0x164): undefined reference to `FLAC__stream_encoder_delete' /home/buildroot/build/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libaudiofile.a(FLAC.o): In function `FLACDecoder::runPull()': [..] The Libs.private field is specifically designed for such usage: >From pkg-config documentation: Libs.private: This line should list any private libraries in use. Private libraries are libraries which are not exposed through your library, but are needed in the case of static linking. Therefore, this patch adds a reference to FLAC as well as to lcov in the Libs.private field of the pkg-config file. Patch status: Pending https://github.com/mpruett/audiofile/pull/26 Fixes: http://autobuild.buildroot.net/results/e95/e959e703a8db81032da27bece295c121e53d830d/ http://autobuild.buildroot.net/results/10b/10bd00209f098e8782016355cb2f46d1d3e7d3a3/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libgtk3: mark wayland support as brokenGustavo Zacarias2015-11-251-0/+2
| | | | | | | | | | | | | As discussed on the list it requires a matching XDG runtime API level which is currently not the case (wayland/weston newer than libgtk3 at the moment). It doesn't normall exhibit build failures, but it fails at runtime regardless. Also fixes: http://autobuild.buildroot.net/results/aae/aae4266c16189b295cc7ceb60000c504ebb60752/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kompexsqlite: needs threads and wcharGustavo Zacarias2015-11-251-2/+5
| | | | | | | | | | | | | Wchar is used by the wrapper, fixes: http://autobuild.buildroot.net/results/763/763d9aff86085b67077fc665e462cee81962246d/ Threads can be disabled by the sqlite build system, but since kompexsqlite doesn't use the sqlite buildsystem and only uses a bundled version it falls back to the default for *nixes (enabled), fixes: http://autobuild.buildroot.net/results/c0b/c0b65be99603a2c2f07a38078f6b5622353915ca/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dropbear: bump to version 2015.69Gustavo Zacarias2015-11-252-2/+2
| | | | | | | Fixes a port-forwarding regression in 2015.68 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sqlite: add license filePeter Rosin2015-11-251-0/+1
| | | | | | | Signed-off-by: Peter Rosin <peda@axentia.se> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* guile: needs strtol_l, not available for muslPeter Korsgaard2015-11-251-2/+3
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/861/861c3038dff03ded6d97b8bb61ba8754dc21c7f8/ http://autobuild.buildroot.net/results/cd3/cd3377585e4fa5c7457c50e827d96adeceaac04b/ http://autobuild.buildroot.net/results/b45/b453c419292dba39aaa309ea057e56662e9af2f6/ Musl doesn't implement strtol_l, which is used by guile. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud