pkgsrc/x11/kdelibs3/patches/patch-ad
markd 43d3322c5a Would have to include <sys/param.h> to get a definition of NetBSD and
KDE is never going to build on NetBSD<1.0 so don't bother testing a
version, just assume we have setproctitle in libc.

Should fix a gcc3 build problem mentioned by Juan RP.
2003-09-21 12:14:19 +00:00

13 lines
438 B
Text

$NetBSD: patch-ad,v 1.6 2003/09/21 12:14:19 markd Exp $
--- kinit/setproctitle.h.orig 2000-02-12 03:17:07.000000000 +1300
+++ kinit/setproctitle.h
@@ -72,7 +72,7 @@
#endif
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-# if defined(__NetBSD__) && (NetBSD > 199307 || NetBSD0_9 > 1)
+# if defined(__NetBSD__)
# undef SPT_TYPE
# define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */
# endif