update to 2.4.11 [release 2.4.11-1mamba;Sun Aug 21 2016]
This commit is contained in:
parent
cfedf94108
commit
1b3bb04d60
27
libwebkit-gtk3-2.4.11-gcc-6.1.patch
Normal file
27
libwebkit-gtk3-2.4.11-gcc-6.1.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
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;
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
%define majver %(echo %version | cut -d. -f 1-2)
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||||||
Name: libwebkit-gtk3
|
Name: libwebkit-gtk3
|
||||||
Version: 2.4.4
|
Version: 2.4.11
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Port of WebKit embeddable web component to GTK+
|
Summary: Port of WebKit embeddable web component to GTK+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -32,6 +32,7 @@ Patch1: libwebkit-gtk-1.3.10-no-execmem.patch
|
|||||||
Patch2: libwebkit-gtk-1.3.10-stamp-po.patch
|
Patch2: libwebkit-gtk-1.3.10-stamp-po.patch
|
||||||
Patch3: libwebkit-gtk-1.8.2-bison-2.6.patch
|
Patch3: libwebkit-gtk-1.8.2-bison-2.6.patch
|
||||||
Patch4: libwebkit-gtk3-2.0.0-missing-header.patch
|
Patch4: libwebkit-gtk3-2.0.0-missing-header.patch
|
||||||
|
Patch5: libwebkit-gtk3-2.4.11-gcc-6.1.patch
|
||||||
License: BSD, LGPL
|
License: BSD, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -243,6 +244,9 @@ This package contains the documentation for %{name},
|
|||||||
#%patch2 -p0
|
#%patch2 -p0
|
||||||
#%patch3 -p1
|
#%patch3 -p1
|
||||||
|
|
||||||
|
#__EOF
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< __EOF
|
#:<< __EOF
|
||||||
#./autogen.sh
|
#./autogen.sh
|
||||||
@ -378,6 +382,9 @@ install -m 755 Programs/GtkLauncher %{buildroot}%{_bindir}/GtkLauncher
|
|||||||
%{_bindir}/jsc-3
|
%{_bindir}/jsc-3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 21 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-1mamba
|
||||||
|
- update to 2.4.11
|
||||||
|
|
||||||
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user