summaryrefslogtreecommitdiffhomepage
path: root/patches/ubase.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-06-04 21:15:11 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-06-04 20:30:46 +0100
commitb87d00738674efb9a7636c986ef07cfb63b8e55c (patch)
tree1c3f6ab2b145174e29f0e98481c370481a414742 /patches/ubase.local.patch
parente39963f923de8d8b8d28631a0433acbeb09bb47c (diff)
downloadmidipix_build-b87d00738674efb9a7636c986ef07cfb63b8e55c.tar.bz2
midipix_build-b87d00738674efb9a7636c986ef07cfb63b8e55c.tar.xz
ubase: disable utilities relying on sys/mount.h
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/ubase.local.patch')
-rw-r--r--patches/ubase.local.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/ubase.local.patch b/patches/ubase.local.patch
index c95cfba0..d325f000 100644
--- a/patches/ubase.local.patch
+++ b/patches/ubase.local.patch
@@ -7,3 +7,16 @@ diff -ru ubase.orig/config.mk ubase/config.mk
LDLIBS = -lcrypt
-LDFLAGS = -s
+LDFLAGS =
+diff -ru ubase.orig/dd.c ubase/dd.c
+--- ubase.orig/dd.c 2019-02-20 15:52:28.200075816 +0100
++++ ubase/dd.c 2020-06-04 16:17:53.711291738 +0200
+@@ -7,7 +7,9 @@
+ * version of the code has been modified by sin@2f30.org.
+ */
+ #include <sys/ioctl.h>
++#ifdef __midipix__
+ #include <sys/mount.h>
++#endif
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/types.h>