From f6a2879c0102d1f76f039fae18962b3166425d45 Mon Sep 17 00:00:00 2001 From: markd Date: Sat, 18 Oct 2003 13:28:40 +0000 Subject: Would have to include 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. Fixes build with gcc3. Same patch as previously applied to kdelibs3. --- x11/kdelibs2/distinfo | 3 ++- x11/kdelibs2/patches/patch-cb | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 x11/kdelibs2/patches/patch-cb (limited to 'x11/kdelibs2') diff --git a/x11/kdelibs2/distinfo b/x11/kdelibs2/distinfo index 50d5723783c..4ae26421dd1 100644 --- a/x11/kdelibs2/distinfo +++ b/x11/kdelibs2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2002/10/26 13:07:29 bouyer Exp $ +$NetBSD: distinfo,v 1.22 2003/10/18 13:28:40 markd Exp $ SHA1 (kdelibs-2.2.2.tar.bz2) = 6ae1096ffb547f317adca6b29cb9ce9dcaf1863c Size (kdelibs-2.2.2.tar.bz2) = 5955592 bytes @@ -55,3 +55,4 @@ SHA1 (patch-bx) = 9a8aaeab8852593b1c8f7037ce8a421f9fa8a953 SHA1 (patch-by) = dfa7fef53b3cc2b6b467be6b43019b3321dc7c64 SHA1 (patch-bz) = bca043b64b8ad9b4ba9fdd6c5fa1d65ad940c320 SHA1 (patch-ca) = e3b068ebf0a1045bd00ca89b88655db97a731e10 +SHA1 (patch-cb) = fc3a7b173dc93bad196fff3ddd9aef65c92dda64 diff --git a/x11/kdelibs2/patches/patch-cb b/x11/kdelibs2/patches/patch-cb new file mode 100644 index 00000000000..d05d43f302e --- /dev/null +++ b/x11/kdelibs2/patches/patch-cb @@ -0,0 +1,13 @@ +$NetBSD: patch-cb,v 1.1 2003/10/18 13:28:40 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 -- cgit v1.2.3