diff options
author | wiz <wiz@pkgsrc.org> | 2005-07-29 12:35:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-07-29 12:35:07 +0000 |
commit | 91dc261c340c1ffa350d65de7f96dbfa5ea9e185 (patch) | |
tree | 94a1670ff70af96e54feccf8454de6a2678b5a0e /sysutils/findutils | |
parent | 8bab82965d0f19ddbdda8c850980c9c0b7b2e016 (diff) | |
download | pkgsrc-91dc261c340c1ffa350d65de7f96dbfa5ea9e185.tar.gz |
Include unistd.h for readlink prototype instead of adding a prototype
locally (which clashes with the system one on amd64).
Diffstat (limited to 'sysutils/findutils')
-rw-r--r-- | sysutils/findutils/distinfo | 3 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-am | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/findutils/distinfo b/sysutils/findutils/distinfo index c5d5aa7c846..b1e85c3ecd0 100644 --- a/sysutils/findutils/distinfo +++ b/sysutils/findutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2005/06/19 10:44:45 hira Exp $ +$NetBSD: distinfo,v 1.9 2005/07/29 12:35:07 wiz Exp $ SHA1 (findutils-4.1.tar.gz) = b91cd03ca4c9659b3e5d40e841c64bfd2e7f25d8 RMD160 (findutils-4.1.tar.gz) = b66c0aa2e72d378e8c3cb9968ceb68d9138af874 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = 59c8872a9cef3bb94e35c7eb97a9878bcdb11c51 SHA1 (patch-aj) = 5fd1d20f75fafa01063982e2ef49f123d4cb4c7d SHA1 (patch-ak) = 5e47cf75a7f3bdfad6cfead06bb1643ebeee178d SHA1 (patch-al) = 2b75b8fc967aad1bcabee529d796bbf1b4b5a327 +SHA1 (patch-am) = 48abd78b11347cdeaa1057d85cab1931feada8e9 diff --git a/sysutils/findutils/patches/patch-am b/sysutils/findutils/patches/patch-am new file mode 100644 index 00000000000..50a2b6e7449 --- /dev/null +++ b/sysutils/findutils/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2005/07/29 12:35:07 wiz Exp $ + +--- lib/listfile.c.orig 1994-11-02 21:59:24.000000000 +0100 ++++ lib/listfile.c +@@ -67,7 +67,7 @@ extern int errno; + #endif + + #if defined(S_ISLNK) +-int readlink (); ++#include <unistd.h> + #endif + + /* Extract or fake data from a `struct stat'. |