pkgsrc/sysutils/strace/patches/patch-bc
2007-12-05 16:30:59 +00:00

35 lines
723 B
Text

$NetBSD: patch-bc,v 1.1 2007/12/05 16:31:01 christos Exp $
--- quota.c.orig 2006-10-15 20:30:53.000000000 -0400
+++ quota.c 2007-12-05 11:04:38.000000000 -0500
@@ -687,13 +687,13 @@
#endif /* Linux */
-#if defined(SUNOS4) || defined(FREEBSD)
+#if defined(SUNOS4) || defined(ALLBSD)
#ifdef SUNOS4
#include <ufs/quota.h>
#endif
-#ifdef FREEBSD
+#ifdef ALLBSD
#include <ufs/ufs/quota.h>
#endif
@@ -723,7 +723,7 @@
tprintf(", ");
printstr(tcp, tcp->u_arg[1], -1);
#endif
-#ifdef FREEBSD
+#ifdef ALLBSD
printpath(tcp, tcp->u_arg[0]);
tprintf(", ");
printxval(quotacmds, tcp->u_arg[1], "Q_???");
@@ -733,4 +733,4 @@
return 0;
}
-#endif /* SUNOS4 || FREEBSD */
+#endif /* SUNOS4 || ALLBSD */