svn commit: r379859 - head/textproc/wordnet/files
Mikhail Teterin
mi at FreeBSD.org
Wed Feb 25 00:55:57 UTC 2015
Author: mi
Date: Wed Feb 25 00:55:56 2015
New Revision: 379859
URL: https://svnweb.freebsd.org/changeset/ports/379859
QAT: https://qat.redports.org/buildarchive/r379859/
Log:
Rephrase how we do the const-dropping casting so as to pass the muster
of clang-3.6.0
PR: 198009
Submitted by: dim
Modified:
head/textproc/wordnet/files/patch-lib__wnutil.c
Modified: head/textproc/wordnet/files/patch-lib__wnutil.c
==============================================================================
--- head/textproc/wordnet/files/patch-lib__wnutil.c Wed Feb 25 00:30:55 2015 (r379858)
+++ head/textproc/wordnet/files/patch-lib__wnutil.c Wed Feb 25 00:55:56 2015 (r379859)
@@ -83,7 +83,7 @@
+ if (*ptype == '\0' &&
+ (*pstr == '\n' || *pstr == ' ' || *pstr == '\0')) {
+ if (end)
-+ *(const void **)end = pstr;
++ *end = __DECONST(char *, pstr);
return(i);
+ }
}
More information about the svn-ports-all
mailing list