Commit graph

3298 commits

Author SHA1 Message Date
Jo-Philipp Wich
44d7aa7789 Merge pull request #1426 from jow-/tinc-musl-compat
tinc: fix musl compatibility
2015-06-19 16:03:08 +02:00
Jonas Gorski
e49e86e036 znc: update to 1.6.0
Fixes compilation with musl.

Requires GCC 4.7 or newer, so broken for octeon.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-06-19 13:10:19 +02:00
Jo-Philipp Wich
a9277215a9 Merge pull request #1427 from jow-/tgt-musl-compat
tgt: fix musl compatibility
2015-06-19 12:21:26 +02:00
Matthias Schiffer
c38ba76698 fastd: fix musl compatibility
Prefer linux/if_ether.h over netinet/if_ether.h if available since the
musl libc if_ether.h header does not allow mixing with kernel headers,
it will result in a struct ethhdr redefinition error.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2015-06-19 04:16:09 +02:00
Nuno Goncalves
789dafdb11 Merge pull request #1428 from jow-/tcsh-musl-compat
tcsh: fix musl compatibility
2015-06-19 01:55:52 +01:00
Marcel Denia
b051ddec8d perl-*: Bump PKG_RELEASE
Trigger a rebuild to make everything adapt to perl 5.22.0.

Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
7a545cc9b3 perl: Update to 5.22.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
38be10c1bc perl: Disable strerror_r usage with musl
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
dc475f7886 perl: Enable threading support by default for all libc implementations
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
392e1475c8 perl: Upgrade base package dependencies
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
34d6d0a1a1 perl: Upgrade base package definitions
- Remove perlbase-cgi
- Remove Module::Build from perlbase-module
- Remove perlbase-package

Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
5cdd6755f3 perl: Upgrade configuration files to perl 5.22.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Marcel Denia
273d4bd6a7 perl: Have perl's major version number in one central place
This will simplify updating the package in the future.

Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-06-18 23:58:45 +02:00
Jo-Philipp Wich
23bd12a89a Merge pull request #1416 from jow-/vpnc-musl-compat
vpnc: fix musl compatibility
2015-06-18 23:51:28 +02:00
Luka Perkov
95f5cf9c04 Merge pull request #1410 from jow-/libnet-musl-compat
libnet-1.2.x: fix musl compatiblity
2015-06-18 23:49:41 +02:00
Luka Perkov
91e9675264 Merge pull request #1429 from jow-/sysstat-musl-compat
sysstat: fix musl compatibility
2015-06-18 23:48:30 +02:00
Ted Hess
4bd4272fff gst1-libav: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-18 16:27:27 -04:00
Ted Hess
63fa44476d mocp: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-18 15:06:29 -04:00
Jo-Philipp Wich
431ad5f682 sysstat: fix musl compatibility
Add missing `limits.h` and `sys/types.h` includes to the appropriate
source files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 20:42:37 +02:00
Jo-Philipp Wich
b2aba46406 tcsh: fix musl compatibility
Avoid using `union wait` under musl as it does not provide this definition.
Implement solution suggested by http://www.openwall.com/lists/musl/2013/06/21/4

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 20:33:40 +02:00
Jo-Philipp Wich
e55822ec2b tgt: fix musl compatibility
- Include `sys/user.h` if `__WORDSIZE` is undefined
 - Add `fcntl.h` to `libscc.c` in order to declare `loff_t`

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 20:18:15 +02:00
Jo-Philipp Wich
4004ec2c75 tinc: fix musl compatibility
Let configure include `sys/if_tun.h` when testing for `netinet/if_ether.h`
to detect the Kernel/libc header conflict on musl.

After this patch, configure will correctly detect `netinet/if_ether.h` as
unusable and the subsequent compilation will not attempt to use it.

