aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h b/devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h
new file mode 100644
index 000000000000..4c4d311ed869
--- /dev/null
+++ b/devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h
@@ -0,0 +1,20 @@
+--- ./orbitcpp/orb-cpp/orbitcpp_simple_seq.h.orig 2012-07-02 23:33:54.000000000 +0200
++++ ./orbitcpp/orb-cpp/orbitcpp_simple_seq.h 2012-07-02 23:34:43.000000000 +0200
+@@ -70,7 +70,7 @@
+ void _length_set_impl (size_t new_length) {
+ if (new_length > this->_max)
+ {
+- buffer_t buffer_tmp = allocbuf (new_length);
++ buffer_t buffer_tmp = this->allocbuf (new_length);
+ if (!buffer_tmp)
+ throw CORBA::NO_MEMORY ();
+
+@@ -78,7 +78,7 @@
+ buffer_tmp[i] = this->_buffer[i];
+
+ if (this->_release)
+- freebuf (this->_buffer);
++ this->freebuf (this->_buffer);
+
+ this->_release = true;
+ this->_buffer = buffer_tmp; \ No newline at end of file