diff options
Diffstat (limited to 'app-arch/advancecomp/files/advancecomp-1.13-64bit.diff')
-rw-r--r-- | app-arch/advancecomp/files/advancecomp-1.13-64bit.diff | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff b/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff new file mode 100644 index 000000000000..d1934c23e5e8 --- /dev/null +++ b/app-arch/advancecomp/files/advancecomp-1.13-64bit.diff @@ -0,0 +1,56 @@ +--- advancecomp-1.13.orig/file.cc 2004-12-16 23:19:17.778775072 -0200 ++++ advancecomp-1.13/file.cc 2004-12-16 23:28:55.382965888 -0200 +@@ -295,7 +295,7 @@ + { + ostringstream os; + +- unsigned pos = path.rfind('.'); ++ string::size_type pos = path.rfind('.'); + + if (pos == string::npos) + os << path << "."; +@@ -312,7 +312,7 @@ + */ + string file_dir(const string& path) throw () + { +- unsigned pos = path.rfind('/'); ++ string::size_type pos = path.rfind('/'); + if (pos == string::npos) { + return ""; + } else { +@@ -325,7 +325,7 @@ + */ + string file_name(const string& path) throw () + { +- unsigned pos = path.rfind('/'); ++ string::size_type pos = path.rfind('/'); + if (pos == string::npos) { + return path; + } else { +@@ -338,7 +338,7 @@ + */ + string file_basepath(const string& path) throw () + { +- unsigned dot = path.rfind('.'); ++ string::size_type dot = path.rfind('.'); + if (dot == string::npos) + return path; + else +@@ -351,7 +351,7 @@ + string file_basename(const string& path) throw () + { + string name = file_name(path); +- unsigned dot = name.rfind('.'); ++ string::size_type dot = name.rfind('.'); + if (dot == string::npos) + return name; + else +@@ -364,7 +364,7 @@ + string file_ext(const string& path) throw () + { + string name = file_name(path); +- unsigned dot = name.rfind('.'); ++ string::size_type dot = name.rfind('.'); + if (dot == string::npos) + return ""; + else |