Fix build with clang 6.
PR: 226176 (related) Notified by: emaste (fix provided via mail)
This commit is contained in:
parent
cd0fa90fa3
commit
e158253949
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466555
@ -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>
|
||||
|
11
archivers/ppmd/files/patch-PPMd.cpp
Normal file
11
archivers/ppmd/files/patch-PPMd.cpp
Normal file
@ -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++) {
|
Loading…
Reference in New Issue
Block a user