summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2003-10-18 13:28:40 +0000
committermarkd <markd@pkgsrc.org>2003-10-18 13:28:40 +0000
commit0bcf43f33197ff43f1c39677f10781da79e08720 (patch)
tree607758755b890376266455ece99587f886edbb7d /x11
parent2e71d91cc39080ce3d0c7d3daf6d7e1ef97e7740 (diff)
downloadpkgsrc-0bcf43f33197ff43f1c39677f10781da79e08720.tar.gz
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 (limited to 'x11')
-rw-r--r--x11/kdelibs2/distinfo3
-rw-r--r--x11/kdelibs2/patches/patch-cb13
2 files changed, 15 insertions, 1 deletions
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