pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files Provide prototypes for setm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c87d3947f7fe
branches:  trunk
changeset: 461866:c87d3947f7fe
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue Sep 23 02:03:36 2003 +0000

description:
Provide prototypes for setmode and getmode functions if necessary.
This fixes build problems of mtree and pax on Irix.

diffstat:

 pkgtools/libnbcompat/files/nbcompat.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 4cc8de72aa81 -r c87d3947f7fe pkgtools/libnbcompat/files/nbcompat.h
--- a/pkgtools/libnbcompat/files/nbcompat.h     Tue Sep 23 01:59:01 2003 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat.h     Tue Sep 23 02:03:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nbcompat.h,v 1.24 2003/09/16 16:48:25 grant Exp $      */
+/*     $NetBSD: nbcompat.h,v 1.25 2003/09/23 02:03:36 jschauma Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -582,4 +582,12 @@
 # define UID_MAX       2147483647U  /* max value for a uid_t (2^31-2) */
 #endif
 
+#ifndef HAVE_SETMODE
+void *setmode(const char *);
+#endif
+
+#ifndef HAVE_GETMODE
+mode_t getmode(const void *, mode_t);
+#endif
+
 #endif /* _NBCOMPAT_H */



Home | Main Index | Thread Index | Old Index