diff options
author | mich <mich@FreeBSD.org> | 2004-08-10 23:25:21 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2004-08-10 23:25:21 +0800 |
commit | 13876e8370472064998000514c488f67c4409c30 (patch) | |
tree | 6e06f021941b6d3b237ac8516fd0fcb3c51cc464 /devel/doctorj | |
parent | 873847588d3529615fa69085c097bfc25e16fa1e (diff) | |
download | freebsd-ports-gnome-13876e8370472064998000514c488f67c4409c30.tar.gz freebsd-ports-gnome-13876e8370472064998000514c488f67c4409c30.tar.zst freebsd-ports-gnome-13876e8370472064998000514c488f67c4409c30.zip |
o Fix build with gcc-3.4
o Fix build on sparc64 and amd64
Diffstat (limited to 'devel/doctorj')
-rw-r--r-- | devel/doctorj/files/patch-syntj_src_ErrorImproperSequence.h | 14 | ||||
-rw-r--r-- | devel/doctorj/files/patch-util_src_Yagol.h | 32 |
2 files changed, 46 insertions, 0 deletions
diff --git a/devel/doctorj/files/patch-syntj_src_ErrorImproperSequence.h b/devel/doctorj/files/patch-syntj_src_ErrorImproperSequence.h new file mode 100644 index 000000000000..9bf3c90cc622 --- /dev/null +++ b/devel/doctorj/files/patch-syntj_src_ErrorImproperSequence.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- syntj/src/ErrorImproperSequence.h.orig Tue Aug 10 16:09:36 2004 ++++ syntj/src/ErrorImproperSequence.h Tue Aug 10 16:09:51 2004 +@@ -49,7 +49,7 @@ + /** + * The current item. + */ +- AstItem* const current_; ++ AstItem* current_; + + }; + diff --git a/devel/doctorj/files/patch-util_src_Yagol.h b/devel/doctorj/files/patch-util_src_Yagol.h new file mode 100644 index 000000000000..8c809f972044 --- /dev/null +++ b/devel/doctorj/files/patch-util_src_Yagol.h @@ -0,0 +1,32 @@ + +$FreeBSD$ + +--- util/src/Yagol.h.orig Tue Aug 10 16:42:48 2004 ++++ util/src/Yagol.h Tue Aug 10 16:43:29 2004 +@@ -298,6 +298,8 @@ + template < class Type > + string AboveRangeException<Type>::message() const + { ++ Type value; ++ Type limit; + return "value " + doctorj::StringUtilities::toString(value()) + + " is above the upper bound " + doctorj::StringUtilities::toString(limit()); + } +@@ -339,6 +341,8 @@ + template < class Type > + string BelowRangeException<Type>::message() const + { ++ Type value; ++ Type limit; + return "value " + doctorj::StringUtilities::toString(value()) + + " is below the lower bound " + doctorj::StringUtilities::toString(limit()); + } +@@ -1991,7 +1995,7 @@ + vector<typename Container::value_type>* const values) + { + ArgCallback<vector< typename Container::value_type > >* validator = +- new GroupValidator<vector< typename Container::value_type > >(value, valids, nValids); ++ new GroupValidator<vector< typename Container::value_type > >(values, valids, nValids); + return addOption(new OptionMultiValues<Container>(name, description, validator, strictArgs_)); + } + |