Added patch to fix compilation error (on -current, at least)

This commit is contained in:
jaapb 2015-05-26 12:19:37 +00:00
parent c29ec9411d
commit 43d8828b61
2 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -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 <sys/socket.h>
+# include <sys/time.h>
#else
# include "safeerrno.h"