Commit | Line | Data |
---|---|---|
69c15ad8 AE |
1 | https://672856.bugs.gentoo.org/attachment.cgi?id=557978 |
2 | https://bugs.gentoo.org/672856 | |
3 | ||
4 | The patch fixes building qtbase with linux kernels < 4.11. | |
5 | See bug #34431. | |
6 | ||
7 | diff -Naurp a/src/corelib/global/minimum-linux_p.h b/src/corelib/global/minimum-linux_p.h | |
8 | --- a/src/corelib/global/minimum-linux_p.h 2018-11-25 15:51:11.000000000 +0300 | |
9 | +++ b/src/corelib/global/minimum-linux_p.h 2018-12-17 13:25:38.176823753 +0300 | |
10 | @@ -75,14 +75,9 @@ QT_BEGIN_NAMESPACE | |
11 | * - accept4 2.6.28 | |
12 | * - renameat2 3.16 QT_CONFIG(renameat2) | |
13 | * - getrandom 3.17 QT_CONFIG(getentropy) | |
14 | - * - statx 4.11 QT_CONFIG(statx) | |
15 | */ | |
16 | ||
17 | -#if QT_CONFIG(statx) | |
18 | -# define MINLINUX_MAJOR 4 | |
19 | -# define MINLINUX_MINOR 11 | |
20 | -# define MINLINUX_PATCH 0 | |
21 | -#elif QT_CONFIG(getentropy) | |
22 | +#if QT_CONFIG(getentropy) | |
23 | # define MINLINUX_MAJOR 3 | |
24 | # define MINLINUX_MINOR 17 | |
25 | # define MINLINUX_PATCH 0 |