summaryrefslogtreecommitdiff
path: root/sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-01-24 03:43:33 -0600
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-01-24 03:43:33 -0600
commit897095052aabbe5e1173489e2e2e95ab7fc8b1f9 (patch)
tree018df398ac28a65df4a1f98d14f9339c51898d6f /sys-fs/mac-fdisk/files/mac-fdisk-non-glibc-support.patch
parentce08c4a8bed21dd61229556b105dc1d4c779d607 (diff)
downloadpackages-897095052aabbe5e1173489e2e2e95ab7fc8b1f9.tar.gz
packages-897095052aabbe5e1173489e2e2e95ab7fc8b1f9.tar.bz2
packages-897095052aabbe5e1173489e2e2e95ab7fc8b1f9.tar.xz
packages-897095052aabbe5e1173489e2e2e95ab7fc8b1f9.zip
sys-fs/mac-fdisk: Apple *smh*
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>