mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
x11-plugins/gkrellshoot: mark as C17-only
Problem is both on gkrellm side and gkrellshoot side, true signature of problem function pointer is "void (*cb_button_click)(GkrellmDecalbutton *b, gpointer data)" but it's passed everywhere inside gkrellm as "void (*func)()", and gkrellshoot assigns to this fp a function with signature "void (*)(GkrellmDecalbutton *)" Can't be done in C23 without changing both packages, so settign standard to C17 allows package to be built and used. Closes: https://bugs.gentoo.org/944389 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/103 Merges: https://codeberg.org/gentoo/gentoo/pulls/103 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gkrellm-plugin toolchain-funcs
|
||||
inherit gkrellm-plugin toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
|
||||
HOMEPAGE="http://gkrellshoot.sourceforge.net/"
|
||||
@@ -27,6 +27,8 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
append-cflags -std=gnu17 #944389
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user