FreeBSD Bugzilla – Attachment 194213 Details for
Bug 222414
www/webkit-gtk2 fails to build with gcc6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrected patch currently under test
corrected_www_webkit-gtk3_files (text/plain), 4.50 KB, created by
Mark Linimon
on 2018-06-13 04:24:41 UTC
(
hide
)
Description:
Corrected patch currently under test
Filename:
MIME Type:
Creator:
Mark Linimon
Created:
2018-06-13 04:24:41 UTC
Size:
4.50 KB
patch
obsolete
>www/webkit-gtk3/files/patch-Source_WebCore_platform_gtk_GtkClickCounter.cpp000644 000000 000000 00000001522 13310112365 027564 0ustar00rootwheel000000 000000 --- Source/WebCore/platform/gtk/GtkClickCounter.cpp.orig 2018-02-07 02:12:45 UTC >+++ Source/WebCore/platform/gtk/GtkClickCounter.cpp >@@ -85,8 +85,8 @@ int GtkClickCounter::clickCountForGdkBut > guint32 eventTime = getEventTime(event); > > if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) >- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) >- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) >+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) >+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) > && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime)) > && (buttonEvent->button == m_previousClickButton))) > m_currentClickCount++; > >www/webkit-gtk3/files/patch-Source_WebCore_platform_gtk_LocalizedStringsGtk.cpp000644 000000 000000 00000001000 13310112344 030443 0ustar00rootwheel000000 000000 --- Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600 >+++ Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700 >@@ -659,7 +659,7 @@ > if (!std::isfinite(time)) > return String::fromUTF8(_("indefinite time")); > >- int seconds = static_cast<int>(abs(time)); >+ int seconds = static_cast<int>(fabs(time)); > int days = seconds / (60 * 60 * 24); > int hours = seconds / (60 * 60); > int minutes = (seconds / 60) % 60; > > >www/webkit-gtk3/files/patch-Source_WebCore_platform_gtk_RenderThemeGtk2.cpp000644 000000 000000 00000000344 13310112370 027460 0ustar00rootwheel000000 000000 --- Source/WebCore/platform/gtk/RenderThemeGtk2.cpp >+++ Source/WebCore/platform/gtk/RenderThemeGtk2.cpp >@@ -24,6 +24,7 @@ > > #include "config.h" > #include "RenderThemeGtk.h" >+#include "RenderBox.h" > > #ifdef GTK_API_VERSION_2 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222414
:
186487
|
190401
|
190403
|
190407
|
194212
| 194213