Add the patches

This commit is contained in:
Orion Poplawski 2008-03-04 21:37:41 +00:00
parent 3d7c447ff8
commit a0ff0b1d4e
3 changed files with 39283 additions and 0 deletions

39214
gdl-0.9pre6-cvs.patch Normal file

File diff suppressed because it is too large Load Diff

58
gdl-0.9pre6-gcc43.patch Normal file
View File

@ -0,0 +1,58 @@
--- gdl-0.9pre6/src/antlr/CharScanner.hpp.gcc43 2007-10-29 17:10:45.000000000 -0600
+++ gdl-0.9pre6/src/antlr/CharScanner.hpp 2008-02-13 10:55:14.000000000 -0700
@@ -10,6 +10,8 @@
#include <antlr/config.hpp>
+#include <cstdlib>
+#include <cstring>
#include <map>
#ifdef HAS_NOT_CCTYPE_H
--- gdl-0.9pre6/src/antlr/Parser.cpp.gcc 2007-10-29 17:10:45.000000000 -0600
+++ gdl-0.9pre6/src/antlr/Parser.cpp 2008-02-13 11:18:20.000000000 -0700
@@ -11,6 +11,7 @@
#include "antlr/TokenBuffer.hpp"
#include "antlr/MismatchedTokenException.hpp"
//#include "antlr/ASTFactory.hpp"
+#include <cstdlib>
#include <iostream>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
--- gdl-0.9pre6/src/antlr/TreeParser.cpp.gcc43 2007-10-29 17:10:45.000000000 -0600
+++ gdl-0.9pre6/src/antlr/TreeParser.cpp 2008-02-13 11:20:28.000000000 -0700
@@ -8,6 +8,7 @@
#include "antlr/TreeParser.hpp"
#include "antlr/ASTNULLType.hpp"
#include "antlr/MismatchedTokenException.hpp"
+#include <cstdlib>
#include <iostream>
#include <stdio.h>
--- gdl-0.9pre6/src/basic_pro.cpp.gcc43 2007-10-29 17:10:47.000000000 -0600
+++ gdl-0.9pre6/src/basic_pro.cpp 2008-02-13 11:30:20.000000000 -0700
@@ -19,6 +19,7 @@
#include <string>
#include <fstream>
+#include <iterator>
#include <memory>
#include <set>
--- gdl-0.9pre6/src/gdlgstream.cpp.gcc43 2007-10-29 17:10:47.000000000 -0600
+++ gdl-0.9pre6/src/gdlgstream.cpp 2008-02-13 11:36:14.000000000 -0700
@@ -25,12 +25,12 @@
using namespace std;
-void PLPlotAbortHandler(char *c)
+void PLPlotAbortHandler(const char *c)
{
cout << "PLPlot abort handler: " << c << endl;
}
-int PLPlotExitHandler(char *c)
+int PLPlotExitHandler(const char *c)
{
cout << "PLPlot exit handler: " << c << endl;
return 0;

11
gdl-0.9pre6-plplot.patch Normal file
View File

@ -0,0 +1,11 @@
--- gdl-0.9pre6/src/plot3d_nr.cpp.plplot 2007-10-29 17:10:47.000000000 -0600
+++ gdl-0.9pre6/src/plot3d_nr.cpp 2008-02-27 09:39:56.000000000 -0700
@@ -217,7 +217,7 @@
zmin = (zmax_in > zmin_in) ? zmin_in: zmax_in;
zmax = (zmax_in > zmin_in) ? zmax_in: zmin_in;
- pldtik(zmin, zmax, &tick, &nsub);
+ pldtik(zmin, zmax, &tick, &nsub, FALSE);
tp = tick * floor(zmin / tick) + tick;
pl3upv = 0;