svn commit: r459803 - head/java/icedtea-web/files
Jung-uk Kim
jkim at FreeBSD.org
Tue Jan 23 23:16:51 UTC 2018
Author: jkim
Date: Tue Jan 23 22:59:21 2018
New Revision: 459803
URL: https://svnweb.freebsd.org/changeset/ports/459803
Log:
Fix build with Clang 6.0.
Added:
head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc (contents, props changed)
Added: head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc Tue Jan 23 22:59:21 2018 (r459803)
@@ -0,0 +1,11 @@
+--- plugin/icedteanp/IcedTeaPluginUtils.cc.orig 2016-02-03 13:47:43 UTC
++++ plugin/icedteanp/IcedTeaPluginUtils.cc
+@@ -1017,7 +1017,7 @@ NPString IcedTeaPluginUtilities::NPStringCopy(const st
+ char* utf8 = (char*)browser_functions.memalloc(result.size() + 1);
+ strncpy(utf8, result.c_str(), result.size() + 1);
+
+- NPString npstr = {utf8, result.size()};
++ NPString npstr = {utf8, (uint32_t)result.size()};
+ return npstr;
+ }
+
More information about the svn-ports-all
mailing list