diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-07-13 19:09:20 +0800 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-07-13 19:09:20 +0800 |
commit | 7be00ab876c6ab9a27553dc5165c733a1a3260bd (patch) | |
tree | 306785e2e4d1d29952929887885180bab6daee75 /devel | |
parent | a6dc8f3526beb0e1d77440fc2960cf265c0872d2 (diff) | |
download | freebsd-ports-gnome-7be00ab876c6ab9a27553dc5165c733a1a3260bd.tar.gz freebsd-ports-gnome-7be00ab876c6ab9a27553dc5165c733a1a3260bd.tar.zst freebsd-ports-gnome-7be00ab876c6ab9a27553dc5165c733a1a3260bd.zip |
Add a patch to fix the build with clang.
PR: ports/169618
Submitted by: pawel@
Diffstat (limited to 'devel')
-rw-r--r-- | devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h | 20 |
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 |