Mon, 17 Sep 2012 19:10:10 +0200
Update to new version of vendor software although Oracle fails to deliver.
More specifically, newer db(3) patch revisions exist but Oracle has
removed them from the canonical download server URI for Berkely DB.
1 diff -Nau src/dscp.c.orig src/dscp.c
2 Index: src/dscp.c
3 --- src/dscp.c.orig 2012-08-21 12:14:56.541033514 +0200
4 +++ src/dscp.c 2012-08-21 12:15:00.668991007 +0200
5 @@ -50,6 +50,7 @@
6 */
8 #if HAVE_NETINET_IN_SYSTM_H
9 +#include <stdint.h>
10 #include <netinet/in_systm.h>
11 #endif
12 #if HAVE_NETINET_IP_H
13 diff -Nau src/nettest_bsd.c.orig src/nettest_bsd.c
14 Index: src/nettest_bsd.c
15 --- src/nettest_bsd.c.orig 2012-06-19 22:32:47.000000000 +0200
16 +++ src/nettest_bsd.c 2012-08-21 12:15:36.378376195 +0200
17 @@ -106,6 +106,7 @@
18 #include <netinet/tcp.h>
20 #ifdef HAVE_NETINET_SCTP_H
21 +#include <sys/socket.h>
22 #include <netinet/sctp.h>
23 #endif
25 diff -Nau src/nettest_sctp.c.orig src/nettest_sctp.c
26 Index: src/nettest_sctp.c
27 --- src/nettest_sctp.c.orig 2012-06-19 22:39:22.000000000 +0200
28 +++ src/nettest_sctp.c 2012-08-21 12:16:25.314029201 +0200
29 @@ -58,6 +58,7 @@
30 #include <netinet/sctp.h>
31 #include <arpa/inet.h>
32 #include <netdb.h>
33 +#include <strings.h>
35 /* would seem that not all sctp.h files define a MSG_EOF, but that
36 MSG_EOF can be the same as MSG_FIN so lets work with that