Date: Mon, 2 Jul 2012 23:04:26 GMT From: Pawel Pekala <pawel@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/169618: devel/orbitcpp fix build with clang Message-ID: <201207022304.q62N4QaM051560@red.freebsd.org> Resent-Message-ID: <201207022310.q62NA9pG016848@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169618 >Category: ports >Synopsis: devel/orbitcpp fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 02 23:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pawel Pekala >Release: 10.0-CURRENT >Organization: >Environment: FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #8: Sat Jun 30 10:52:22 CEST 2012 corn@blaviken.slowicza.org:/usr/obj/usr/src/sys/BLAVIKEN i386 >Description: Fix port build with clang compiler >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN /usr/ports/devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h ./files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h --- /usr/ports/devel/orbitcpp/files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h 1970-01-01 01:00:00.000000000 +0100 +++ ./files/patch-orbitcpp__orb-cpp__orbitcpp_simple_seq.h 2012-07-02 23:37:09.000000000 +0200 @@ -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; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207022304.q62N4QaM051560>