diff options
author | bouyer <bouyer@pkgsrc.org> | 2004-07-06 21:21:17 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2004-07-06 21:21:17 +0000 |
commit | bb6da803329e2dd5ea1ea3e87f4dc25994fb382b (patch) | |
tree | 2a4df0c56bb28e1ea82fde0eee21290e35d3459f | |
parent | f6662e1a056a900949096f05e973fc8460060e07 (diff) | |
download | pkgsrc-bb6da803329e2dd5ea1ea3e87f4dc25994fb382b.tar.gz |
Make compile on linux, from Jeremy C. Reed in PR 20798.
-rw-r--r-- | sysutils/findutils/distinfo | 9 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-ae | 11 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-af | 10 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-ag | 11 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-ah | 11 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-ai | 10 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-aj | 12 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-ak | 12 |
8 files changed, 85 insertions, 1 deletions
diff --git a/sysutils/findutils/distinfo b/sysutils/findutils/distinfo index 715287a6e0e..c02da32e605 100644 --- a/sysutils/findutils/distinfo +++ b/sysutils/findutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2004/05/08 01:24:12 reed Exp $ +$NetBSD: distinfo,v 1.6 2004/07/06 21:21:17 bouyer Exp $ SHA1 (findutils-4.1.tar.gz) = b91cd03ca4c9659b3e5d40e841c64bfd2e7f25d8 Size (findutils-4.1.tar.gz) = 294494 bytes @@ -6,4 +6,11 @@ SHA1 (patch-aa) = 5449d631e14c202ad626fc2b96c64a7cd878ee81 SHA1 (patch-ab) = 13664baa3e9348413416c920776be659d5dc59c3 SHA1 (patch-ac) = 2443dab53a9bc738cdb16e46b5aa7893ee7c13aa SHA1 (patch-ad) = 4f28e677b099e60b0097b0f7358dc4c51f07e1aa +SHA1 (patch-ae) = 2f0606dfd6911910b31292f40f9b4c21488baa6a +SHA1 (patch-af) = 5570d353dab8793cc9e6a283b325f93e40164b8b +SHA1 (patch-ag) = d66c7c5ab9d84b4a30bd27e6d609f683d0f3de3e +SHA1 (patch-ah) = 25fa8766b1bb4bca6709ec9c11f5dcadf489b70b +SHA1 (patch-ai) = b87142967fe9f0a66f4c8203513447c70cff2401 +SHA1 (patch-aj) = be9793a1c825178c70653ce746825872ea2965e9 +SHA1 (patch-ak) = 32c00dc2d6bc01794e3d3476366ea450511fa312 SHA1 (patch-al) = 2b75b8fc967aad1bcabee529d796bbf1b4b5a327 diff --git a/sysutils/findutils/patches/patch-ae b/sysutils/findutils/patches/patch-ae new file mode 100644 index 00000000000..a9b2dda9487 --- /dev/null +++ b/sysutils/findutils/patches/patch-ae @@ -0,0 +1,11 @@ +--- find/defs.h Wed Nov 2 15:59:15 1994 ++++ find/defs.h Tue May 2 15:30:31 2000 +@@ -301,7 +301,7 @@ + boolean mark_stat P_((struct predicate *tree)); + + /* util.c */ +-char *basename P_((char *fname)); ++char *basename2 P_((char *fname)); + struct predicate *get_new_pred P_((void)); + struct predicate *get_new_pred_chk_op P_((void)); + struct predicate *insert_primary P_((boolean (*pred_func )())); diff --git a/sysutils/findutils/patches/patch-af b/sysutils/findutils/patches/patch-af new file mode 100644 index 00000000000..4c6ee1cf030 --- /dev/null +++ b/sysutils/findutils/patches/patch-af @@ -0,0 +1,10 @@ +--- find/parser.c Wed Nov 2 15:59:19 1994 ++++ find/parser.c Tue May 2 15:33:12 2000 +@@ -52,7 +52,6 @@ + #define lstat stat + #endif + +-char *strstr (); + int lstat (); + int stat (); + #ifndef atol /* for Linux */ diff --git a/sysutils/findutils/patches/patch-ag b/sysutils/findutils/patches/patch-ag new file mode 100644 index 00000000000..12a9baac51d --- /dev/null +++ b/sysutils/findutils/patches/patch-ag @@ -0,0 +1,11 @@ +--- find/pred.c Wed Nov 2 15:59:23 1994 ++++ find/pred.c Tue May 2 15:38:51 2000 +@@ -15,6 +15,8 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + ++#define _GNU_SOURCE ++ + #include <config.h> + #include <sys/types.h> + #include <sys/stat.h> diff --git a/sysutils/findutils/patches/patch-ah b/sysutils/findutils/patches/patch-ah new file mode 100644 index 00000000000..27d87c53ba4 --- /dev/null +++ b/sysutils/findutils/patches/patch-ah @@ -0,0 +1,11 @@ +--- find/util.c Thu Oct 20 00:49:47 1994 ++++ find/util.c Tue May 2 15:41:59 2000 +@@ -25,7 +25,7 @@ + compressed into one slash. */ + + char * +-basename (fname) ++basename2 (fname) + char *fname; + { + char *p; diff --git a/sysutils/findutils/patches/patch-ai b/sysutils/findutils/patches/patch-ai new file mode 100644 index 00000000000..2d9b8383314 --- /dev/null +++ b/sysutils/findutils/patches/patch-ai @@ -0,0 +1,10 @@ +--- lib/nextelem.c Tue Sep 27 09:02:45 1994 ++++ lib/nextelem.c Tue May 2 15:35:12 2000 +@@ -32,7 +32,6 @@ + #endif + #endif + +-char *strdup (); + void free (); + + /* Return the next element of a colon-separated path. diff --git a/sysutils/findutils/patches/patch-aj b/sysutils/findutils/patches/patch-aj new file mode 100644 index 00000000000..1fa558744d3 --- /dev/null +++ b/sysutils/findutils/patches/patch-aj @@ -0,0 +1,12 @@ +--- xargs/xargs.c Fri Oct 7 13:21:39 1994 ++++ xargs/xargs.c Tue May 2 15:39:46 2000 +@@ -60,9 +60,6 @@ + #define memcpy(dest, source, count) (bcopy((source), (dest), (count))) + #endif + +-char *strstr (); +-char *strdup (); +- + #ifndef _POSIX_SOURCE + #include <sys/param.h> + #endif diff --git a/sysutils/findutils/patches/patch-ak b/sysutils/findutils/patches/patch-ak new file mode 100644 index 00000000000..06ca2d0c723 --- /dev/null +++ b/sysutils/findutils/patches/patch-ak @@ -0,0 +1,12 @@ +--- find/fstype.c Thu Nov 3 11:33:48 1994 ++++ find/fstype.c Tue May 2 15:31:42 2000 +@@ -30,9 +30,6 @@ + extern int errno; + #endif + +-char *strdup (); +-char *strstr (); +- + static char *filesystem_type_uncached P_((char *path, char *relpath, struct stat *statp)); + static int xatoi P_((char *cp)); + |