summaryrefslogtreecommitdiff
path: root/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-19 22:42:02 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-19 22:42:02 -0500
commit1fa4c88ee21866eeb0feae8f6b0bf609a04711cc (patch)
tree99ddd7dc3d18f0fa1bf52220b1511d4e2a395032 /user/mac-fdisk/mac-fdisk-non-glibc-support.patch
parentd9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c (diff)
downloadpackages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.gz
packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.bz2
packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.tar.xz
packages-1fa4c88ee21866eeb0feae8f6b0bf609a04711cc.zip
user/mac-fdisk: new package
Diffstat (limited to 'user/mac-fdisk/mac-fdisk-non-glibc-support.patch')
-rw-r--r--user/mac-fdisk/mac-fdisk-non-glibc-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/mac-fdisk/mac-fdisk-non-glibc-support.patch b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
new file mode 100644
index 000000000..ae54822b2
--- /dev/null
+++ b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
@@ -0,0 +1,14 @@
+--- a/io.c 2016-01-24 03:19:51.647734970 -0600
++++ b/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>