pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/findutils Include unistd.h for readlink proto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3b06985f370
branches:  trunk
changeset: 497502:d3b06985f370
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 29 12:35:07 2005 +0000

description:
Include unistd.h for readlink prototype instead of adding a prototype
locally (which clashes with the system one on amd64).

diffstat:

 sysutils/findutils/distinfo         |   3 ++-
 sysutils/findutils/patches/patch-am |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r afc80101880a -r d3b06985f370 sysutils/findutils/distinfo
--- a/sysutils/findutils/distinfo       Fri Jul 29 12:17:23 2005 +0000
+++ b/sysutils/findutils/distinfo       Fri Jul 29 12:35:07 2005 +0000
@@ -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-aj) = 5fd1d20f75fafa01063982e2ef49f123d4cb4c7d
 SHA1 (patch-ak) = 5e47cf75a7f3bdfad6cfead06bb1643ebeee178d
 SHA1 (patch-al) = 2b75b8fc967aad1bcabee529d796bbf1b4b5a327
+SHA1 (patch-am) = 48abd78b11347cdeaa1057d85cab1931feada8e9
diff -r afc80101880a -r d3b06985f370 sysutils/findutils/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/findutils/patches/patch-am       Fri Jul 29 12:35:07 2005 +0000
@@ -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'.



Home | Main Index | Thread Index | Old Index