summaryrefslogtreecommitdiff
path: root/sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch')
-rw-r--r--sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch b/sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch
new file mode 100644
index 000000000..c22c2b20a
--- /dev/null
+++ b/sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch
@@ -0,0 +1,14 @@
+--- /var/tmp/portage/sys-fs/mac-fdisk-0.1_p16/work/mac-fdisk-0.1.orig/io.c 2016-01-24 03:19:51.647734970 -0600
++++ /usr/powerpc-foxkit-linux-musl/tmp/portage/sys-fs/mac-fdisk-0.1_p16/work/mac-fdisk-0.1.orig/io.c 2016-01-24 03:27:08.952825190 -0600
+@@ -31,11 +31,9 @@
+ #ifndef __linux__
+ #include <SCSI.h>
+ #else
+-#ifdef __GLIBC__
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #endif
+-#endif
+ #include <linux/unistd.h>
+ #include <unistd.h>
+ #include <string.h>