From 43d8828b6122b77b430b96c7f2868cdd1de898c5 Mon Sep 17 00:00:00 2001 From: jaapb Date: Tue, 26 May 2015 12:19:37 +0000 Subject: [PATCH] Added patch to fix compilation error (on -current, at least) --- textproc/xapian/distinfo | 3 ++- textproc/xapian/patches/patch-common_socket_utils.cc | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 textproc/xapian/patches/patch-common_socket_utils.cc diff --git a/textproc/xapian/distinfo b/textproc/xapian/distinfo index ea6b7751fc74..0bffe0776689 100644 --- a/textproc/xapian/distinfo +++ b/textproc/xapian/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.18 2015/05/23 18:20:59 schmonz Exp $ +$NetBSD: distinfo,v 1.19 2015/05/26 12:19:37 jaapb Exp $ SHA1 (xapian-core-1.2.21.tar.xz) = 03f67df86f600f0b64ea62fd9b956f72b5dce933 RMD160 (xapian-core-1.2.21.tar.xz) = 6b2413007f245d2410e2b22d7656abb7f1bae750 Size (xapian-core-1.2.21.tar.xz) = 3202560 bytes +SHA1 (patch-common_socket_utils.cc) = 5e7ec55e2e1a4353a370197b2e953efa7206e59d diff --git a/textproc/xapian/patches/patch-common_socket_utils.cc b/textproc/xapian/patches/patch-common_socket_utils.cc new file mode 100644 index 000000000000..c3972b5179c4 --- /dev/null +++ b/textproc/xapian/patches/patch-common_socket_utils.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-common_socket_utils.cc,v 1.1 2015/05/26 12:19:38 jaapb Exp $ + +--- common/socket_utils.cc.orig 2015-05-21 05:57:01.000000000 +0000 ++++ common/socket_utils.cc +@@ -28,6 +28,7 @@ using namespace std; + + #ifndef __WIN32__ + # include ++# include + #else + # include "safeerrno.h" +