pkgsrc/x11/kdelibs4/patches/patch-am
2012-03-19 11:28:48 +00:00

13 lines
348 B
Text

$NetBSD: patch-am,v 1.2 2012/03/19 11:28:49 markd Exp $
--- kdecore/sycoca/ksycoca.cpp.orig 2011-04-01 13:56:18.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