aboutsummaryrefslogtreecommitdiff
path: root/misc/rbutil/patches/rbutil-1.5.1-headers.patch
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2022-07-29 01:13:27 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-30 11:26:27 +0700
commitdfbfbec3ef27c7d11fc311746cd340382327eb75 (patch)
treeb5c26e20fc46ee275fef1dac61e00ed7610f1ab9 /misc/rbutil/patches/rbutil-1.5.1-headers.patch
parent20cda8998738fc09cef01b739174a30a9f7eadd2 (diff)
misc/rbutil: Updated for version 1.5.1
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/rbutil/patches/rbutil-1.5.1-headers.patch')
-rw-r--r--misc/rbutil/patches/rbutil-1.5.1-headers.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/rbutil/patches/rbutil-1.5.1-headers.patch b/misc/rbutil/patches/rbutil-1.5.1-headers.patch
new file mode 100644
index 000000000000..ff7ac8760ff7
--- /dev/null
+++ b/misc/rbutil/patches/rbutil-1.5.1-headers.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/830559
+https://www.rockbox.org/tracker/task/13358
+
+Note: This may need tweaking for non-Linux platforms.
+
+diff --git a/utils/sansapatcher/sansaio.h b/utils/sansapatcher/sansaio.h
+index 61e2f1d1b2..327f8fbd18 100644
+--- a/utils/sansapatcher/sansaio.h
++++ b/utils/sansapatcher/sansaio.h
+@@ -23,6 +23,7 @@
+ #define __SANSAIO_H
+
+ #include <stdint.h>
++#include <sys/types.h>
+ #if !defined(_MSC_VER)
+ #include <unistd.h> /* not available on MSVC */
+ #endif