diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-10 07:55:53 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-10 07:55:53 +0000 |
commit | abdac0974cc607caae75add255850b1e0fc3b250 (patch) | |
tree | 2b0ea2953352587eb13891c8d53238f4e71bcf36 /main/irqbalance/aarch64-fix.patch | |
parent | a86921b6522c4459134657c382dc5e22828644d9 (diff) | |
download | aports-abdac0974cc607caae75add255850b1e0fc3b250.tar.bz2 aports-abdac0974cc607caae75add255850b1e0fc3b250.tar.xz |
main/irqbalance: fix build for aarch64 and warnings for musl
Diffstat (limited to 'main/irqbalance/aarch64-fix.patch')
-rw-r--r-- | main/irqbalance/aarch64-fix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/irqbalance/aarch64-fix.patch b/main/irqbalance/aarch64-fix.patch new file mode 100644 index 0000000000..3c317b5faf --- /dev/null +++ b/main/irqbalance/aarch64-fix.patch @@ -0,0 +1,27 @@ +From 65d71ea5f80b6d56907bd67825981042eaf98d6e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi> +Date: Tue, 10 Jan 2017 09:51:32 +0200 +Subject: [PATCH 3/3] fix aarch64 compile error due to undefined variable + +fixes #36 +--- + procinterrupts.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/procinterrupts.c b/procinterrupts.c +index 6b37a88..c5c034c 100644 +--- a/procinterrupts.c ++++ b/procinterrupts.c +@@ -148,6 +148,9 @@ GList* collect_full_irq_list() + char *line = NULL; + size_t size = 0; + char *irq_name, *irq_mod, *savedptr, *last_token, *p; ++#ifdef AARCH64 ++ char *tmp; ++#endif + + file = fopen("/proc/interrupts", "r"); + if (!file) +-- +2.11.0 + |