Date: Tue, 16 Jan 2018 16:03:39 +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: r459192 - head/astro/stellarium-qt4 Message-ID: <201801161603.w0GG3dSU043283@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Jan 16 16:03:39 2018 New Revision: 459192 URL: https://svnweb.freebsd.org/changeset/ports/459192 Log: Unbreak the build with new Clang version 6.0.0: compare the pointer against NULL, not integer (or boolean) value. PR: 224989 Modified: head/astro/stellarium-qt4/Makefile Modified: head/astro/stellarium-qt4/Makefile ============================================================================== --- head/astro/stellarium-qt4/Makefile Tue Jan 16 15:53:33 2018 (r459191) +++ head/astro/stellarium-qt4/Makefile Tue Jan 16 16:03:39 2018 (r459192) @@ -68,6 +68,9 @@ PLIST_SUB+= SCRIPTS="@comment " .endif post-patch: .SILENT +# Fix the build against Clang 6.0.0 + ${REINPLACE_CMD} -e 's,skyDrawer==false,skyDrawer==NULL,' \ + ${WRKSRC}/src/core/StelCore.cpp # Avoid picking up the wrong `fixx11h.h' (`x11/kdelibs3' port installs one # that does not handle FontChange) ${GREP} -Rl --null fixx11h\\.h ${WRKSRC}/src ${WRKSRC}/plugins | \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801161603.w0GG3dSU043283>