summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2019-12-19 22:24:39 +0000
committerjoerg <joerg@pkgsrc.org>2019-12-19 22:24:39 +0000
commit2f0462baa0f155c1ac8cf5d65df29fd6587b7c00 (patch)
tree9847340aa4a21089b8944017567e63426701a46b
parent8230c4a6035deea0eb11e8e15b0ecf863f60cde8 (diff)
downloadpkgsrc-2f0462baa0f155c1ac8cf5d65df29fd6587b7c00.tar.gz
Add missing errno.h
-rw-r--r--textproc/xapian/distinfo3
-rw-r--r--textproc/xapian/patches/patch-common_errno__to__string.cc12
2 files changed, 14 insertions, 1 deletions
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"
+
+ // <cstring> doesn't give us strerror_r() with Sun C++ 5.9.
++#include <errno.h>
+ #include <string.h>
+ #if defined HAVE__SYS_ERRLIST_AND__SYS_NERR || \
+ defined HAVE_SYS_ERRLIST_AND_SYS_NERR