From bc618663d5b209964244eda5ad639eee0e758c83 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 18 Sep 2016 07:08:19 +0000 Subject: Fix the first two (glaring) build errors. There seem to be a lot more. --- math/vowpal_wabbit/distinfo | 4 +++- math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc | 15 +++++++++++++++ math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc create mode 100644 math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc (limited to 'math') diff --git a/math/vowpal_wabbit/distinfo b/math/vowpal_wabbit/distinfo index 3512fd13ed8..183513c1531 100644 --- a/math/vowpal_wabbit/distinfo +++ b/math/vowpal_wabbit/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1 2016/08/18 15:32:20 cheusov Exp $ +$NetBSD: distinfo,v 1.2 2016/09/18 07:08:19 dholland Exp $ SHA1 (vowpal_wabbit-8.2.0.tar.gz) = 7fd516e1ff16ac03fd389b59abaf462f6fca61cb RMD160 (vowpal_wabbit-8.2.0.tar.gz) = a2e91b3f6d0f2b50f8cef382ce1995016ff074e0 SHA512 (vowpal_wabbit-8.2.0.tar.gz) = 7f352c7d899e1068969ecf10931ce59efaedb5ffb91277958e96b1c705cb9f9da7397dcded42e101ba98412124e2662ca5cf71b368ab7d80ce7afe650cdd59c6 Size (vowpal_wabbit-8.2.0.tar.gz) = 13391191 bytes +SHA1 (patch-vowpalwabbit_parser.cc) = 1ea77e94b53ec7a24b5fabbd9e05cb9b47ac6707 +SHA1 (patch-vowpalwabbit_sender.cc) = 796daf462f50d9d2b7a90d6a032cbf69f7a3a374 diff --git a/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc b/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc new file mode 100644 index 00000000000..e6b893aacba --- /dev/null +++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-vowpalwabbit_parser.cc,v 1.1 2016/09/18 07:08:19 dholland Exp $ + +Use standard headers. + +--- vowpalwabbit/parser.cc~ 2016-06-21 18:37:43.000000000 +0000 ++++ vowpalwabbit/parser.cc +@@ -34,7 +34,7 @@ int getpid() + #endif + #include + +-#ifdef __FreeBSD__ ++#ifndef _WIN32 + #include + #endif + diff --git a/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc b/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc new file mode 100644 index 00000000000..16f820b82f8 --- /dev/null +++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-vowpalwabbit_sender.cc,v 1.1 2016/09/18 07:08:19 dholland Exp $ + +Use standard headers. + +--- vowpalwabbit/sender.cc~ 2016-06-21 18:37:43.000000000 +0000 ++++ vowpalwabbit/sender.cc +@@ -13,6 +13,8 @@ + # define SHUT_RDWR SD_BOTH + #endif + #else ++#include ++#include + #include + #endif + #include "io_buf.h" -- cgit v1.2.3