72dc32b258
on 2.x and 2.99.9 and later. Switches brokenness to 2.0D - 2.0H.
24 lines
586 B
Text
24 lines
586 B
Text
$NetBSD: patch-ae,v 1.5 2005/09/03 21:21:57 abs Exp $
|
|
|
|
--- config/os-netbsd.h.orig 2001-03-12 13:16:18.000000000 -0500
|
|
+++ config/os-netbsd.h 2004-05-30 22:01:15.000000000 -0400
|
|
@@ -45,6 +45,7 @@
|
|
* Things we need
|
|
*/
|
|
#define NEED_RE_COMP_H
|
|
+#define NEED_SETPROGNAME
|
|
|
|
/*
|
|
* Set process args to messages that show up when running ps(1)
|
|
@@ -86,7 +87,11 @@
|
|
/*
|
|
* Select the type of statfs() system call (if any).
|
|
*/
|
|
+#if __NetBSD_Version__ < 299000900
|
|
#define STATFS_TYPE STATFS_44BSD
|
|
+#else
|
|
+#define STATFS_TYPE STATFS_SVR4
|
|
+#endif
|
|
|
|
/*
|
|
* Use f_fstypename in struct statfs.
|