summaryrefslogtreecommitdiff
path: root/devel/orbitcpp/files/patch-compiler::language.cc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-12-15 04:22:39 +0000
committerPatrick Li <pat@FreeBSD.org>2002-12-15 04:22:39 +0000
commit8290a90bda89840114dbfca219d389e047a41d1c (patch)
treed4429108c6de0b8208d571a39e28cb210cf63935 /devel/orbitcpp/files/patch-compiler::language.cc
parentFix patching and give maintainership to submitter. (diff)
Fix build in -current and unmark broken.
PR: ports/46081 Submitted by: Juha Liukkonen <jml@cubical.fi>
Diffstat (limited to 'devel/orbitcpp/files/patch-compiler::language.cc')
-rw-r--r--devel/orbitcpp/files/patch-compiler::language.cc38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/orbitcpp/files/patch-compiler::language.cc b/devel/orbitcpp/files/patch-compiler::language.cc
new file mode 100644
index 000000000000..e2fdeb73cc9c
--- /dev/null
+++ b/devel/orbitcpp/files/patch-compiler::language.cc
@@ -0,0 +1,38 @@
+--- compiler/language.cc.orig Sun Dec 8 01:58:29 2002
++++ compiler/language.cc Sun Dec 8 02:01:53 2002
+@@ -154,7 +154,7 @@
+
+ string
+ IDLElement::getQualifiedIDLIdentifier(IDLScope const *up_to,
+- IDLScope const *assumed_base = NULL) const {
++ IDLScope const *assumed_base) const {
+ if (up_to == this) return "";
+ IDLScope const *run = assumed_base ? assumed_base : getParentScope();
+
+@@ -172,7 +172,7 @@
+
+ string
+ IDLElement::getQualifiedCIdentifier(IDLScope const *up_to,
+- IDLScope const *assumed_base = NULL) const {
++ IDLScope const *assumed_base) const {
+ if (up_to == this) return "";
+ IDLScope const *run = assumed_base ? assumed_base : getParentScope();
+
+@@ -192,7 +192,7 @@
+
+ string
+ IDLElement::getQualifiedCPPIdentifier(IDLScope const *up_to,
+- IDLScope const *assumed_base = NULL) const {
++ IDLScope const *assumed_base) const {
+ if (up_to == this) return "";
+ IDLScope const *run = assumed_base ? assumed_base : getParentScope();
+
+@@ -390,7 +390,7 @@
+
+ // IDLCaseStmt ---------------------------------------------------------------
+ IDLCaseStmt::IDLCaseStmt(IDLMember *member, string const &id,
+- IDL_tree node,IDLScope *parentscope = NULL)
++ IDL_tree node,IDLScope *parentscope)
+ : IDLElement(id,node,parentscope), m_member(member),m_isDefault(false) {
+
+ // labels