Date: Wed, 1 Feb 2017 05:29:19 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432987 - head/graphics/copperspice/files Message-ID: <201702010529.v115TJld089040@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 05:29:19 2017 New Revision: 432987 URL: https://svnweb.freebsd.org/changeset/ports/432987 Log: graphics/copperspice: unbreak with clang 4.0 ../3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp:77:24: error: ordered comparison between pointer and zero ('const int *' and 'int') if (optionalHeight > 0) ~~~~~~~~~~~~~~ ^ ~ PR: 216015 Reported by: antoine (via exp-run) Obtained from: upstream (excerpt) Added: head/graphics/copperspice/files/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp (contents, props changed) Added: head/graphics/copperspice/files/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/copperspice/files/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp Wed Feb 1 05:29:19 2017 (r432987) @@ -0,0 +1,21 @@ +------------------------------------------------------------------------ +r113848 | abecsi@webkit.org | 2012-04-11 11:23:19 +0000 (Wed, 11 Apr 2012) | 27 lines + +Fix the build with gcc 4.7.0 +https://bugs.webkit.org/show_bug.cgi?id=83584 +[...] +* html/HTMLImageElement.cpp: +(WebCore::HTMLImageElement::createForJSConstructor): Fails because of -Werror=extra +[...] + +--- src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp.orig 2016-09-12 14:20:12 UTC ++++ src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp +@@ -74,7 +74,7 @@ PassRefPtr<HTMLImageElement> HTMLImageEl + RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document)); + if (optionalWidth) + image->setWidth(*optionalWidth); +- if (optionalHeight > 0) ++ if (optionalHeight) + image->setHeight(*optionalHeight); + return image.release(); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702010529.v115TJld089040>