commit: f3188587b9239347c58e9662ab903b2d929038b2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Wed Nov 11 12:27:23 2020 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Wed Nov 11 12:46:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3188587
sys-apps/flashrom-1.2-r3: meson: change c_std to from c99 to gnu99 Required on ppc64 (at least) due to the use of asm() in raw-hw-access code. Interestingly enough, there is no mention of either gnu99 or c99 anywhere in the Makefile so it might have worked by pure chance there. Closes: https://bugs.gentoo.org/720210 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> sys-apps/flashrom/files/flashrom-1.2_meson-fixes.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-apps/flashrom/files/flashrom-1.2_meson-fixes.patch b/sys-apps/flashrom/files/flashrom-1.2_meson-fixes.patch index a60e4030fca..bb185fae822 100644 --- a/sys-apps/flashrom/files/flashrom-1.2_meson-fixes.patch +++ b/sys-apps/flashrom/files/flashrom-1.2_meson-fixes.patch @@ -1,5 +1,14 @@ --- a/meson.build +++ b/meson.build +@@ -2,7 +2,7 @@ + version : run_command('util/getversion.sh', '-v').stdout().strip(), + license : 'GPL-2.0', + meson_version : '>=0.47.0', +- default_options : ['warning_level=2', 'c_std=c99'], ++ default_options : ['warning_level=2', 'c_std=gnu99'], + ) + + # libtool versioning @@ -44,6 +44,7 @@ config_gfxnvidia = get_option('config_gfxnvidia') config_internal = get_option('config_internal')