From 2f0462baa0f155c1ac8cf5d65df29fd6587b7c00 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 19 Dec 2019 22:24:39 +0000 Subject: Add missing errno.h --- textproc/xapian/distinfo | 3 ++- textproc/xapian/patches/patch-common_errno__to__string.cc | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 textproc/xapian/patches/patch-common_errno__to__string.cc diff --git a/textproc/xapian/distinfo b/textproc/xapian/distinfo index 6b59786c581..b072164a79d 100644 --- a/textproc/xapian/distinfo +++ b/textproc/xapian/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.37 2019/12/17 03:52:58 schmonz Exp $ +$NetBSD: distinfo,v 1.38 2019/12/19 22:24:39 joerg Exp $ SHA1 (xapian-core-1.4.14.tar.xz) = 17527a8bfa8254d3755b4b482157c245f33ea53d RMD160 (xapian-core-1.4.14.tar.xz) = bc94fe04ae8b8e7eb3505524a31a532dca58a802 SHA512 (xapian-core-1.4.14.tar.xz) = c08c9abe87e08491566b7cfa8cda9e2a80e4959a647428b6d82bce7af1c967b4cb463607ffb8976372a980c163923ced36117a66e0b5a1f35659393def3d371b Size (xapian-core-1.4.14.tar.xz) = 2970624 bytes +SHA1 (patch-common_errno__to__string.cc) = 222b640aa1cdacb6f9ada78671ef414b4ca11e26 SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52 SHA1 (patch-xapian-config.in) = 470d1de7f04b8b8817abbcf56b5b71a36948de97 diff --git a/textproc/xapian/patches/patch-common_errno__to__string.cc b/textproc/xapian/patches/patch-common_errno__to__string.cc new file mode 100644 index 00000000000..9a3f2002129 --- /dev/null +++ b/textproc/xapian/patches/patch-common_errno__to__string.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-common_errno__to__string.cc,v 1.1 2019/12/19 22:24:39 joerg Exp $ + +--- common/errno_to_string.cc.orig 2019-12-19 14:19:58.476027186 +0000 ++++ common/errno_to_string.cc +@@ -27,6 +27,7 @@ + #include "errno_to_string.h" + + // doesn't give us strerror_r() with Sun C++ 5.9. ++#include + #include + #if defined HAVE__SYS_ERRLIST_AND__SYS_NERR || \ + defined HAVE_SYS_ERRLIST_AND_SYS_NERR -- cgit v1.2.3