diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-18 16:14:55 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-18 16:14:55 -0500 |
commit | bb14c1cda57cc3cbd78f6fd590d0c558d8756a1f (patch) | |
tree | 7c16e0e8f60aa0502af504d406c4f91faa3fe0ee /media-gfx/frogr | |
parent | x11-misc/grub2-theme-preview: py3.10 + DISTUTILS_USE_SETUPTOOLS (diff) | |
download | gentoo-bb14c1cda57cc3cbd78f6fd590d0c558d8756a1f.tar.gz gentoo-bb14c1cda57cc3cbd78f6fd590d0c558d8756a1f.tar.bz2 gentoo-bb14c1cda57cc3cbd78f6fd590d0c558d8756a1f.zip |
media-gfx/frogr: fix meson warning level option
Closes: https://bugs.gentoo.org/824234
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-gfx/frogr')
-rw-r--r-- | media-gfx/frogr/files/frogr-1.5-warning-level.patch | 28 | ||||
-rw-r--r-- | media-gfx/frogr/frogr-1.5.ebuild | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/media-gfx/frogr/files/frogr-1.5-warning-level.patch b/media-gfx/frogr/files/frogr-1.5-warning-level.patch new file mode 100644 index 000000000000..68020c3e16b8 --- /dev/null +++ b/media-gfx/frogr/files/frogr-1.5-warning-level.patch @@ -0,0 +1,28 @@ +From 623d7e397baff3a8ab1695e190b13bc60153b64c Mon Sep 17 00:00:00 2001 +From: Mario Sanchez Prada <msanchez@gnome.org> +Date: Mon, 7 Dec 2020 22:26:34 +0100 +Subject: [PATCH] Use meson's "warning_level" build option instead of + "warnlevel" + +The correct option's name is "warning_level", so change it for it +to actually be effective while building. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 37f76d7..87e4de3 100644 +--- a/meson.build ++++ b/meson.build +@@ -2,7 +2,7 @@ project('frogr', 'c', + version: '1.5', + license: 'GPL3', + default_options: [ +- 'warnlevel=2', ++ 'warning_level=2', + 'werror=true' + ]) + +-- +GitLab + diff --git a/media-gfx/frogr/frogr-1.5.ebuild b/media-gfx/frogr/frogr-1.5.ebuild index c10fdc5a79c7..011ea5c4f2b7 100644 --- a/media-gfx/frogr/frogr-1.5.ebuild +++ b/media-gfx/frogr/frogr-1.5.ebuild @@ -29,6 +29,10 @@ DEPEND="${RDEPEND} " # TODO add a useflag for enable-video or header-bar??? +PATCHES=( + "${FILESDIR}/frogr-1.5-warning-level.patch" +) + src_configure() { local emesonargs=( # bug #714132 |