From 5dda008bc91e2ef2345b74ff22b5e082b031d7af Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 19 Dec 2019 17:38:01 +0100 Subject: [PATCH] libieee1284: better musl fix --- srcpkgs/libieee1284/patches/musl.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/srcpkgs/libieee1284/patches/musl.patch b/srcpkgs/libieee1284/patches/musl.patch index 1cde8040cc..a3b79df1c0 100644 --- a/srcpkgs/libieee1284/patches/musl.patch +++ b/srcpkgs/libieee1284/patches/musl.patch @@ -18,3 +18,19 @@ #include "io.h" +--- include/config.h.in ++++ include/config.h.in +@@ -39,9 +39,13 @@ + /* Define to 1 if you have the header file. */ + #undef HAVE_STRING_H + ++#if defined(__x86_64__) || defined(__i386__) ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYS_IO_H + ++#endif ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYS_STAT_H +