Date: Thu, 12 Dec 2013 20:00:58 +0000 (UTC) From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336286 - head/math/octave-forge-parallel/files Message-ID: <201312122000.rBCK0wOE060960@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stephen Date: Thu Dec 12 20:00:58 2013 New Revision: 336286 URL: http://svnweb.freebsd.org/changeset/ports/336286 Log: - Fix build with gcc47. PR: ports/184569 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Reference: ports/183342 Added: head/math/octave-forge-parallel/files/patch-connect.cc (contents, props changed) head/math/octave-forge-parallel/files/patch-pserver.cc (contents, props changed) head/math/octave-forge-parallel/files/patch-recv.c (contents, props changed) head/math/octave-forge-parallel/files/patch-send.cc (contents, props changed) Added: head/math/octave-forge-parallel/files/patch-connect.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-parallel/files/patch-connect.cc Thu Dec 12 20:00:58 2013 (r336286) @@ -0,0 +1,12 @@ +--- connect.cc.orig 2013-11-16 22:26:59.000000000 +0100 ++++ connect.cc 2013-11-16 22:27:54.000000000 +0100 +@@ -25,7 +25,9 @@ + #include <octave/oct.h> + #include <oct-env.h> + ++#include <sys/types.h> + #include <sys/socket.h> ++#include <unistd.h> + #include <errno.h> + #include <netdb.h> + #include <netinet/in.h> // reported necessary for FreeBSD-8 Added: head/math/octave-forge-parallel/files/patch-pserver.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-parallel/files/patch-pserver.cc Thu Dec 12 20:00:58 2013 (r336286) @@ -0,0 +1,19 @@ +--- pserver.cc.orig 2013-11-16 22:30:37.000000000 +0100 ++++ pserver.cc 2013-11-16 22:31:47.000000000 +0100 +@@ -27,6 +27,7 @@ + #include <cmd-edit.h> + #include <toplev.h> + ++#include <sys/types.h> + #include <sys/socket.h> + #include <iostream> + #include <sys/stat.h> +@@ -34,6 +35,8 @@ + #include <errno.h> + #include <netdb.h> + #include <netinet/in.h> // reported necessary for FreeBSD-8 ++#include <unistd.h> ++#include <stdlib.h> + + #include "sock-stream.h" + Added: head/math/octave-forge-parallel/files/patch-recv.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-parallel/files/patch-recv.c Thu Dec 12 20:00:58 2013 (r336286) @@ -0,0 +1,14 @@ +--- recv.cc.orig 2013-11-16 22:29:55.000000000 +0100 ++++ recv.cc 2013-11-16 22:30:24.000000000 +0100 +@@ -22,9 +22,11 @@ + #include <octave/oct-stream.h> + #include <octave/oct-map.h> + ++#include <sys/types.h> + #include <sys/socket.h> + #include <sys/poll.h> + #include <netinet/in.h> ++#include <unistd.h> + #include <netdb.h> + + Added: head/math/octave-forge-parallel/files/patch-send.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-parallel/files/patch-send.cc Thu Dec 12 20:00:58 2013 (r336286) @@ -0,0 +1,15 @@ +--- send.cc.orig 2013-11-16 22:35:29.000000000 +0100 ++++ send.cc 2013-11-16 22:35:56.000000000 +0100 +@@ -21,10 +21,12 @@ + #include <octave/ls-oct-binary.h> + #include <octave/oct-stream.h> + ++#include <sys/types.h> + #include <sys/socket.h> + #include <sys/poll.h> + #include <netinet/in.h> + #include <netdb.h> ++#include <unistd.h> + + + DEFUN_DLD (send, args, , "send (X, sockets)\n\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312122000.rBCK0wOE060960>