summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-09-16 09:43:47 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-09-16 09:43:47 +0000
commit3ffc9c023215835f4aad1cb570fd9a9bde2aaa6f (patch)
tree53cb2a31e20daaa3f04c763e9c2174b8d6bf6b83 /app-text/htmlinc/files
parentfixed typo (diff)
downloadhistorical-3ffc9c023215835f4aad1cb570fd9a9bde2aaa6f.tar.gz
historical-3ffc9c023215835f4aad1cb570fd9a9bde2aaa6f.tar.bz2
historical-3ffc9c023215835f4aad1cb570fd9a9bde2aaa6f.zip
resolves bug 7794 for gcc3.2 compat
Diffstat (limited to 'app-text/htmlinc/files')
-rw-r--r--app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch81
1 files changed, 81 insertions, 0 deletions
diff --git a/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch b/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch
new file mode 100644
index 000000000000..63a783dfa6e0
--- /dev/null
+++ b/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch
@@ -0,0 +1,81 @@
+diff -u htmlinc/bytevector.cc htmlinc-1/bytevector.cc
+--- htmlinc/bytevector.cc 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/bytevector.cc 2002-09-11 13:55:25.000000000 +0200
+@@ -119,7 +119,7 @@
+ }
+
+ bool Bytevector::freadln(int file,char seperator){
+- vector<Bytevector*> v;
++ std::vector<Bytevector*> v;
+ Bytevector *b;
+ int index=0;
+ int status;
+@@ -152,7 +152,7 @@
+
+
+ void Bytevector::freadeof(int file){
+- vector<Bytevector*> v;
++ std::vector<Bytevector*> v;
+ Bytevector *b;
+ int index=0;
+ int status;
+diff -u htmlinc/bytevector.h htmlinc-1/bytevector.h
+--- htmlinc/bytevector.h 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/bytevector.h 2002-09-11 13:54:50.000000000 +0200
+@@ -54,7 +54,7 @@
+
+
+
+-class VectorIndexList : public vector<int> {
++class VectorIndexList : public std::vector<int> {
+ };
+
+
+diff -u htmlinc/stringlist.cc htmlinc-1/stringlist.cc
+--- htmlinc/stringlist.cc 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/stringlist.cc 2002-09-11 13:57:47.000000000 +0200
+@@ -283,7 +283,7 @@
+ for (Stringlist::iterator i=begin(); i!=end(); i++){
+ delete *i;
+ }
+- vector<Bytevector *>::clear();
++ std::vector<Bytevector *>::clear();
+ }
+
+
+@@ -373,7 +373,7 @@
+
+ void Stringlist::insert(Bytevector *b, int pos){
+ iterator i=begin()+pos;
+- vector<Bytevector *>::insert(i,b);
++ std::vector<Bytevector *>::insert(i,b);
+ }
+
+ void Stringlist::insert(Bytevector &b, int pos){
+@@ -417,7 +417,7 @@
+
+
+ Bytevector& Stringlist::operator[](int i){
+- return *(vector<Bytevector *>::operator[](i));
++ return *(std::vector<Bytevector *>::operator[](i));
+ }
+
+
+diff -u htmlinc/stringlist.h htmlinc-1/stringlist.h
+--- htmlinc/stringlist.h 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/stringlist.h 2002-09-11 13:56:32.000000000 +0200
+@@ -57,12 +57,12 @@
+ }
+ };
+
+-class MatrixIndexList: public vector<MatrixIndex> {
++class MatrixIndexList: public std::vector<MatrixIndex> {
+ };
+
+
+
+-class Stringlist : public vector<Bytevector*> {
++class Stringlist : public std::vector<Bytevector*> {
+ private:
+ Stringlist::iterator getID(Bytevector id);
+