diff options
author | markd <markd@pkgsrc.org> | 2010-06-06 22:44:02 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-06-06 22:44:02 +0000 |
commit | 1301a4cb9e3bb11d651de1b01458f93c6b87a3f0 (patch) | |
tree | 80ce622ea34aae8e33ea8af1b959fa3eecfb66b9 /x11/kdelibs4 | |
parent | 2df33b31c086465857d1400ea4cef2556fc70f1b (diff) | |
download | pkgsrc-1301a4cb9e3bb11d651de1b01458f93c6b87a3f0.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/distinfo | 3 | ||||
-rw-r--r-- | x11/kdelibs4/patches/patch-am | 13 |
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 + |