forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / gnu / findutils / findutils-4.1-aros.diff
blobc4269c3035ff440eeea4a4c70b6d2adc0e7092c6
1 diff -u -r findutils-4.1/configure findutils-4.1-aros/configure
2 --- findutils-4.1/configure Fri Nov 4 09:47:50 1994
3 +++ findutils-4.1-aros/configure Sat Jun 26 14:43:29 2004
4 @@ -2472,7 +2472,7 @@
5 if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
6 echo $ac_n "(cached) $ac_c" 1>&4
7 else
8 - if test "$cross_compiling" = yes; then
9 + if test "$cross_compiling" = xyes; then
10 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
11 else
12 cat > conftest.$ac_ext <<EOF
13 diff -u -r findutils-4.1/find/fstype.c findutils-4.1-aros/find/fstype.c
14 --- findutils-4.1/find/fstype.c Thu Nov 3 11:33:48 1994
15 +++ findutils-4.1-aros/find/fstype.c Sat Jun 26 14:55:35 2004
16 @@ -316,7 +316,9 @@
17 else
18 type = fss.f_basetype;
19 #endif
21 +#ifdef __AROS__
22 +#undef FSTYPE_STATFS
23 +#endif
24 #ifdef FSTYPE_STATFS /* 4.4BSD. */
25 struct statfs fss;
26 char *p;
27 diff -u -r findutils-4.1/locate/locate.c findutils-4.1-aros/locate/locate.c
28 --- findutils-4.1/locate/locate.c Mon Sep 26 18:06:14 1994
29 +++ findutils-4.1-aros/locate/locate.c Sat Jun 26 15:01:27 2004
30 @@ -77,7 +77,10 @@
31 #else
32 extern int errno;
33 #endif
35 +#ifdef __AROS__
36 +#include <errno.h>
37 +#include <wchar.h>
38 +#endif
39 #include "locatedb.h"
41 typedef enum {false, true} boolean;
42 diff -u -r findutils-4.1/xargs/xargs.c findutils-4.1-aros/xargs/xargs.c
43 --- findutils-4.1/xargs/xargs.c Fri Oct 7 13:21:39 1994
44 +++ findutils-4.1-aros/xargs/xargs.c Sat Jun 26 14:50:47 2004
45 @@ -272,10 +272,11 @@
46 arg_max = 20 * 1024;
48 /* Take the size of the environment into account. */
49 +#ifndef __AROS__ /* no we won't */
50 arg_max -= env_size (environ);
51 if (arg_max <= 0)
52 error (1, 0, "environment is too large for exec");
54 +#endif /* __AROS__ */
55 while ((optc = getopt_long (argc, argv, "+0e::i::l::n:prs:txP:",
56 longopts, (int *) 0)) != -1)