void-packages/srcpkgs/xosview/patches/musl-fix.patch

15 lines
381 B
Diff

--- a/linux/serialmeter.cc 2016-01-02 10:39:10.279496776 +0100
+++ b/linux/serialmeter.cc 2016-01-02 10:37:54.667491325 +0100
@@ -39,9 +39,11 @@
#endif
#else
#if !defined(__alpha__) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__ia64__) && !defined(__m68k__)
+#if defined(HAVE_ASM_IO_H)
#include <asm/io.h>
#endif
#endif
+#endif
#include <linux/serial.h>