summaryrefslogtreecommitdiff
path: root/x11/kdelibs4
diff options
context:
space:
mode:
authormarkd <markd>2010-06-06 22:44:02 +0000
committermarkd <markd>2010-06-06 22:44:02 +0000
commita0cacbeee080a0e81ad0536062ce0e793fc756f4 (patch)
tree80ce622ea34aae8e33ea8af1b959fa3eecfb66b9 /x11/kdelibs4
parentb0c399d5d1336b9c6faa74173ac025c6b703c493 (diff)
downloadpkgsrc-a0cacbeee080a0e81ad0536062ce0e793fc756f4.tar.gz
Include sys/mmap.h for mmap(), not just posix_madvise().
Should fix PR pkg/42825. No PKGREVISION bump required as either package didn't build previously or no change to binary package.
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r--x11/kdelibs4/distinfo3
-rw-r--r--x11/kdelibs4/patches/patch-am13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo
index 5194329a0fb..ca9a84181f9 100644
--- a/x11/kdelibs4/distinfo
+++ b/x11/kdelibs4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2010/06/02 10:14:16 markd Exp $
+$NetBSD: distinfo,v 1.10 2010/06/06 22:44:02 markd Exp $
SHA1 (kdelibs-4.4.4.tar.bz2) = 80bc85618e628986da6ac364507188ae2c8ff95b
RMD160 (kdelibs-4.4.4.tar.bz2) = 9f755332927f9d3df3d80a6e72d45af0055b158f
@@ -12,3 +12,4 @@ SHA1 (patch-ah) = b583dbe1b712984bbe002cc9143352729fba94ed
SHA1 (patch-aj) = 8520c322d4579e9485253c8e8b130669b0f8b618
SHA1 (patch-ak) = 03883c05a2a600737d98a889034a2fb9984a5d58
SHA1 (patch-al) = a3c48e8552ca39496134696f3d415a7b6a4db7d8
+SHA1 (patch-am) = da04e0450885dc4bca38a4e9b91822746d936639
diff --git a/x11/kdelibs4/patches/patch-am b/x11/kdelibs4/patches/patch-am
new file mode 100644
index 00000000000..1da30ed0a71
--- /dev/null
+++ b/x11/kdelibs4/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2010/06/06 22:44:02 markd Exp $
+
+--- kdecore/sycoca/ksycoca.cpp.orig 2010-01-19 23:15:27.000000000 +0000
++++ kdecore/sycoca/ksycoca.cpp
+@@ -62,7 +62,7 @@
+ */
+ #define KSYCOCA_FILENAME "ksycoca4"
+
+-#if HAVE_MADVISE
++#if HAVE_MMAP
+ #include <sys/mman.h> // This #include was checked when looking for posix_madvise
+ #endif
+