summaryrefslogtreecommitdiffhomepage
path: root/patches/ubase.local.patch
blob: d325f0004ff48036e2bcc51b2ddf9b6a74d3cee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ru ubase.orig/config.mk ubase/config.mk
--- ubase.orig/config.mk	2017-10-17 18:59:11.582930570 +0200
+++ ubase/config.mk	2017-10-17 18:59:29.394818004 +0200
@@ -12,4 +12,4 @@
 CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
 CFLAGS   = -std=c99 -Wall -Wextra
 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>