kumquat-buildroot/package/kmod
Thomas Petazzoni 72c77544ba kmod: add patch to fix build failure with old gcc versions
When building with old gcc versions (such as gcc 4.3), the current
version of kmod fails with:

shared/util.c:52: error: expected identifier or '(' before 'do'
shared/util.c:52: error: expected identifier or '(' before 'while'

This is due to a use of the internal assert_cc() macro outside of a
function, while this macro is defined for old gcc versions in a way that
cannot be used outside functions.

This wasn't noticed by the autobuilders because we don't have such old
target compilers. On the host side, we have some autobuilder instances
with such old gcc versions, but host-kmod is only used by the linux
package, which is never tested by the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-06-07 09:27:11 +02:00
..
0001-fix-O_CLOEXEC.patch
0002-shared-util.c-assert_cc-can-only-be-used-inside-func.patch kmod: add patch to fix build failure with old gcc versions 2017-06-07 09:27:11 +02:00
Config.in
kmod.hash
kmod.mk boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+ 2017-04-01 15:18:10 +02:00