From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 23 21:10:11 2011 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 8ECC91065678 for ; Fri, 23 Dec 2011 21:10:11 +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 DF90E8FC19 for ; Fri, 23 Dec 2011 21: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 pBNLA9lU079973 for ; Fri, 23 Dec 2011 21: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 pBNLA9Hh079972; Fri, 23 Dec 2011 21:10:09 GMT (envelope-from gnats) Resent-Date: Fri, 23 Dec 2011 21:10:09 GMT Resent-Message-Id: <201112232110.pBNLA9Hh079972@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 2488E106566B for ; Fri, 23 Dec 2011 21:04:58 +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 133FF8FC0A for ; Fri, 23 Dec 2011 21:04:58 +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 pBNL4vBv045681 for ; Fri, 23 Dec 2011 21:04:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBNL4vDa045680; Fri, 23 Dec 2011 21:04:57 GMT (envelope-from nobody) Message-Id: <201112232104.pBNL4vDa045680@red.freebsd.org> Date: Fri, 23 Dec 2011 21:04:57 GMT From: Pawel Pekala To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163577: graphics/ogre3d fails to build when textproc/tinyxml is installed 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: Fri, 23 Dec 2011 21:10:11 -0000 >Number: 163577 >Category: ports >Synopsis: graphics/ogre3d fails to build when textproc/tinyxml is installed >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: Fri Dec 23 21:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pawel Pekala >Release: FreeBSD 8.2-STABLE >Organization: >Environment: FreeBSD blaviken.slowicza.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Sun Jul 3 15:11:21 CEST 2011 corn@blaviken.slowicza.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: Looks like ogre3d has it's own copy of tinyxml in tree. While building there is a clash between header files and build fails. Attached patch fixes issue for me. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN /usr/ports/graphics/ogre3d/Makefile ./Makefile --- /usr/ports/graphics/ogre3d/Makefile 2011-12-17 15:50:13.000000000 +0100 +++ ./Makefile 2011-12-23 18:30:56.000000000 +0100 @@ -58,6 +58,10 @@ @${REINPLACE_CMD} -e '\ s,defined(__x86_64__),& || defined(__powerpc__) || defined(__ia64__) || defined(__sparc64__) || defined(__alpha__) || defined(__amd64__),' \ ${WRKSRC}/OgreMain/include/OgrePlatform.h + @${REINPLACE_CMD} -e 's|tinyxml.h|../include/tinyxml.h|' \ + ${WRKSRC}/Tools/XMLConverter/src/tinyxml.cpp \ + ${WRKSRC}/Tools/XMLConverter/src/tinyxmlerror.cpp \ + ${WRKSRC}/Tools/XMLConverter/src/tinyxmlparser.cpp post-install: .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted: