summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordholland <dholland>2016-09-18 07:08:19 +0000
committerdholland <dholland>2016-09-18 07:08:19 +0000
commit20e183b7139e2603aad39d62c02ff2dce9c49181 (patch)
treee09768424cccf7fc646d08fb19337cff05073747 /math
parent285b5fcfc027b5fec3e92ce403eb0338317d13af (diff)
downloadpkgsrc-20e183b7139e2603aad39d62c02ff2dce9c49181.tar.gz
Fix the first two (glaring) build errors. There seem to be a lot more.
Diffstat (limited to 'math')
-rw-r--r--math/vowpal_wabbit/distinfo4
-rw-r--r--math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc15
-rw-r--r--math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc15
3 files changed, 33 insertions, 1 deletions
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 <boost/program_options.hpp>
+
+-#ifdef __FreeBSD__
++#ifndef _WIN32
+ #include <netinet/in.h>
+ #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 <sys/types.h>
++#include <sys/socket.h>
+ #include <netdb.h>
+ #endif
+ #include "io_buf.h"