Hello community, here is the log from the commit of package webkitgtk for openSUSE:Factory checked in at 2016-05-31 12:08:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/webkitgtk (Old) and /work/SRC/openSUSE:Factory/.webkitgtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "webkitgtk" Changes: -------- --- /work/SRC/openSUSE:Factory/webkitgtk/webkitgtk.changes 2016-04-15 19:04:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.webkitgtk.new/webkitgtk.changes 2016-05-31 12:08:54.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 23 13:36:52 UTC 2016 - [email protected] + +- Add webkitgtk-abs_to_fabs.patch: use fabs() instead of abs() on + floating point values. + +------------------------------------------------------------------- webkitgtk3.changes: same change New: ---- webkitgtk-abs_to_fabs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webkitgtk.spec ++++++ --- /var/tmp/diff_new_pack.yRFtPP/_old 2016-05-31 12:08:55.000000000 +0200 +++ /var/tmp/diff_new_pack.yRFtPP/_new 2016-05-31 12:08:55.000000000 +0200 @@ -67,6 +67,8 @@ Patch8: webkitgtk-commit-size.patch # PATCH-FIX-UPSTREAM webkitgtk-ppc32.patch webkit#130837 [email protected] -- Webkit2 doesnt build on powerpc 32 bits Patch10: webkitgtk-ppc32.patch +# PATCH-FIX-UPSTREAM webkitgtk-abs_to_fabs.patch [email protected] -- Use fabs() instead of abs() on floating point values +Patch11: webkitgtk-abs_to_fabs.patch BuildRequires: Mesa-devel BuildRequires: bison BuildRequires: chrpath @@ -324,6 +326,7 @@ %patch8 -p1 %patch10 -p1 %endif +%patch11 -p1 # FIXME: workaround needed in > 1.7.90 to fix build mkdir -p DerivedSources/webkit mkdir -p DerivedSources/WebCore ++++++ webkitgtk3.spec ++++++ --- /var/tmp/diff_new_pack.yRFtPP/_old 2016-05-31 12:08:55.000000000 +0200 +++ /var/tmp/diff_new_pack.yRFtPP/_new 2016-05-31 12:08:55.000000000 +0200 @@ -67,6 +67,8 @@ Patch8: webkitgtk-commit-size.patch # PATCH-FIX-UPSTREAM webkitgtk-ppc32.patch webkit#130837 [email protected] -- Webkit2 doesnt build on powerpc 32 bits Patch10: webkitgtk-ppc32.patch +# PATCH-FIX-UPSTREAM webkitgtk-abs_to_fabs.patch [email protected] -- Use fabs() instead of abs() on floating point values +Patch11: webkitgtk-abs_to_fabs.patch BuildRequires: Mesa-devel BuildRequires: bison BuildRequires: chrpath @@ -324,6 +326,7 @@ %patch8 -p1 %patch10 -p1 %endif +%patch11 -p1 # FIXME: workaround needed in > 1.7.90 to fix build mkdir -p DerivedSources/webkit mkdir -p DerivedSources/WebCore ++++++ webkitgtk-abs_to_fabs.patch ++++++ diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp --- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600 +++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700 @@ -85,8 +85,8 @@ 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++; diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp --- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600 +++ webkitgtk-2.4.9/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;
