From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 2 20:50:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F271E2A for ; Sun, 2 Feb 2014 20:50:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 767B71D17 for ; Sun, 2 Feb 2014 20:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s12Ko37k025124 for ; Sun, 2 Feb 2014 20:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s12Ko3Hm025123; Sun, 2 Feb 2014 20:50:03 GMT (envelope-from gnats) Resent-Date: Sun, 2 Feb 2014 20:50:03 GMT Resent-Message-Id: <201402022050.s12Ko3Hm025123@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, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E734A939 for ; Sun, 2 Feb 2014 20:41:48 +0000 (UTC) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id 82CDF1CD9 for ; Sun, 2 Feb 2014 20:41:48 +0000 (UTC) Received: from 78.170-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.170.78]) by relay.skynet.be with ESMTP; 02 Feb 2014 21:41:41 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id s12KfdRH008854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 2 Feb 2014 21:41:40 +0100 (CET) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id s12Kfd0L008853; Sun, 2 Feb 2014 21:41:39 +0100 (CET) (envelope-from tijl) Message-Id: <201402022041.s12Kfd0L008853@kalimero.tijl.coosemans.org> Date: Sun, 2 Feb 2014 21:41:39 +0100 (CET) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186389: [patch] net-im/licq: fix build on FreeBSD 10+ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 20:50:03 -0000 >Number: 186389 >Category: ports >Synopsis: [patch] net-im/licq: fix build on FreeBSD 10+ >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: Sun Feb 02 20:50:03 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 11.0-CURRENT i386 >Organization: >Environment: >Description: Fix this build error: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s/logs/errors/licq-base-1.8.0_1.log By removing USE_GCC and building with clang/libc++ which works just fine if you define -DGTEST_USE_OWN_TR1_TUPLE. This makes GTest use its own copy of std::tr1::tuple. Clang/libc++ doesn't have the std::tr1 namespace. >How-To-Repeat: >Fix: --- licq.patch begins here --- Index: net-im/licq/Makefile =================================================================== --- net-im/licq/Makefile (revision 342362) +++ net-im/licq/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= base PORTVERSION= ${LICQ_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im PKGNAMESUFFIX= ${SOCKS_SUFFIX}${PKGNAMESUFFIX2} @@ -14,7 +14,6 @@ LIB_DEPENDS= libboost_regex.so:${PORTSDI LICENSE= GPLv2 -USE_GCC= yes USES= cmake iconv WRKSRC= ${WRKDIR}/${DISTNAME} LICQ_PORT?= net-im/licq @@ -23,7 +22,7 @@ LICQ_PORT?= net-im/licq LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib ${ICONV_LIB} -Wl,--export-dynamic CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include -CXXFLAGS+= -Wl,--export-dynamic +CXXFLAGS+= -Wl,--export-dynamic -DGTEST_USE_OWN_TR1_TUPLE OPTIONS_DEFINE= OPENSSL OPTIONS_DEFAULT=OPENSSL --- licq.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: