pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/vowpal_wabbit Fix the first two (glaring) build e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3aea45e9a3b8
branches:  trunk
changeset: 352664:3aea45e9a3b8
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Sep 18 07:08:19 2016 +0000

description:
Fix the first two (glaring) build errors. There seem to be a lot more.

diffstat:

 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 deletions(-)

diffs (51 lines):

diff -r 6e3e227ca0d1 -r 3aea45e9a3b8 math/vowpal_wabbit/distinfo
--- a/math/vowpal_wabbit/distinfo       Sun Sep 18 06:57:24 2016 +0000
+++ b/math/vowpal_wabbit/distinfo       Sun Sep 18 07:08:19 2016 +0000
@@ -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 -r 6e3e227ca0d1 -r 3aea45e9a3b8 math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc   Sun Sep 18 07:08:19 2016 +0000
@@ -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 -r 6e3e227ca0d1 -r 3aea45e9a3b8 math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc   Sun Sep 18 07:08:19 2016 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index