Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2018 12:39:29 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466555 - in head/archivers/ppmd: . files
Message-ID:  <201804051239.w35CdTRs062976@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
-
-# 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 <bsd.port.post.mk>
+.include <bsd.port.mk>

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++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804051239.w35CdTRs062976>