summaryrefslogtreecommitdiff
path: root/findutils-4.5.14.midipix.patch
blob: 2ad838b2ac8d6ee2e8601ee246712bf96f38a27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -ru --new-file a/build-aux/config.sub b/build-aux/config.sub
--- a/build-aux/config.sub	2014-05-11 10:09:22.000000000 -0400
+++ b/build-aux/config.sub	2015-05-31 18:37:29.437944359 -0400
@@ -1371,7 +1371,7 @@
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* | -cegcc* \
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
diff -ru --new-file a/configure b/configure
--- a/configure	2014-07-19 06:24:44.000000000 -0400
+++ b/configure	2015-05-31 23:05:19.895583486 -0400
@@ -54948,3 +54950,23 @@
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
+
+cat >> config.h << EOF
+
+#define HAVE_ENDPWENT 1
+
+#undef fchownat
+#undef fchdir
+#undef fseeko
+#undef fstatat
+#undef getcwd
+#undef gmtime
+#undef localtime
+#undef lstat
+#undef malloc
+#undef memcmp
+#undef mktime
+#undef realloc
+#undef strnlen
+
+EOF