pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nbpatch/files Add some defines not defined by th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0fb3359338d
branches:  trunk
changeset: 392778:a0fb3359338d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 09 20:15:35 2009 +0000

description:
Add some defines not defined by the nbcompat version of paths.h as
fallback.

diffstat:

 devel/nbpatch/files/pathnames.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r f8a219811d54 -r a0fb3359338d devel/nbpatch/files/pathnames.h
--- a/devel/nbpatch/files/pathnames.h   Sat May 09 20:09:33 2009 +0000
+++ b/devel/nbpatch/files/pathnames.h   Sat May 09 20:15:35 2009 +0000
@@ -1,7 +1,7 @@
 /*
  * $OpenBSD: pathnames.h,v 1.1 2003/07/29 20:10:17 millert Exp $
  * $DragonFly: src/usr.bin/patch/pathnames.h,v 1.2 2008/08/11 00:04:12 joerg Exp $
- * $NetBSD: pathnames.h,v 1.2 2009/05/09 20:09:33 joerg Exp $
+ * $NetBSD: pathnames.h,v 1.3 2009/05/09 20:15:35 joerg Exp $
  */
 
 /*
@@ -11,4 +11,14 @@
 
 #include <nbcompat/paths.h>
 
+#ifndef _PATH_DEVNULL
+#define        _PATH_DEVNULL           "/dev/null"
+#endif
+
+#ifndef _PATH_ED
 #define        _PATH_ED                "/bin/ed"
+#endif
+
+#ifndef _PATH_TTY
+#define        _PATH_TTY               "/dev/tty"
+#endif



Home | Main Index | Thread Index | Old Index