summaryrefslogtreecommitdiff
path: root/x11/kdelibs3
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2013-12-06 19:58:27 +0000
committerasau <asau@pkgsrc.org>2013-12-06 19:58:27 +0000
commit962835fe0fae1ee64ead6e473f55db1591234384 (patch)
tree971c9556dbfd375c622c8a26b8e2b9675711e219 /x11/kdelibs3
parente7baa8178fb1ac9a157d7121a74e0a27bfc06bcf (diff)
downloadpkgsrc-962835fe0fae1ee64ead6e473f55db1591234384.tar.gz
No utmp.h on FreeBSD, use utmpx.h instead.
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r--x11/kdelibs3/distinfo3
-rw-r--r--x11/kdelibs3/patches/patch-kdecore_kpty.cpp19
2 files changed, 21 insertions, 1 deletions
diff --git a/x11/kdelibs3/distinfo b/x11/kdelibs3/distinfo
index 985c02e6579..89524e07a12 100644
--- a/x11/kdelibs3/distinfo
+++ b/x11/kdelibs3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.105 2013/11/04 09:38:26 jperkin Exp $
+$NetBSD: distinfo,v 1.106 2013/12/06 19:58:27 asau Exp $
SHA1 (kdelibs-3.5.10.tar.bz2) = c930a25f4419134def55b8466c3a6f737227fb82
RMD160 (kdelibs-3.5.10.tar.bz2) = 4c960664283c83ebc8e68932ca9044336fcff223
@@ -33,5 +33,6 @@ SHA1 (patch-db) = bba958ba9f3059074fd97174dacab2bf47801fa8
SHA1 (patch-dc) = 3d6971b13599ac7acce9d63b76a8813e9c87bc96
SHA1 (patch-dd) = 16c5972250c867cf87e959287fdbedd94e9bfd8c
SHA1 (patch-kate_part_katebuffer.cpp) = bc5bf102cb5d843622878816d432019aa4811d05
+SHA1 (patch-kdecore_kpty.cpp) = 647b159fe5548fd9ab9af4cb4aee2f5fe7b74105
SHA1 (patch-kdeui-kaboutdialog.cpp) = 589fcc61547d98efa06231340bbf3eb3f7ed59cf
SHA1 (patch-kio_misc_kpac_discovery.cpp) = c0ef3b4805628af48774f98bdfc613c4d0f12c5f
diff --git a/x11/kdelibs3/patches/patch-kdecore_kpty.cpp b/x11/kdelibs3/patches/patch-kdecore_kpty.cpp
new file mode 100644
index 00000000000..bbb090999e8
--- /dev/null
+++ b/x11/kdelibs3/patches/patch-kdecore_kpty.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-kdecore_kpty.cpp,v 1.1 2013/12/06 19:58:27 asau Exp $
+
+No utmp.h on FreeBSD.
+
+--- kdecore/kpty.cpp.orig 2008-08-19 18:18:18.000000000 +0000
++++ kdecore/kpty.cpp 2013-12-06 19:40:35.460506217 +0000
+@@ -77,8 +77,12 @@
+ #endif
+
+ #ifdef USE_LOGIN
++#if defined(__FreeBSD__)
++# include <utmpx.h>
++#else
+ # include <utmp.h>
+ #endif
++#endif
+
+ #ifdef HAVE_TERMIOS_H
+ /* for HP-UX (some versions) the extern C is needed, and for other