Fixes the following compatibility error:

	In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_tun.h:20:0,
	                 from linux/device.c:24:
	.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/linux/if_ether.h:137:8: error: redefinition of 'struct ethhdr'
	 struct ethhdr {
	        ^
	In file included from .../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/net/ethernet.h:10:0,
	                 from linux/../have.h:180,
	                 from linux/../system.h:26,
	                 from linux/device.c:21:
	.../staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.9/include/netinet/if_ether.h:96:8: note: originally defined here
	 struct ethhdr {
	        ^
	make[5]: *** [linux/device.o] Error 1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 19:51:59 +02:00
Ted Hess
db2eba4dc4 mjpg-streamer: Fix musl compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-18 08:35:28 -04:00
Ted Hess
327f74e884 Merge pull request #1413 from thess/libv4l-fix
libv4l: Fix musl compatibility, update to 1.6.3
2015-06-18 08:30:44 -04:00
Nikos Mavrogiannopoulos
5f29cb628c Merge pull request #1420 from yousong/libpam-musl-fix-3-sigh
libpam: fix build.
2015-06-18 15:16:07 +03:00
Yousong Zhou
d5697f6a95 libpam: fix build.
- Update PKG_MD5SUM.
 - Update PKG_RELEASE.
 - Update patch 0001- to always use /lib directory.
 - Refresh other patches.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-06-18 18:07:01 +08:00
Luka Perkov
530772b9d0 Merge pull request #1412 from jow-/libdaq-musl-compat
libdaq: fix musl compatibility
2015-06-18 10:14:25 +02:00
Jo-Philipp Wich
38d8e72cbc Merge pull request #1415 from papaj0e/master
vnstat: fix musl compatibility
2015-06-18 00:30:39 +02:00
Jo-Philipp Wich
b3c3ccc10a vpnc: fix musl compatibility
- Add missing `sys/ttydefaults.h` include to `config.c`
 - Restrict usage of `error.h` to glibc and uclibc only
 - Avoid including `linux/if_tun.h` on non-glibc/uclibc to prevent
   musl kernel/libc header conflicts

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 00:30:21 +02:00
Peter Ivanov
192884514f vnstat: fix musl compatibility
Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
2015-06-18 01:26:46 +03:00
Ted Hess
6104632bc2 libv4l: Fix musl compatibility, update to 1.6.3
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-06-17 18:02:03 -04:00
Jo-Philipp Wich
c83350fd91 libdaq: fix musl compatibility
Change occurences of `sys/unistd.h` to the standard `unistd.h` include.
Fixes build against musl.

Also refresh existing patch since it applied with fuzz.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 23:47:52 +02:00
Jo-Philipp Wich
e4925c1efd libnet-1.2.x: fix musl compatiblity
The correct includes for musl are protected by an __GLIBC__ check in the
upstream sources.

Since musl does not provide own defines to identify itself, simply invert
the condition to !__UCLIBC__ in order to fix the build on all libc flavors
supported by OpenWrt.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 23:36:41 +02:00
Nikos Mavrogiannopoulos
7a3493a9eb ocserv: don't use isolate workers as seccomp is not enabled
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:55:08 +02:00
Nikos Mavrogiannopoulos
0bfd280c2d ocserv: use procd for init file
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:55:08 +02:00
Jo-Philipp Wich
d379979793 Merge pull request #1408 from jow-/screen-musl-compat
screen: fix musl compatibility
2015-06-17 22:41:27 +02:00
Jo-Philipp Wich
e0f8adcb0a Merge pull request #1405 from jow-/zabbix-musl-compat
zabbix: fix musl compatibility
2015-06-17 22:41:05 +02:00
Naoir
7c32778cbf Merge pull request #1403 from jow-/perl-musl-compat
perl: fix musl compatibility
2015-06-17 22:38:09 +02:00
Nikos Mavrogiannopoulos
16ce68e228 ocserv: disabled MIPS16
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:07:42 +02:00
Nikos Mavrogiannopoulos
00671e854d openconnect: updated to 7.06 and disabled MIPS16
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:06:52 +02:00
Nikos Mavrogiannopoulos
49bfb73dfd transmission: increase the number of retries for respawn
The default 5 per hour is too small for transmission which may
crash quite some times.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:03:40 +02:00
Álvaro Fernández Rojas
fc959cf5b8 flashrom: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-17 21:34:08 +02:00
Jonathan McCrohan
81f9889bb0 Merge pull request #1406 from jow-/xinetd-musl-compat
xinetd: fix musl compatibility
2015-06-17 20:08:18 +01:00
Nikos Mavrogiannopoulos
b3d2d64928 gnutls: updated to 3.4.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 20:47:21 +02:00
Jo-Philipp Wich
e838c7f736 screen: fix musl compatibility
Add missing `os.h` include to `utmp.c` to pull in the required `utmp.h` header.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 20:01:59 +02:00
Jo-Philipp Wich
644ae71ebc xinetd: fix musl compatibility
Pass HAVE_RLIM_T via TARGET_CPPFLAGS since configure uses that define
but never actually declares it.

Without doing that, `config.h` tries to declare `rlim_t` itself which
leads to `config.h:126:16: error: 'long long long' is too long for GCC`
with musl on at least x86_64.

Also refresh patches while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:31:03 +02:00
Daniel Golle
780cf06d28 gnunet: update source
get rid of another cross-compile patch now fixed upstream

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-17 19:24:57 +02:00
Jo-Philipp Wich
c3f0347649 zabbix: fix musl compatibility
Under musl a compilation unit cannot include both linux/kernel.h
and sys/sysinfo.h at the same time since that leads to a redefinition
of `struct sysinfo`.

Change the autoconf template to include linux/kernel.h while testing
for sys/sysinfo.h to test for that conflict.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 19:13:44 +02:00
Ted Hess
eba5ce8042 Merge pull request #1401 from kooiot/master
libzmq upgrade to 4.1.1  lzmq upgrade to 0.4.3
2015-06-17 12:49:40 -04:00
Ted Hess
0106a6931a Merge pull request #1393 from hnyman/vsftpd-musl
vsftpd: fix musl compatibility
2015-06-17 12:46:20 -04:00