From owner-svn-ports-all@freebsd.org Thu Apr 5 12:39:30 2018 Return-Path: Delivered-To: svn-ports-all@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 F21C4F82275; Thu, 5 Apr 2018 12:39:29 +0000 (UTC) (envelope-from ehaupt@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 9DD49793D1; Thu, 5 Apr 2018 12:39:29 +0000 (UTC) (envelope-from ehaupt@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 95BD622AE3; Thu, 5 Apr 2018 12:39:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w35CdTqI062979; Thu, 5 Apr 2018 12:39:29 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w35CdTRs062976; Thu, 5 Apr 2018 12:39:29 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201804051239.w35CdTRs062976@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 5 Apr 2018 12:39:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466555 - in head/archivers/ppmd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/archivers/ppmd: . files X-SVN-Commit-Revision: 466555 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 12:39:30 -0000 Author: ehaupt Date: Thu Apr 5 12:39:29 2018 New Revision: 466555 URL: https://svnweb.freebsd.org/changeset/ports/466555 Log: Fix build with clang 6. PR: 226176 (related) Notified by: emaste (fix provided via mail) Added: head/archivers/ppmd/files/ head/archivers/ppmd/files/patch-PPMd.cpp (contents, props changed) Modified: head/archivers/ppmd/Makefile Modified: head/archivers/ppmd/Makefile ============================================================================== --- head/archivers/ppmd/Makefile Thu Apr 5 12:25:00 2018 (r466554) +++ head/archivers/ppmd/Makefile Thu Apr 5 12:39:29 2018 (r466555) @@ -14,17 +14,10 @@ PLIST_FILES= bin/ppmd man/man1/ppmd.1.gz OPTIONS_DEFINE= DOCS -.include - -# does not compile with clang 6.0.0 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056 -USE_GCC= yes -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.include +.include Added: head/archivers/ppmd/files/patch-PPMd.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/ppmd/files/patch-PPMd.cpp Thu Apr 5 12:39:29 2018 (r466555) @@ -0,0 +1,11 @@ +--- PPMd.cpp.orig 2005-08-11 09:00:41 UTC ++++ PPMd.cpp +@@ -423,7 +423,7 @@ int main(int argc, char *argv[]) + default : printsilent(MTxt[5],argv[i]); return -1; + } + +- printsilent("Fast PPMII compressor for textual data, variant %c, "__DATE__"\n",char(Variant)); ++ printsilent("Fast PPMII compressor for textual data, variant %c, " __DATE__ "\n",char(Variant)); + + FILE_LIST_NODE* pNode, * pFirstNode=NULL, ** ppNode=&pFirstNode; + for (ENV_FILE_FINDER eff;i < argc;i++) {