From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 2 23:10:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02827106564A for ; Mon, 2 Jul 2012 23:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B83688FC17 for ; Mon, 2 Jul 2012 23:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q62NA9uo016849 for ; Mon, 2 Jul 2012 23:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q62NA9pG016848; Mon, 2 Jul 2012 23:10:09 GMT (envelope-from gnats) Resent-Date: Mon, 2 Jul 2012 23:10:09 GMT Resent-Message-Id: <201207022310.q62NA9pG016848@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pawel Pekala Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CD1A106566B for ; Mon, 2 Jul 2012 23:04:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC4A8FC0A for ; Mon, 2 Jul 2012 23:04:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q62N4Qmb051561 for ; Mon, 2 Jul 2012 23:04:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q62N4QaM051560; Mon, 2 Jul 2012 23:04:26 GMT (envelope-from nobody) Message-Id: <201207022304.q62N4QaM051560@red.freebsd.org> Date: Mon, 2 Jul 2012 23:04:26 GMT From: Pawel Pekala To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169618: devel/orbitcpp fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 23:10:10 -0000 >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: