From owner-svn-ports-all@FreeBSD.ORG Wed Jul 31 13:03:13 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org 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 ESMTP id 3F55B391; Wed, 31 Jul 2013 13:03:13 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 2B0D120FD; Wed, 31 Jul 2013 13:03:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6VD3DTa061402; Wed, 31 Jul 2013 13:03:13 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6VD3C26061399; Wed, 31 Jul 2013 13:03:12 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201307311303.r6VD3C26061399@svn.freebsd.org> From: Boris Samorodov Date: Wed, 31 Jul 2013 13:03:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324044 - in head/graphics/iccxml: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 13:03:13 -0000 Author: bsam Date: Wed Jul 31 13:03:12 2013 New Revision: 324044 URL: http://svnweb.freebsd.org/changeset/ports/324044 Log: . unbreak build with clang, error: ----- IccUtilXml.cpp:688:9: error: cannot initialize a variable of type 'char *' with an lvalue of type 'const char [2]' char *scanType = (Tsig == icSigFloatArrayType ? "f" : "n"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----- . USE_GMAKE=yes -> USES=gmake. Added: head/graphics/iccxml/files/ head/graphics/iccxml/files/patch-IccLibXML_IccUtilXml.cpp (contents, props changed) Modified: head/graphics/iccxml/Makefile Modified: head/graphics/iccxml/Makefile ============================================================================== --- head/graphics/iccxml/Makefile Wed Jul 31 12:51:11 2013 (r324043) +++ head/graphics/iccxml/Makefile Wed Jul 31 13:03:12 2013 (r324044) @@ -11,10 +11,8 @@ COMMENT= Tools for reading and writing t LIB_DEPENDS= SampleICC:${PORTSDIR}/graphics/sampleicc -USES= pkgconfig +USES= gmake pkgconfig GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_GCC= any USE_GNOME= libxml2 USE_LDCONFIG= yes Added: head/graphics/iccxml/files/patch-IccLibXML_IccUtilXml.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/iccxml/files/patch-IccLibXML_IccUtilXml.cpp Wed Jul 31 13:03:12 2013 (r324044) @@ -0,0 +1,11 @@ +--- IccLibXML/IccUtilXml.cpp.orig 2013-07-31 15:27:36.570207432 +0400 ++++ IccLibXML/IccUtilXml.cpp 2013-07-31 15:28:45.056197105 +0400 +@@ -685,7 +685,7 @@ CIccXmlArrayType::~CIccXmlArray + template + bool CIccXmlArrayType::ParseArray(xmlNode *pNode) + { +- char *scanType = (Tsig == icSigFloatArrayType ? "f" : "n"); ++ char *scanType = (char *)(Tsig == icSigFloatArrayType ? "f" : "n"); + icUInt32Number n = icXmlNodeCount(pNode, scanType); + + if (n) {