pkgsrc/print/LPRng-core/patches/patch-ae
joerg e880439d80 Fix errno deetection and use of the test results. Isn't it a lot better
when the conditional matches the variable name from the test case?
2005-12-29 13:46:16 +00:00

15 lines
607 B
Text

$NetBSD: patch-ae,v 1.1 2005/12/29 13:46:16 joerg Exp $
--- src/common/proctitle.c.orig 2005-12-28 21:43:26.000000000 +0000
+++ src/common/proctitle.c
@@ -87,8 +87,8 @@
# endif
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-# if defined(__NetBSD__) && (NetBSD > 199307 || NetBSD0_9 > 1)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+# if (defined(__NetBSD__) && (NetBSD > 199307 || NetBSD0_9 > 1)) || defined(__DragonFly__)
# undef SPT_TYPE
# define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */
# endif