Date: Wed, 31 Jul 2013 13:03:12 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324044 - in head/graphics/iccxml: . files Message-ID: <201307311303.r6VD3C26061399@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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<T, Tsig>::~CIccXmlArray + template <class T, icTagTypeSignature Tsig> + bool CIccXmlArrayType<T, Tsig>::ParseArray(xmlNode *pNode) + { +- char *scanType = (Tsig == icSigFloatArrayType ? "f" : "n"); ++ char *scanType = (char *)(Tsig == icSigFloatArrayType ? "f" : "n"); + icUInt32Number n = icXmlNodeCount(pNode, scanType); + + if (n) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307311303.r6VD3C26061399>