mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
sys-apps/irqbalance: fix c23 pointer declarations
Closes: https://bugs.gentoo.org/948494 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
parent
0e9ec0880e
commit
3e24e161af
21
sys-apps/irqbalance/files/irqbalance-1.9.4-c23.patch
Normal file
21
sys-apps/irqbalance/files/irqbalance-1.9.4-c23.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- a/ui/ui.h
|
||||
+++ b/ui/ui.h
|
||||
@@ -30,7 +30,7 @@
|
||||
void display_banned_cpus();
|
||||
int toggle_cpu(GList *cpu_list, int cpu_number);
|
||||
void get_new_cpu_ban_values(cpu_ban_t *cpu, void *data);
|
||||
-void get_cpu();
|
||||
+void get_cpu(cpu_node_t *node, void *data __attribute__((unused)));
|
||||
void handle_sleep_setting();
|
||||
void handle_cpu_banning();
|
||||
|
||||
--- a/ui/irqbalance-ui.h
|
||||
+++ b/ui/irqbalance-ui.h
|
||||
@@ -83,7 +83,6 @@
|
||||
void assign_cpu_mask(cpu_node_t *node, void *data);
|
||||
void parse_into_tree(char *data);
|
||||
gboolean rescan_tree(gpointer data);
|
||||
-int main();
|
||||
|
||||
|
||||
#endif /* IRQBALANCE_UI_H */
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -44,6 +44,7 @@ src_prepare() {
|
||||
(
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
eapply "${FILESDIR}"/${P}-drop-protectkerneltunables.patch
|
||||
eapply "${FILESDIR}"/${P}-c23.patch
|
||||
)
|
||||
|
||||
# Follow systemd policies
|
||||
Loading…
x
Reference in New Issue
Block a user