1 |
markusle 08/04/27 15:09:41 |
2 |
|
3 |
Added: octave-forge-2006.03.17-gcc43.patch |
4 |
Log: |
5 |
Added patch to enable compilation against gcc-4.3 (fixes bug #219392). |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-mathematics/octave-forge/files/octave-forge-2006.03.17-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave-forge/files/octave-forge-2006.03.17-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave-forge/files/octave-forge-2006.03.17-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: octave-forge-2006.03.17-gcc43.patch |
15 |
=================================================================== |
16 |
diff -Naur octave-forge-2006.03.17/extra/graceplot/__grcmd__.cc octave-forge-2006.03.17.new/extra/graceplot/__grcmd__.cc |
17 |
--- octave-forge-2006.03.17/extra/graceplot/__grcmd__.cc 2005-05-24 23:43:38.000000000 -0400 |
18 |
+++ octave-forge-2006.03.17.new/extra/graceplot/__grcmd__.cc 2008-04-27 10:43:59.000000000 -0400 |
19 |
@@ -36,6 +36,7 @@ |
20 |
#include <errno.h> |
21 |
#include <limits.h> |
22 |
#include <string> |
23 |
+#include <cstring> |
24 |
#include <map> |
25 |
#ifndef OPEN_MAX |
26 |
# define OPEN_MAX 256 |
27 |
diff -Naur octave-forge-2006.03.17/extra/mex/mex.cc octave-forge-2006.03.17.new/extra/mex/mex.cc |
28 |
--- octave-forge-2006.03.17/extra/mex/mex.cc 2004-07-08 00:56:03.000000000 -0400 |
29 |
+++ octave-forge-2006.03.17.new/extra/mex/mex.cc 2008-04-27 10:43:59.000000000 -0400 |
30 |
@@ -26,6 +26,7 @@ |
31 |
#include <iomanip> |
32 |
#include <set> |
33 |
#include <string> |
34 |
+#include <cstring> |
35 |
typedef void * Pix; |
36 |
typedef std::set<Pix> MemSet; |
37 |
|
38 |
diff -Naur octave-forge-2006.03.17/extra/pdb/creadpdb.cc octave-forge-2006.03.17.new/extra/pdb/creadpdb.cc |
39 |
--- octave-forge-2006.03.17/extra/pdb/creadpdb.cc 2006-01-08 00:47:57.000000000 -0500 |
40 |
+++ octave-forge-2006.03.17.new/extra/pdb/creadpdb.cc 2008-04-27 10:43:59.000000000 -0400 |
41 |
@@ -20,6 +20,7 @@ |
42 |
#include <sys/mman.h> |
43 |
#include <sys/types.h> |
44 |
#include <unistd.h> |
45 |
+#include <cstring> |
46 |
#include <fcntl.h> |
47 |
|
48 |
#define BUFLEN 80 |
49 |
diff -Naur octave-forge-2006.03.17/FIXES/oct-sort.cc octave-forge-2006.03.17.new/FIXES/oct-sort.cc |
50 |
--- octave-forge-2006.03.17/FIXES/oct-sort.cc 2004-01-25 10:17:25.000000000 -0500 |
51 |
+++ octave-forge-2006.03.17.new/FIXES/oct-sort.cc 2008-04-27 10:43:59.000000000 -0400 |
52 |
@@ -85,6 +85,7 @@ |
53 |
#include <octave/lo-mappers.h> |
54 |
#include <octave/config.h> |
55 |
#include <octave/quit.h> |
56 |
+#include <cstring> |
57 |
#include "oct-sort.h" |
58 |
|
59 |
#define IFLT(a,b) if (compare == NULL ? ((a) < (b)) : compare ((a), (b))) |
60 |
diff -Naur octave-forge-2006.03.17/FIXES/sort.cc octave-forge-2006.03.17.new/FIXES/sort.cc |
61 |
--- octave-forge-2006.03.17/FIXES/sort.cc 2004-04-28 04:55:14.000000000 -0400 |
62 |
+++ octave-forge-2006.03.17.new/FIXES/sort.cc 2008-04-27 10:43:59.000000000 -0400 |
63 |
@@ -27,6 +27,7 @@ |
64 |
#include <octave/lo-ieee.h> |
65 |
#include <octave/data-conv.h> |
66 |
#include <octave/ov-cx-mat.h> |
67 |
+#include <cstring> |
68 |
#include "oct-sort.cc" |
69 |
|
70 |
// ======= Cruft to support ancient versions of Octave ========= |
71 |
diff -Naur octave-forge-2006.03.17/main/comm/gf.cc octave-forge-2006.03.17.new/main/comm/gf.cc |
72 |
--- octave-forge-2006.03.17/main/comm/gf.cc 2005-10-12 14:47:48.000000000 -0400 |
73 |
+++ octave-forge-2006.03.17.new/main/comm/gf.cc 2008-04-27 10:43:59.000000000 -0400 |
74 |
@@ -49,6 +49,7 @@ |
75 |
#include "galois.h" |
76 |
#include "ov-galois.h" |
77 |
#include <octave/utils.h> |
78 |
+#include <cstring> |
79 |
#include <octave/variables.h> |
80 |
|
81 |
#ifndef OCTAVE_LOCAL_BUFFER |
82 |
diff -Naur octave-forge-2006.03.17/main/fixed/fixedComplex.cc octave-forge-2006.03.17.new/main/fixed/fixedComplex.cc |
83 |
--- octave-forge-2006.03.17/main/fixed/fixedComplex.cc 2004-07-06 16:55:23.000000000 -0400 |
84 |
+++ octave-forge-2006.03.17.new/main/fixed/fixedComplex.cc 2008-04-27 10:43:59.000000000 -0400 |
85 |
@@ -25,6 +25,7 @@ |
86 |
|
87 |
#include <complex> |
88 |
#include <cmath> |
89 |
+#include <cstdlib> |
90 |
#include "int/fixed.h" |
91 |
#include "fixedComplex.h" |
92 |
|
93 |
diff -Naur octave-forge-2006.03.17/main/miscellaneous/listen.cc octave-forge-2006.03.17.new/main/miscellaneous/listen.cc |
94 |
--- octave-forge-2006.03.17/main/miscellaneous/listen.cc 2005-11-16 16:41:07.000000000 -0500 |
95 |
+++ octave-forge-2006.03.17.new/main/miscellaneous/listen.cc 2008-04-27 10:43:59.000000000 -0400 |
96 |
@@ -11,6 +11,7 @@ |
97 |
#include <cstdlib> |
98 |
#include <unistd.h> |
99 |
#include <cerrno> |
100 |
+#include <cstring> |
101 |
// #include <string.h> |
102 |
#include <sys/types.h> |
103 |
#include <sys/socket.h> |
104 |
diff -Naur octave-forge-2006.03.17/main/miscellaneous/mfilename.cc octave-forge-2006.03.17.new/main/miscellaneous/mfilename.cc |
105 |
--- octave-forge-2006.03.17/main/miscellaneous/mfilename.cc 2005-12-21 15:42:40.000000000 -0500 |
106 |
+++ octave-forge-2006.03.17.new/main/miscellaneous/mfilename.cc 2008-04-27 10:43:59.000000000 -0400 |
107 |
@@ -22,6 +22,7 @@ |
108 |
//#ifdef HAVE_CONFIG_H |
109 |
#include <config.h> |
110 |
//#endif |
111 |
+#include <algorithm> |
112 |
|
113 |
#include "defun-dld.h" |
114 |
#include "error.h" |
115 |
diff -Naur octave-forge-2006.03.17/main/plot/graphics.cc octave-forge-2006.03.17.new/main/plot/graphics.cc |
116 |
--- octave-forge-2006.03.17/main/plot/graphics.cc 2004-01-12 02:39:09.000000000 -0500 |
117 |
+++ octave-forge-2006.03.17.new/main/plot/graphics.cc 2008-04-27 10:43:59.000000000 -0400 |
118 |
@@ -11,6 +11,7 @@ |
119 |
*/ |
120 |
|
121 |
#include <string> |
122 |
+#include <cstring> |
123 |
|
124 |
#include <octave/oct.h> |
125 |
#include <octave/toplev.h> |
126 |
|
127 |
|
128 |
|
129 |
-- |
130 |
gentoo-commits@l.g.o mailing list |