mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Fix build with gcc47.
PR: ports/184569 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Reference: ports/183342
This commit is contained in:
parent
f861d69b29
commit
c101bf5feb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336286
12
math/octave-forge-parallel/files/patch-connect.cc
Normal file
12
math/octave-forge-parallel/files/patch-connect.cc
Normal file
@ -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
|
19
math/octave-forge-parallel/files/patch-pserver.cc
Normal file
19
math/octave-forge-parallel/files/patch-pserver.cc
Normal file
@ -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"
|
||||
|
14
math/octave-forge-parallel/files/patch-recv.c
Normal file
14
math/octave-forge-parallel/files/patch-recv.c
Normal file
@ -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>
|
||||
|
||||
|
15
math/octave-forge-parallel/files/patch-send.cc
Normal file
15
math/octave-forge-parallel/files/patch-send.cc
Normal file
@ -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\
|
Loading…
x
Reference in New Issue
Block a user