From owner-svn-ports-head@freebsd.org Sun Sep 2 10:50:53 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2445FEBC54; Sun, 2 Sep 2018 10:50:53 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84A96740B2; Sun, 2 Sep 2018 10:50:53 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F8E418382; Sun, 2 Sep 2018 10:50:53 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w82AorlL011672; Sun, 2 Sep 2018 10:50:53 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w82AorIr011671; Sun, 2 Sep 2018 10:50:53 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809021050.w82AorIr011671@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Sep 2018 10:50:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478781 - in head/lang/nqc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/lang/nqc: . files X-SVN-Commit-Revision: 478781 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2018 10:50:54 -0000 Author: tobik Date: Sun Sep 2 10:50:52 2018 New Revision: 478781 URL: https://svnweb.freebsd.org/changeset/ports/478781 Log: lang/nqc: Fix build with Clang 6 nqc/nqc.cpp:1088:41: 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 fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n", http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/nqc-3.1.r6.log Added: head/lang/nqc/files/patch-nqc_nqc.cpp (contents, props changed) Modified: head/lang/nqc/Makefile Modified: head/lang/nqc/Makefile ============================================================================== --- head/lang/nqc/Makefile Sun Sep 2 10:47:13 2018 (r478780) +++ head/lang/nqc/Makefile Sun Sep 2 10:50:52 2018 (r478781) @@ -3,6 +3,7 @@ PORTNAME= nqc PORTVERSION= 3.1.r6 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://bricxcc.sourceforge.net/nqc/release/ \ ftp://ftp2.za.freebsd.org/pub/nqc/ Added: head/lang/nqc/files/patch-nqc_nqc.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/nqc/files/patch-nqc_nqc.cpp Sun Sep 2 10:50:52 2018 (r478781) @@ -0,0 +1,18 @@ +nqc/nqc.cpp:1088:41: 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 + fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n", + +Remove embedded build date and time completely as it would also +prevent the build from being reproducible. + +--- nqc/nqc.cpp.orig 2018-09-02 10:44:16 UTC ++++ nqc/nqc.cpp +@@ -1085,8 +1085,7 @@ void PrintError(RCX_Result error, const char *filename + + void PrintVersion() + { +- fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n", +- VERSION_STRING); ++ fprintf(STDERR,"nqc version %s\n", VERSION_STRING); + fprintf(STDERR," Copyright (C) 2005 John Hansen. All Rights Reserved.\n"); + } +