diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-11 06:42:53 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-11 06:42:53 +0000 |
commit | 853a463e49ab60881ad1cfb8b401d2829cffcfd6 (patch) | |
tree | dddf918d5dc2e1ab72d392bc079faf7f29ea8e88 /dev-lang/maude | |
parent | maude (diff) | |
download | historical-853a463e49ab60881ad1cfb8b401d2829cffcfd6.tar.gz historical-853a463e49ab60881ad1cfb8b401d2829cffcfd6.tar.bz2 historical-853a463e49ab60881ad1cfb8b401d2829cffcfd6.zip |
Want to get this into CVS for the case someone needs it now.
Diffstat (limited to 'dev-lang/maude')
-rw-r--r-- | dev-lang/maude/Manifest | 9 | ||||
-rw-r--r-- | dev-lang/maude/files/2.1.1-gcc3.4.patch | 260 |
2 files changed, 265 insertions, 4 deletions
diff --git a/dev-lang/maude/Manifest b/dev-lang/maude/Manifest index c14f5fa620a5..aa32ef83c465 100644 --- a/dev-lang/maude/Manifest +++ b/dev-lang/maude/Manifest @@ -1,7 +1,8 @@ -MD5 10bb2d231f18df6952ff9e0834cce0d2 ChangeLog 814 -MD5 b94a55681beda4451273757cca420db5 maude-2.1.ebuild 1485 -MD5 40e5ec90608b2221625c50399a8f1f5a metadata.xml 612 MD5 4189ecedff941949354e55b06e83d0af maude-2.1.1.ebuild 1324 +MD5 6ae272c14be8e40729cd977b101922c2 maude-2.1.1-r2.ebuild 1456 +MD5 1e59f860caa4ffc593318a4e2e30bc5b ChangeLog 1318 +MD5 40e5ec90608b2221625c50399a8f1f5a metadata.xml 612 MD5 ef113f0269722dd261f4d017bdda4127 files/23maude 27 -MD5 694819c2b6d60c1350e72b9ee725bff8 files/digest-maude-2.1 311 +MD5 5fdcf01ac8efe5c12f7fb581494b2b5f files/digest-maude-2.1.1-r2 138 +MD5 fd79afe5e64ae842aa9be90a1b056d25 files/2.1.1-gcc3.4.patch 7809 MD5 5fdcf01ac8efe5c12f7fb581494b2b5f files/digest-maude-2.1.1 138 diff --git a/dev-lang/maude/files/2.1.1-gcc3.4.patch b/dev-lang/maude/files/2.1.1-gcc3.4.patch new file mode 100644 index 000000000000..d4c7ed6fbfb8 --- /dev/null +++ b/dev-lang/maude/files/2.1.1-gcc3.4.patch @@ -0,0 +1,260 @@ +diff -ru maude-2.1.1/src/Core/argVec.hh maude-2.1.1-new/src/Core/argVec.hh +--- maude-2.1.1/src/Core/argVec.hh 2003-06-01 06:50:02.000000000 +0200 ++++ maude-2.1.1-new/src/Core/argVec.hh 2004-10-09 01:12:28.000000000 +0200 +@@ -41,6 +41,7 @@ + // + #ifndef _argVec_hh_ + #define _argVec_hh_ ++#include <dagNode.hh> + + template<class T> + class ArgVec +diff -ru maude-2.1.1/src/Core/checkedArgVecConstIterator.hh maude-2.1.1-new/src/Core/checkedArgVecConstIterator.hh +--- maude-2.1.1/src/Core/checkedArgVecConstIterator.hh 2003-06-01 06:50:02.000000000 +0200 ++++ maude-2.1.1-new/src/Core/checkedArgVecConstIterator.hh 2004-10-09 01:10:37.000000000 +0200 +@@ -205,7 +205,7 @@ + inline typename ArgVec<T>::const_iterator + ArgVec<T>::const_iterator::operator++(int) + { +- ArgVec::const_iterator tmp(*this); ++ typename ArgVec::const_iterator tmp(*this); + operator++(); + return tmp; + } +@@ -225,7 +225,7 @@ + inline typename ArgVec<T>::const_iterator + ArgVec<T>::const_iterator::operator--(int) + { +- ArgVec::const_iterator tmp(*this); ++ typename ArgVec::const_iterator tmp(*this); + operator--(); + return tmp; + } +@@ -245,7 +245,7 @@ + inline typename ArgVec<T>::const_iterator + ArgVec<T>::const_iterator::operator+(difference_type delta) const + { +- ArgVec::const_iterator tmp(*this); ++ typename ArgVec::const_iterator tmp(*this); + return tmp += delta; + } + +@@ -264,7 +264,7 @@ + inline typename ArgVec<T>::const_iterator + ArgVec<T>::const_iterator::operator-(difference_type delta) const + { +- ArgVec::const_iterator tmp(*this); ++ typename ArgVec::const_iterator tmp(*this); + return tmp -= delta; + } + +diff -ru maude-2.1.1/src/Core/checkedArgVecIterator.hh maude-2.1.1-new/src/Core/checkedArgVecIterator.hh +--- maude-2.1.1/src/Core/checkedArgVecIterator.hh 2003-06-01 06:50:02.000000000 +0200 ++++ maude-2.1.1-new/src/Core/checkedArgVecIterator.hh 2004-10-09 01:10:37.000000000 +0200 +@@ -194,7 +194,7 @@ + inline typename ArgVec<T>::iterator + ArgVec<T>::iterator::operator++(int) + { +- ArgVec::iterator tmp(*this); ++ typename ArgVec::iterator tmp(*this); + operator++(); + return tmp; + } +@@ -214,7 +214,7 @@ + inline typename ArgVec<T>::iterator + ArgVec<T>::iterator::operator--(int) + { +- ArgVec::iterator tmp(*this); ++ typename ArgVec::iterator tmp(*this); + operator--(); + return tmp; + } +@@ -234,7 +234,7 @@ + inline typename ArgVec<T>::iterator + ArgVec<T>::iterator::operator+(difference_type delta) const + { +- ArgVec::iterator tmp(*this); ++ typename ArgVec::iterator tmp(*this); + return tmp += delta; + } + +@@ -253,7 +253,7 @@ + inline typename ArgVec<T>::iterator + ArgVec<T>::iterator::operator-(difference_type delta) const + { +- ArgVec::iterator tmp(*this); ++ typename ArgVec::iterator tmp(*this); + return tmp -= delta; + } + +diff -ru maude-2.1.1/src/FreeTheory/freeDagNode.hh maude-2.1.1-new/src/FreeTheory/freeDagNode.hh +--- maude-2.1.1/src/FreeTheory/freeDagNode.hh 2003-06-01 06:49:16.000000000 +0200 ++++ maude-2.1.1-new/src/FreeTheory/freeDagNode.hh 2004-10-09 01:11:44.000000000 +0200 +@@ -87,7 +87,7 @@ + if (nrArgs > nrWords) + { + setCallDtor(); // need our dtor called when garbage collected so we can free arg array +- external = new (DagNode*)[nrArgs]; ++ external = new DagNode*[nrArgs]; + } + } + +diff -ru maude-2.1.1/src/Interface/dagNode.hh maude-2.1.1-new/src/Interface/dagNode.hh +--- maude-2.1.1/src/Interface/dagNode.hh 2004-02-06 02:13:02.000000000 +0100 ++++ maude-2.1.1-new/src/Interface/dagNode.hh 2004-10-09 01:13:10.000000000 +0200 +@@ -25,6 +25,7 @@ + // + #ifndef _dagNode_hh_ + #define _dagNode_hh_ ++#include "symbol.hh" + #include "redexPosition.hh" + + class DagNode +diff -ru maude-2.1.1/src/Mixfix/lexer.cc maude-2.1.1-new/src/Mixfix/lexer.cc +--- maude-2.1.1/src/Mixfix/lexer.cc 2004-05-26 04:04:40.000000000 +0200 ++++ maude-2.1.1-new/src/Mixfix/lexer.cc 2004-10-09 01:26:59.000000000 +0200 +@@ -9,6 +9,7 @@ + #define YY_FLEX_MINOR_VERSION 5 + + #include <stdio.h> ++#include <unistd.h> + + + /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ +@@ -22,7 +23,6 @@ + #ifdef __cplusplus + + #include <stdlib.h> +-#include <unistd.h> + + /* Use prototypes in function declarations. */ + #define YY_USE_PROTOS +@@ -2000,7 +2000,7 @@ + YY_DECL + { + register yy_state_type yy_current_state; +- register char *yy_cp, *yy_bp; ++ register char *yy_cp = NULL, *yy_bp = NULL; + register int yy_act; + + #line 83 "../../../src/Mixfix/lexer.ll" +@@ -3367,6 +3367,7 @@ + #endif /* ifndef YY_NO_UNPUT */ + + ++#ifndef YY_NO_INPUT + #ifdef __cplusplus + static int yyinput() + #else +@@ -3438,7 +3439,7 @@ + + return c; + } +- ++#endif /* YY_NO_INPUT */ + + #ifdef YY_USE_PROTOS + void yyrestart( FILE *input_file ) +@@ -3549,11 +3550,6 @@ + } + + +-#ifndef YY_ALWAYS_INTERACTIVE +-#ifndef YY_NEVER_INTERACTIVE +-extern int isatty YY_PROTO(( int )); +-#endif +-#endif + + #ifdef YY_USE_PROTOS + void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) + +diff -ru maude-2.1.1/src/Utility/checkedConstIterator.hh maude-2.1.1-new/src/Utility/checkedConstIterator.hh +--- maude-2.1.1/src/Utility/checkedConstIterator.hh 2003-06-01 06:29:22.000000000 +0200 ++++ maude-2.1.1-new/src/Utility/checkedConstIterator.hh 2004-10-09 01:08:34.000000000 +0200 +@@ -209,7 +209,7 @@ + inline typename Vector<T>::const_iterator + Vector<T>::const_iterator::operator++(int) + { +- Vector::const_iterator tmp(*this); ++ typename Vector::const_iterator tmp(*this); + operator++(); + return tmp; + } +@@ -229,7 +229,7 @@ + inline typename Vector<T>::const_iterator + Vector<T>::const_iterator::operator--(int) + { +- Vector::const_iterator tmp(*this); ++ typename Vector::const_iterator tmp(*this); + operator--(); + return tmp; + } +@@ -249,7 +249,7 @@ + inline typename Vector<T>::const_iterator + Vector<T>::const_iterator::operator+(difference_type delta) const + { +- Vector::const_iterator tmp(*this); ++ typename Vector::const_iterator tmp(*this); + return tmp += delta; + } + +@@ -268,7 +268,7 @@ + inline typename Vector<T>::const_iterator + Vector<T>::const_iterator::operator-(difference_type delta) const + { +- Vector::const_iterator tmp(*this); ++ typename Vector::const_iterator tmp(*this); + return tmp -= delta; + } + +diff -ru maude-2.1.1/src/Utility/checkedIterator.hh maude-2.1.1-new/src/Utility/checkedIterator.hh +--- maude-2.1.1/src/Utility/checkedIterator.hh 2003-06-01 06:29:22.000000000 +0200 ++++ maude-2.1.1-new/src/Utility/checkedIterator.hh 2004-10-09 01:08:34.000000000 +0200 +@@ -198,7 +198,7 @@ + inline typename Vector<T>::iterator + Vector<T>::iterator::operator++(int) + { +- Vector::iterator tmp(*this); ++ typename Vector::iterator tmp(*this); + operator++(); + return tmp; + } +@@ -218,7 +218,7 @@ + inline typename Vector<T>::iterator + Vector<T>::iterator::operator--(int) + { +- Vector::iterator tmp(*this); ++ typename Vector::iterator tmp(*this); + operator--(); + return tmp; + } +@@ -238,7 +238,7 @@ + inline typename Vector<T>::iterator + Vector<T>::iterator::operator+(difference_type delta) const + { +- Vector::iterator tmp(*this); ++ typename Vector::iterator tmp(*this); + return tmp += delta; + } + +@@ -257,7 +257,7 @@ + inline typename Vector<T>::iterator + Vector<T>::iterator::operator-(difference_type delta) const + { +- Vector::iterator tmp(*this); ++ typename Vector::iterator tmp(*this); + return tmp -= delta; + } + +diff -ru maude-2.1.1/src/Utility/indexedSet.hh maude-2.1.1-new/src/Utility/indexedSet.hh +--- maude-2.1.1/src/Utility/indexedSet.hh 2003-06-01 06:29:22.000000000 +0200 ++++ maude-2.1.1-new/src/Utility/indexedSet.hh 2004-10-09 01:08:34.000000000 +0200 +@@ -79,7 +79,7 @@ + IndexedSet<T>::insert(const T& element) + { + pair<typename EltMap::iterator, bool> p = +- eltMap.insert(EltMap::value_type(element, indexMap.size())); ++ eltMap.insert(typename EltMap::value_type(element, indexMap.size())); + if (p.second) + indexMap.push_back(p.first); + return p.first->second; |