summaryrefslogtreecommitdiff
path: root/devel/nbpatch
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-05-09 20:15:35 +0000
committerjoerg <joerg@pkgsrc.org>2009-05-09 20:15:35 +0000
commitd0e03fe8034fdd77090517b7741d810997defde3 (patch)
tree900e14a4f8815ee1489bf73622bad508a9e44dd4 /devel/nbpatch
parent0e9eb866e12799aae51f32e5cabba18c312f19a9 (diff)
downloadpkgsrc-d0e03fe8034fdd77090517b7741d810997defde3.tar.gz
Add some defines not defined by the nbcompat version of paths.h as
fallback.
Diffstat (limited to 'devel/nbpatch')
-rw-r--r--devel/nbpatch/files/pathnames.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/nbpatch/files/pathnames.h b/devel/nbpatch/files/pathnames.h
index f704007676f..19001773e90 100644
--- a/devel/nbpatch/files/pathnames.h
+++ b/devel/nbpatch/files/pathnames.h
@@ -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