summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-17 06:32:54 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-17 06:32:54 +0000
commit99702266ac47a3dc47e4463b1bcc63cbb870f01c (patch)
tree4446299c79206f378a13415b538674eb34e20ef9 /graphics
parentUpdate net/py-kombu to version 4.6.11. (diff)
- Unbreak the build against modern, more strict compilers
- Install stripped binary as suggested by the stage QA
Notes
Notes: svn path=/head/; revision=565482
Diffstat (limited to 'graphics')
-rw-r--r--graphics/iccxml/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/iccxml/Makefile b/graphics/iccxml/Makefile
index 6dbbf545c86e..cbdb45eb3d40 100644
--- a/graphics/iccxml/Makefile
+++ b/graphics/iccxml/Makefile
@@ -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>