svn commit: r565482 - head/graphics/iccxml

Alexey Dokuchaev danfe at FreeBSD.org
Wed Feb 17 06:32:54 UTC 2021


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 at 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>


More information about the svn-ports-all mailing list