From 930b5a700c6f4093c4b63eec7395c080ab639311 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 May 2023 23:32:29 +0100 Subject: gentoo auto-resync : 05:05:2023 - 23:32:28 --- x11-misc/xosview/files/xosview-1.23-musl.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 x11-misc/xosview/files/xosview-1.23-musl.patch (limited to 'x11-misc/xosview/files') diff --git a/x11-misc/xosview/files/xosview-1.23-musl.patch b/x11-misc/xosview/files/xosview-1.23-musl.patch new file mode 100644 index 000000000000..a2879f0b957f --- /dev/null +++ b/x11-misc/xosview/files/xosview-1.23-musl.patch @@ -0,0 +1,14 @@ +Musl does not have sys/perm.h. Luckily, sys/io.h has the required +definitions both for musl and glibc. + +diff -ruN xosview-1.23.orig/linux/serialmeter.cc xosview-1.23/linux/serialmeter.cc +--- xosview-1.23.orig/linux/serialmeter.cc 2020-07-11 14:10:34.000000000 +0200 ++++ xosview-1.23/linux/serialmeter.cc 2023-05-05 22:13:19.863489393 +0200 +@@ -25,7 +25,6 @@ + */ + #if defined(__i386__) || defined(__ia64__) || defined(__amd64__) + #include +-#include + #define HAVE_IOPERM + #endif + -- cgit v1.2.3