Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 06:32:54 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565482 - head/graphics/iccxml
Message-ID:  <202102170632.11H6Ws85055669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Feb 17 06:32:54 2021
New Revision: 565482
URL: https://svnweb.freebsd.org/changeset/ports/565482

Log:
  - Unbreak the build against modern, more strict compilers
  - Install stripped binary as suggested by the stage QA

Modified:
  head/graphics/iccxml/Makefile

Modified: head/graphics/iccxml/Makefile
==============================================================================
--- head/graphics/iccxml/Makefile	Wed Feb 17 06:29:07 2021	(r565481)
+++ head/graphics/iccxml/Makefile	Wed Feb 17 06:32:54 2021	(r565482)
@@ -9,14 +9,16 @@ DISTNAME=	IccXML-${PORTVERSION}
 MAINTAINER=	bsam@FreeBSD.org
 COMMENT=	Tools for reading and writing the ICC profile contents as XML files
 
-BROKEN_FreeBSD_13=	IccProfileXml.cpp:512:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
-BROKEN_FreeBSD_14=	IccProfileXml.cpp:512:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
-
 LIB_DEPENDS=	libSampleICC.so:graphics/sampleicc
 
 USES=		gmake gnome libtool pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,return NULL,return false,' \
+		${WRKSRC}/IccLibXML/IccProfileXml.cpp
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102170632.11H6Ws85055669>