Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 219392
Collapse All | Expand All

(-)octave-forge-2006.03.17.orig/extra/graceplot/__grcmd__.cc (+1 lines)
Lines 34-43 Link Here
34
#include <sys/wait.h>
34
#include <sys/wait.h>
35
#include <strings.h>
35
#include <strings.h>
36
#include <errno.h>
36
#include <errno.h>
37
#include <limits.h>
37
#include <limits.h>
38
#include <string>
38
#include <string>
39
#include <cstring>
39
#include <map>
40
#include <map>
40
#ifndef OPEN_MAX
41
#ifndef OPEN_MAX
41
#  define OPEN_MAX 256
42
#  define OPEN_MAX 256
42
#endif
43
#endif
43
44
(-)octave-forge-2006.03.17.orig/extra/mex/mex.cc (+1 lines)
Lines 24-33 Link Here
24
24
25
#include <cfloat>
25
#include <cfloat>
26
#include <iomanip>
26
#include <iomanip>
27
#include <set>
27
#include <set>
28
#include <string>
28
#include <string>
29
#include <cstring>
29
typedef void * Pix;
30
typedef void * Pix;
30
typedef std::set<Pix> MemSet;
31
typedef std::set<Pix> MemSet;
31
32
32
extern "C" {
33
extern "C" {
33
#include <cstdlib>
34
#include <cstdlib>
(-)octave-forge-2006.03.17.orig/extra/pdb/creadpdb.cc (+1 lines)
Lines 18-27 Link Here
18
#include <octave/oct-map.h>
18
#include <octave/oct-map.h>
19
#include <octave/ov-str-mat.h>
19
#include <octave/ov-str-mat.h>
20
#include <sys/mman.h>
20
#include <sys/mman.h>
21
#include <sys/types.h>
21
#include <sys/types.h>
22
#include <unistd.h>
22
#include <unistd.h>
23
#include <cstring>
23
#include <fcntl.h>
24
#include <fcntl.h>
24
25
25
#define BUFLEN 80
26
#define BUFLEN 80
26
27
27
inline double strntod(const char* startptr, int n)
28
inline double strntod(const char* startptr, int n)
(-)octave-forge-2006.03.17.orig/FIXES/oct-sort.cc (+1 lines)
Lines 83-92 Link Here
83
83
84
#include <octave/oct.h>
84
#include <octave/oct.h>
85
#include <octave/lo-mappers.h>
85
#include <octave/lo-mappers.h>
86
#include <octave/config.h>
86
#include <octave/config.h>
87
#include <octave/quit.h>
87
#include <octave/quit.h>
88
#include <cstring>
88
#include "oct-sort.h"
89
#include "oct-sort.h"
89
90
90
#define IFLT(a,b)  if (compare == NULL ? ((a) < (b)) : compare ((a), (b)))
91
#define IFLT(a,b)  if (compare == NULL ? ((a) < (b)) : compare ((a), (b)))
91
92
92
template <class T>
93
template <class T>
(-)octave-forge-2006.03.17.orig/FIXES/sort.cc (+1 lines)
Lines 25-34 Link Here
25
#include <octave/config.h>
25
#include <octave/config.h>
26
#include <octave/quit.h>
26
#include <octave/quit.h>
27
#include <octave/lo-ieee.h>
27
#include <octave/lo-ieee.h>
28
#include <octave/data-conv.h>
28
#include <octave/data-conv.h>
29
#include <octave/ov-cx-mat.h>
29
#include <octave/ov-cx-mat.h>
30
#include <cstring>
30
#include "oct-sort.cc"
31
#include "oct-sort.cc"
31
32
32
// ======= Cruft to support ancient versions of Octave =========
33
// ======= Cruft to support ancient versions of Octave =========
33
#ifndef OCTAVE_LOCAL_BUFFER
34
#ifndef OCTAVE_LOCAL_BUFFER
34
#include <vector>
35
#include <vector>
(-)octave-forge-2006.03.17.orig/main/comm/gf.cc (+1 lines)
Lines 47-56 Link Here
47
*/
47
*/
48
48
49
#include "galois.h"
49
#include "galois.h"
50
#include "ov-galois.h"
50
#include "ov-galois.h"
51
#include <octave/utils.h>
51
#include <octave/utils.h>
52
#include <cstring>
52
#include <octave/variables.h>
53
#include <octave/variables.h>
53
54
54
#ifndef OCTAVE_LOCAL_BUFFER
55
#ifndef OCTAVE_LOCAL_BUFFER
55
#include <vector>
56
#include <vector>
56
#define OCTAVE_LOCAL_BUFFER(T, buf, size) \
57
#define OCTAVE_LOCAL_BUFFER(T, buf, size) \
(-)octave-forge-2006.03.17.orig/main/fixed/fixedComplex.cc (+1 lines)
Lines 23-32 Link Here
23
23
24
*/
24
*/
25
25
26
#include <complex>
26
#include <complex>
27
#include <cmath>
27
#include <cmath>
28
#include <cstdlib>
28
#include "int/fixed.h"
29
#include "int/fixed.h"
29
#include "fixedComplex.h"
30
#include "fixedComplex.h"
30
31
31
#if !defined (CXX_ISO_COMPLIANT_LIBRARY)
32
#if !defined (CXX_ISO_COMPLIANT_LIBRARY)
32
#error "Need ISO compliant C++ libraries. Try a more recent compiler!!!"
33
#error "Need ISO compliant C++ libraries. Try a more recent compiler!!!"
(-)octave-forge-2006.03.17.orig/main/miscellaneous/listen.cc (+1 lines)
Lines 9-18 Link Here
9
#include <cstdio>
9
#include <cstdio>
10
#include <cctype>
10
#include <cctype>
11
#include <cstdlib>
11
#include <cstdlib>
12
#include <unistd.h>
12
#include <unistd.h>
13
#include <cerrno>
13
#include <cerrno>
14
#include <cstring>
14
// #include <string.h>
15
// #include <string.h>
15
#include <sys/types.h>
16
#include <sys/types.h>
16
#include <sys/socket.h>
17
#include <sys/socket.h>
17
#include <netinet/in.h>
18
#include <netinet/in.h>
18
#include <arpa/inet.h>
19
#include <arpa/inet.h>
(-)octave-forge-2006.03.17.orig/main/miscellaneous/mfilename.cc (+1 lines)
Lines 20-29 Link Here
20
*/
20
*/
21
21
22
//#ifdef HAVE_CONFIG_H
22
//#ifdef HAVE_CONFIG_H
23
#include <config.h>
23
#include <config.h>
24
//#endif
24
//#endif
25
#include <algorithm>
25
26
26
#include "defun-dld.h"
27
#include "defun-dld.h"
27
#include "error.h"
28
#include "error.h"
28
#include "gripes.h"
29
#include "gripes.h"
29
#include "oct-obj.h"
30
#include "oct-obj.h"
(-)octave-forge-2006.03.17.orig/main/plot/graphics.cc (+1 lines)
Lines 9-18 Link Here
9
/*
9
/*
10
 * Graphics extention for hacking gnuplot on X11
10
 * Graphics extention for hacking gnuplot on X11
11
 */
11
 */
12
12
13
#include <string>
13
#include <string>
14
#include <cstring>
14
15
15
#include <octave/oct.h>
16
#include <octave/oct.h>
16
#include <octave/toplev.h>
17
#include <octave/toplev.h>
17
#include <octave/parse.h>
18
#include <octave/parse.h>
18
19

Return to bug 219392