Date: Sat, 25 Aug 2018 04:00:13 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477998 - in head/cad/leocad: . files Message-ID: <201808250400.w7P40Dow011648@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Aug 25 04:00:13 2018 New Revision: 477998 URL: https://svnweb.freebsd.org/changeset/ports/477998 Log: cad/leocad: Remove the embedded build date and fix build with Clang 6 common/lc_application.cpp:209:23: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int', and no matching literal operator template printf("Compiled "__DATE__"\n"); ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/leocad-0.80.3_4.log Added: head/cad/leocad/files/patch-common_lc__application.cpp (contents, props changed) Modified: head/cad/leocad/Makefile Modified: head/cad/leocad/Makefile ============================================================================== --- head/cad/leocad/Makefile Sat Aug 25 03:47:25 2018 (r477997) +++ head/cad/leocad/Makefile Sat Aug 25 04:00:13 2018 (r477998) @@ -3,7 +3,7 @@ PORTNAME= leocad PORTVERSION= 0.80.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTFILES= LeoCAD-Source-${PORTVERSION}.tgz Added: head/cad/leocad/files/patch-common_lc__application.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/leocad/files/patch-common_lc__application.cpp Sat Aug 25 04:00:13 2018 (r477998) @@ -0,0 +1,16 @@ +Remove the embedded build date and fix build with Clang 6 + +common/lc_application.cpp:209:23: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int', and no matching literal operator template + printf("Compiled "__DATE__"\n"); + ^ + +--- common/lc_application.cpp.orig 2018-08-25 03:56:08 UTC ++++ common/lc_application.cpp +@@ -206,7 +206,6 @@ bool lcApplication::Initialize(int argc, char* argv[], + else if ((strcmp(Param, "-v") == 0) || (strcmp(Param, "--version") == 0)) + { + printf("LeoCAD Version " LC_VERSION_TEXT "\n"); +- printf("Compiled "__DATE__"\n"); + + return false; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250400.w7P40Dow011648>