summaryrefslogtreecommitdiff
path: root/user/dmraid/scan-under-musl.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 20:10:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 20:16:59 -0500
commit3d8c6f85bf17ef480cc46435948fee2adc714699 (patch)
tree0a419913d5321cc96fa46e56be490ee3c61aa87f /user/dmraid/scan-under-musl.patch
parentb2ca694512b2184aa2a6a9082b5cfa10409e27d9 (diff)
downloadpackages-3d8c6f85bf17ef480cc46435948fee2adc714699.tar.gz
packages-3d8c6f85bf17ef480cc46435948fee2adc714699.tar.bz2
packages-3d8c6f85bf17ef480cc46435948fee2adc714699.tar.xz
packages-3d8c6f85bf17ef480cc46435948fee2adc714699.zip
user/dmraid: new package
Diffstat (limited to 'user/dmraid/scan-under-musl.patch')
-rw-r--r--user/dmraid/scan-under-musl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/dmraid/scan-under-musl.patch b/user/dmraid/scan-under-musl.patch
new file mode 100644
index 000000000..bbfe9b3d7
--- /dev/null
+++ b/user/dmraid/scan-under-musl.patch
@@ -0,0 +1,12 @@
+--- dmraid/lib/device/scan.c.old 2010-10-27 11:31:47.000000000 +0000
++++ dmraid/lib/device/scan.c 2018-07-15 01:03:10.160000000 +0000
+@@ -5,7 +5,8 @@
+ * See file LICENSE at the top of this source tree for license information.
+ */
+
+-#ifdef __KLIBC__
++#ifndef __GLIBC__
+ # define __KERNEL_STRICT_NAMES
+ # include <dirent.h>
++# include <mntent.h>
+ # include <paths.h>