ports/mail/dovecot-fts-xapian/patches/patch-src_fts-xapian-plugin_c

12 lines
558 B
Text

Index: src/fts-xapian-plugin.c
--- src/fts-xapian-plugin.c.orig
+++ src/fts-xapian-plugin.c
@@ -35,7 +35,7 @@ static void fts_xapian_mail_user_created(struct mail_u
fuser->set.partial = XAPIAN_DEFAULT_PARTIAL;
fuser->set.full = XAPIAN_DEFAULT_FULL;
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
size_t len = sizeof(fuser->set.pagesize);
sysctlbyname("hw.pagesize", &(fuser->set.pagesize), &len, NULL, 0);
#else