summaryrefslogtreecommitdiffstats
path: root/devel/titano/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/titano/files')
-rw-r--r--devel/titano/files/gcc3-patch-src_projects.cc22
-rw-r--r--devel/titano/files/gcc3-patch-src_projects.h30
-rw-r--r--devel/titano/files/gcc3-patch-src_titano-app.cc11
-rw-r--r--devel/titano/files/gcc3-patch-src_views.cc21
-rw-r--r--devel/titano/files/patch-src_automake.h14
-rw-r--r--devel/titano/files/patch-src_conffile.h11
-rw-r--r--devel/titano/files/patch-src_iexceptions.h51
-rw-r--r--devel/titano/files/patch-src_prefs.cc25
8 files changed, 0 insertions, 185 deletions
diff --git a/devel/titano/files/gcc3-patch-src_projects.cc b/devel/titano/files/gcc3-patch-src_projects.cc
deleted file mode 100644
index 540d717a1..000000000
--- a/devel/titano/files/gcc3-patch-src_projects.cc
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/projects.cc.orig Sat Dec 9 23:13:32 2000
-+++ src/projects.cc Thu Apr 7 19:10:08 2005
-@@ -100,13 +100,13 @@
- int pos = name.rfind('.');
-
- if(pos != name.npos){
-- if(!name.compare(".h",pos,2))
-+ if(!name.compare(pos,2,".h"))
- res = C_HEADER;
-- if(!name.compare(".c",pos,2)||
-- !name.compare(".C",pos,2)||
-- !name.compare(".cc",pos,3)||
-- !name.compare(".cpp",pos,4)||
-- !name.compare(".cxx",pos,4))
-+ if(!name.compare(pos,2,".c")||
-+ !name.compare(pos,2,".C")||
-+ !name.compare(pos,3,".cc")||
-+ !name.compare(pos,4,".cpp")||
-+ !name.compare(pos,4,".cxx"))
- res = C_SOURCE;
- };
-
diff --git a/devel/titano/files/gcc3-patch-src_projects.h b/devel/titano/files/gcc3-patch-src_projects.h
deleted file mode 100644
index 3b65f689d..000000000
--- a/devel/titano/files/gcc3-patch-src_projects.h
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/projects.h.orig Sat Dec 9 22:57:49 2000
-+++ src/projects.h Thu Apr 7 17:30:36 2005
-@@ -21,22 +21,24 @@
- #define _PROJECTS_H
-
- #include <string>
--#include <hash_map>
-+#include <ext/hash_map>
- #include <list>
-
- #include "dialogs.h"
- #include "files.h"
-
-+using namespace std;
-+
- struct str_hasher
- {
- size_t operator()(const string &str) const
- {
-- hash<char *> hasher;
-+ __gnu_cxx::hash<char *> hasher;
- return hasher(str.c_str());
- };
- };
-
--typedef hash_map<string,File *,str_hasher> files_map;
-+typedef __gnu_cxx::hash_map<string,File *,str_hasher> files_map;
- typedef list<string> files_list;
-
- typedef enum {UNKNOWN,C_HEADER,C_SOURCE} FileType;
diff --git a/devel/titano/files/gcc3-patch-src_titano-app.cc b/devel/titano/files/gcc3-patch-src_titano-app.cc
deleted file mode 100644
index add76ff8c..000000000
--- a/devel/titano/files/gcc3-patch-src_titano-app.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/titano-app.cc.orig Fri Dec 29 19:52:11 2000
-+++ src/titano-app.cc Thu Apr 7 18:28:24 2005
-@@ -410,7 +410,7 @@
-
- void TitanoApp::open_project(const string &filename)
- {
-- if(filename.rfind('.') == filename.npos || filename.compare(".titano",filename.rfind('.'),7)){
-+ if(filename.rfind('.') == filename.npos || filename.compare(filename.rfind('.'),7,".titano")){
- throw Exception("File " + filename + " is not a Titano project.");
- };
-
diff --git a/devel/titano/files/gcc3-patch-src_views.cc b/devel/titano/files/gcc3-patch-src_views.cc
deleted file mode 100644
index 49d9bd025..000000000
--- a/devel/titano/files/gcc3-patch-src_views.cc
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/views.cc.orig Sat Dec 16 01:22:27 2000
-+++ src/views.cc Thu Apr 7 19:07:54 2005
-@@ -45,12 +45,12 @@
- int pos = file.rfind('.');
-
- if(pos != file.npos){
-- if(!file.compare(".h",pos,2)||
-- !file.compare(".c",pos,2)||
-- !file.compare(".C",pos,2)||
-- !file.compare(".cc",pos,3)||
-- !file.compare(".cpp",pos,4)||
-- !file.compare(".cxx",pos,4))
-+ if(!file.compare(pos,2,".h")||
-+ !file.compare(pos,2,".c")||
-+ !file.compare(pos,2,".C")||
-+ !file.compare(pos,3,".cc")||
-+ !file.compare(pos,4,".cpp")||
-+ !file.compare(pos,4,".cxx"))
- res = "cpp";
- };
-
diff --git a/devel/titano/files/patch-src_automake.h b/devel/titano/files/patch-src_automake.h
deleted file mode 100644
index 58d3be082..000000000
--- a/devel/titano/files/patch-src_automake.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/automake.h.orig Sat Dec 16 13:07:24 2000
-+++ src/automake.h Thu Apr 7 20:00:08 2005
-@@ -65,6 +65,11 @@
- {
- return target.name != str;
- };
-+
-+ friend bool operator==(const Target &target,const string &str)
-+ {
-+ return target.name == str;
-+ };
- };
-
- class Makefile
diff --git a/devel/titano/files/patch-src_conffile.h b/devel/titano/files/patch-src_conffile.h
deleted file mode 100644
index 12b5d5759..000000000
--- a/devel/titano/files/patch-src_conffile.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/conffile.h.orig Wed Nov 1 21:58:04 2000
-+++ src/conffile.h Thu Apr 7 19:55:13 2005
-@@ -23,6 +23,8 @@
- #include <gnome.h>
- #include <string>
-
-+using namespace std;
-+
- class ConfFile
- {
- private:
diff --git a/devel/titano/files/patch-src_iexceptions.h b/devel/titano/files/patch-src_iexceptions.h
deleted file mode 100644
index 055f422dc..000000000
--- a/devel/titano/files/patch-src_iexceptions.h
+++ /dev/null
@@ -1,51 +0,0 @@
---- src/iexceptions.h.orig Tue Sep 12 21:54:25 2000
-+++ src/iexceptions.h Thu Apr 7 17:37:27 2005
-@@ -24,6 +24,8 @@
- #include <string>
- #include <string.h>
-
-+using namespace std;
-+
- class Exception : public exception
- {
- protected:
-@@ -33,6 +35,9 @@
- message(msg)
- { };
-
-+ virtual ~Exception() throw()
-+ { };
-+
- virtual operator string()
- {
- return message;
-@@ -51,6 +56,9 @@
- error(err)
- { };
-
-+ virtual ~EIOError() throw()
-+ { };
-+
- virtual operator string()
- {
- return message + "\n" +
-@@ -71,6 +79,9 @@
- reason(reas)
- { };
-
-+ virtual ~ENotSupported() throw()
-+ { };
-+
- virtual operator string()
- {
- return message + "\n" +
-@@ -91,6 +102,9 @@
- error(err)
- { };
-
-+ virtual ~EShellError() throw()
-+ { };
-+
- virtual operator string()
- {
- return message + "\n" +
diff --git a/devel/titano/files/patch-src_prefs.cc b/devel/titano/files/patch-src_prefs.cc
deleted file mode 100644
index 48b1f21ab..000000000
--- a/devel/titano/files/patch-src_prefs.cc
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/prefs.cc.orig Sat Dec 9 16:07:38 2000
-+++ src/prefs.cc Thu Apr 7 20:48:59 2005
-@@ -18,6 +18,7 @@
- */
-
- #include <stdlib.h>
-+#include <unistd.h>
-
- #include "util.h"
- #include "conffile.h"
-@@ -33,9 +34,13 @@
- {
- if(name.empty())
- name = getenv("USER");
-+ if (name.empty())
-+ name = "nobody";
-
- if(mail.empty()){
-- char *host = getenv("HOSTNAME");
-+ char host[256];
-+ if (gethostname(host, 256))
-+ strncpy(host, "dev.null.org", 255);
- mail = name + "@" + host;
- };
-