summaryrefslogtreecommitdiffstats
path: root/package/kmod/0002-shared-util.c-assert_cc-can-only-be-used-inside-func.patch
Commit message (Collapse)AuthorAgeFilesLines
* kmod: bump to 25Adam Duskett2018-08-201-56/+0
| | | | | | | | | | | | | With the introduction of Python 3.7.0 in commit 6e7e733f3bbd8669e02f097ad5a49ba565e1718e, kmod needs to be bumped to version 25. Fixes: http://autobuild.buildroot.net/results/5ba7f2e9d0802890e275f7da160ad0aad87b6f56/ Signed-off-by: Adam Duskett <aduskett@greenlots.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* kmod: add patch to fix build failure with old gcc versionsThomas Petazzoni2017-06-071-0/+56
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>
OpenPOWER on IntegriCloud