pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kdelibs2 Would have to include <sys/param.h> to ge...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3832462effc0
branches:  trunk
changeset: 462912:3832462effc0
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Oct 18 13:28:40 2003 +0000

description:
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.

Fixes build with gcc3.  Same patch as previously applied to kdelibs3.

diffstat:

 x11/kdelibs2/distinfo         |   3 ++-
 x11/kdelibs2/patches/patch-cb |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 24d9177b4633 -r 3832462effc0 x11/kdelibs2/distinfo
--- a/x11/kdelibs2/distinfo     Sat Oct 18 13:20:31 2003 +0000
+++ b/x11/kdelibs2/distinfo     Sat Oct 18 13:28:40 2003 +0000
@@ -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-by) = dfa7fef53b3cc2b6b467be6b43019b3321dc7c64
 SHA1 (patch-bz) = bca043b64b8ad9b4ba9fdd6c5fa1d65ad940c320
 SHA1 (patch-ca) = e3b068ebf0a1045bd00ca89b88655db97a731e10
+SHA1 (patch-cb) = fc3a7b173dc93bad196fff3ddd9aef65c92dda64
diff -r 24d9177b4633 -r 3832462effc0 x11/kdelibs2/patches/patch-cb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdelibs2/patches/patch-cb     Sat Oct 18 13:28:40 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index